码迷,mamicode.com
首页 >  
搜索关键字:appdelegate    ( 1028个结果
Cocos2d-x之物理世界(创建运动的物体)
Cocos2d-x之物理世界(创建运动的物体)在AppDelegate。cpp中配置glview的属性//配置glview的属性,屏幕的最高处是600,最右边是800glview->setDesignResolutionSize(800, 600, ResolutionPolicy::SHOW_AL...
分类:其他好文   时间:2015-04-03 00:12:14    阅读次数:273
UIButton
UIButton的相关操作: 在实际的工作中,至少需要一个视图控制器(页面),不会直接往window上写UI,所有的UI都是写在视图控制器里的1.页面间的关联(写在AppDelegate中) HomeViewController *hvc = [[HomeViewController alloc] ...
分类:其他好文   时间:2015-04-01 19:49:59    阅读次数:98
【我们都爱Paul Hegarty】斯坦福IOS8公开课个人笔记2 Xcode、Auto Layout及MVC
接着上一话来讲,上一话中讲到了MVC,那么MVC在IOS8开发中是如何应用的呢?Paul Hegarty老师给我们展示了一个计算器的Demo,首先新建一个工程,老师把AppDelegate.swift、LaunchScreen.xib和Images.xcassests文件放到了supporting Files文件夹中,那么剩下的两个文件ViewController.swift就是MVC中的C(控制...
分类:移动开发   时间:2015-03-31 09:22:27    阅读次数:1536
ios 协议(delegate)使用过程中遇到assign attribute must be unsafeunretained
今天在使用协议的过程中,偶然发现这样使用 @interface AppDelegate (){ id testdelegate; } @property (nonatomic , assign) id testdelegate; @end @implementation AppDelegate @synthesize testdelegate; 会报错: Existing i...
分类:移动开发   时间:2015-03-30 16:34:21    阅读次数:150
AppDelegate详解
AppDelegate详解...
分类:移动开发   时间:2015-03-29 10:56:07    阅读次数:147
IOS开发—网络监听
网络监听用到的类为Reachability.h,这个Xcode项目里面是不自带的,需要从github上面下载,在使用的时候记着导入SystemConfiguration.framework。 首先是在AppDelegate.m中设置网络监听 [[NSNotificationCenter d...
分类:移动开发   时间:2015-03-28 21:56:43    阅读次数:151
创建一个IOS应用程序
一、创建工程二、Xcode中的IOS工程模板一、Application:1、Master-Detail:树形结构导航2、Page-Base:电子书效果3、Single-View;4、Tabbed;5、Game;二、FrameWork&Library三、应用分析1、AppDelegate-->UIRespounderAppDelegate应用程序委托对象,作为应用程序生命周..
分类:移动开发   时间:2015-03-28 18:55:57    阅读次数:148
ios--小结系列八 程序启动原理
一、掌握? Info.plist和pch文件的作用? UIApplication的常见使用? AppDelegate的代理方法? UIApplication、AppDelegate、UIWindow、UIViewController的关系? iOS程序的完整启动过程二、项目中常见的文件(1)Info...
分类:移动开发   时间:2015-03-27 23:40:36    阅读次数:285
iphone 设置全局变量的几种方法
一般的软件 都有一个 登陆的功能,然后根据登陆的UserID 查看不同的信息,这也就意味着UserID 是一个 全局变量,之后的类我们都需要用到,所以 这也就需要定义 全局变量来解决问题,这里提供2种方法:第一种把全局变量设置到AppDelegate中使用很简单,在AppDelegate.h文件中 ...
分类:其他好文   时间:2015-03-20 21:48:25    阅读次数:116
iOS Task
2015年03月1. @class 和 #import 区别?2.AppDelegate.m中关于APP生命周期的各个函数的含义?3. UIViewController生命周期各个函数含义?例如:viewDidLoad / viewWillAppear / viewDidAppear,等...4. ...
分类:移动开发   时间:2015-03-20 12:26:58    阅读次数:164
1028条   上一页 1 ... 73 74 75 76 77 ... 103 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!