随笔分类 - objective-c
摘要:如果你的项目使用的非ARC模式,则为ARC模式的代码文件加入-fobjc-arc标签。如果你的项目使用的ARC模式,则为非ARC模式的代码文件加入 -fno-objc-arc标签。添加标签的方法: 1.打开:你的target - Bulid Phases -Compile Sources。 2.双击对应的*.m文件。 3.在弹出的窗口中输入上面提到的标签 -fobjc-arc / -fno-objc-arc 4.直接按Enter键保存我使用的是iOS6.0,操作如附件中图片所示。
阅读全文
摘要:#import "XViewController.h"@interface XViewController ()@end@implementation XViewController- (void)viewDidLoad{ self.flowerDetailView.hidden=YES; [self getFlower:nil]; [super viewDidLoad]; }- (void)didReceiveMemoryWarning{ [super didReceiveMemoryWarning]; // Dispose of any resource...
阅读全文
摘要:blog.csdn.net/totogo2010/article/details/8205810目录(?)[-]第一课名称 MVC and Introduction to Objective-C这课的主要内容有iOS包括四层内核Core Sevices层多媒体层Cocoa Touch 层介绍平台的组成重点介绍下MVC三大阵营 model view controller有了这三个阵营剩下的就是他们之间管理和通信了mvc群objective-c语言的基本概念Objective-C语法之类和对象可能更容易理解视频观看地址httpiyoukucomuUOTYxNjIxNTYvideos容芳志 http
阅读全文

浙公网安备 33010602011771号