- 博客(10)
- 收藏
- 关注
转载 NSLog的格式
NSLog的格式 NSLog的格式如下所示: %@ 对象 %d, %i 整数 %u 无符整形 %f 浮点/双字 %x, %X 二进制整数 %o 八进制整数 %zu size_t %p 指针 %e 浮点/双字 (科...
2013-12-11 14:29:00
91
转载 NSString 和 NSMutableString
NSString 和 NSMutableString ---恢复内容开始---1.NSString 静态字符串1.1赋值int main(int argc, const char * argv[]){ @autoreleasepoo...
2013-12-11 13:57:00
132
转载 NSArray 和 NSMutableArray
NSArray 和 NSMutableArray Objective-C语言可以在Array数组中放任意类型的数据,值得注意的是只能放指向这个对象的指针,如果直接放int ,char,double 等等,是不行的.1.NSArray 不可变数组使用NSArr...
2013-12-11 13:32:00
123
转载 UINavigationController
UINavigationController UINavigationController的结构最朴素的说,UINavigationController就是一个容器,设置它的RootViewController,即设定了第一个vc,随后push一个新vc即入...
2013-12-09 16:44:00
113
转载 UITabBarController
UITabBarController UITabBarController的结构1.创建一个UITabBarControllerUITabBarController通常作为rootViewController,且不能添加到别的container view...
2013-12-09 16:22:00
93
转载 UIViewController切换(ios5:transitionFromViewController)
UIViewController切换(ios5:transitionFromViewController) 1.在ios5中,ViewController中新添加1个属性和5个方法@property(nonatomic,readonly) NSArray *...
2013-12-09 15:50:00
101
转载 UIViewController跳转(模态modal)
UIViewController跳转(模态modal) 1.presentViewController新建2个viewcontroller a和ba弹出b 则a为presenting view controller b为presented view con...
2013-12-09 15:40:00
295
转载 状态栏文字颜色
状态栏文字颜色 1在Info.plist中设置UIViewControllerBasedStatusBarAppearance 为NO2 在需要改变状态栏颜色的ViewController中在ViewDidLoad方法中增加:[ [UIApplication...
2013-12-09 13:51:00
83
转载 得到storyboard中的viewcontroller
得到storyboard中的viewcontroller 1 //得到名为Main的storyboard的实例2 [UIStoryboard storyboardWithName:@"Main" bundle:nil];3 //得到名为aaa的VC实例 ...
2013-12-09 13:48:00
98
转载 目录
目录 Objective-cNSLog的格式NSString 和 NSMutableStringNSArray 和 NSMutableArrayIOS - UIkitUITabBarControllerUINavigation...
2013-12-09 13:42:00
112
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人