码迷,mamicode.com
首页 >  
搜索关键字:uikit    ( 1245个结果
继承自NSObject的类不能用CGRect
我用的是Xcode6.2. 系统默认没有pch文件。 所以没有自动导入UIKit包。我在继承NSObject类里也不能用CGRect或者UI开头的控件,原因也是Xcode6.2以后版本缺少UIKit 框架,引入框架就可以用了在你的XXXXX.h 文件里面 导入#import
分类:其他好文   时间:2015-05-28 22:50:07    阅读次数:169
Present ViewController,模态详解
Present ViewController Modally一、主要用途 弹出模态ViewController是IOS变成中很有用的一个技术,UIKit提供的一些专门用于模态显示的ViewController,如UIImagePickerController等。弹出模态ViewController主...
分类:其他好文   时间:2015-05-27 12:01:00    阅读次数:89
UIKit 框架之Bar、Controller
UIKit框架中有各种Bar,UITabBar、UINavigationBar、UIToolbar。Bar对应的就有一些Item,tabBarItem、navigationItem、toolbarItems,再加上UIViewController、UINavigationController、UIT...
分类:其他好文   时间:2015-05-26 18:44:31    阅读次数:128
UIKit 框架之UIAlertController
IOS8之后增加了UIAlertController类,它可以表示UIAlertView和UIActionSheet.它继承自UIViewController。- (BOOL)application:(UIApplication *)application didFinishLaunchingWit...
分类:其他好文   时间:2015-05-25 17:58:55    阅读次数:176
UIKit 框架之UICollectionView
1.自定义UICollectionViewCell在myCollectionViewCell.h中声明两个属性//// myCollectionViewCell.h// UICollectionView//// Created by City--Online on 15/5/25.// Co...
分类:其他好文   时间:2015-05-25 16:27:51    阅读次数:175
(转)iOS动画Core Animation
文章转载:http://blog.sina.com.cn/s/blog_7b9d64af0101b8nh.html在iOS中动画实现技术主要是:Core Animation。Core Animation负责所有的滚动、旋转、缩小和放大以及所有的iOS动画效果。其中UIKit类通常都有animated...
分类:移动开发   时间:2015-05-25 14:26:28    阅读次数:201
iOS动画——ViewAnimations
又给自己挖了一个坑,我很喜欢动画不错,但是写出来又是另外一个问题了~~~这一篇我们来说说UIKit中的动画API,其中包括:UIView.UIView.animateWithDurationUIView.transitionWithViewUIView.animateKeyframesWithDur...
分类:移动开发   时间:2015-05-22 20:54:25    阅读次数:155
UIKit 框架之UITextView
//// ViewController.m// UItextView//// Created by City--Online on 15/5/22.// Copyright (c) 2015年 XQB. All rights reserved.//#import "ViewControlle...
分类:其他好文   时间:2015-05-22 18:50:36    阅读次数:137
UIKit 框架之UITableView二
//// ViewController.m// UITableView//// Created by City--Online on 15/5/21.// Copyright (c) 2015年 XQB. All rights reserved.//#import "ViewControll...
分类:其他好文   时间:2015-05-22 16:34:27    阅读次数:177
performSelector:相关的知识
来看一个例子: #import <Foundation/Foundation.h> @interface MyTst : NSObject - (void) print; @end @implementation MyTst - (void) print { ? ? NSLog(@"xxxxxxxxxx"); } @end #import <UIKit/UIKit.h> #...
分类:其他好文   时间:2015-05-22 09:54:36    阅读次数:117
1245条   上一页 1 ... 87 88 89 90 91 ... 125 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!