摘要:
1.对象方法声明 格式 格式 特征 对象方法以-开头如 -(void)xx; 对象方法只能由对象来调用 对象方法中可以访问当前对象的成员变量 调用格式 [对象名 对象方法名]; 示例 特征 对象方法以-开头如 -(void)xx; 对象方法只能由对象来调用 对象方法中可以访问当前对象的成员变量 调用 阅读全文
摘要:
AppDelegate.m XMGAdViewController.m 阅读全文
摘要:
#import "XMGNavigationViewController.h" @interface XMGNavigationViewController () @end @implementation XMGNavigationViewController - (void)viewDidLoad { [super viewDidLoad]; UIPanGesture... 阅读全文
摘要:
#import "XMGNavigationViewController.h" @interface XMGNavigationViewController () @end @implementation XMGNavigationViewController + (void)load { UINavigationBar *navBar = [UINavigationBar ap... 阅读全文
摘要:
XMGNavigationViewController.m UIBarButtonItem+Item.m 阅读全文
摘要:
- (void)setting { // 跳转到设置界面 XMGSettingViewController *settingVc = [[XMGSettingViewController alloc] init]; // 必须要在跳转之前设置,隐藏底部条 settingVc.hidesBottomBarWhenPushed = YES; [sel... 阅读全文
摘要:
#import "XMGNavigationViewController.h" @interface XMGNavigationViewController () @end @implementation XMGNavigationViewController + (void)load { UINavigationBar *navBar = [UINavigationBar app... 阅读全文
摘要:
UIBarButtonItem+Item.h UIBarButtonItem+Item.m 阅读全文