码迷,mamicode.com
首页 >  
搜索关键字:bounds    ( 955个结果
Chapter 5 带颜色的同心圆
一、重写 DrwaRect-(void)drawRect:(CGRect)rect{ CGRect bounds = self.bounds; CGPoint center; center.x = bounds.origin.x + bounds.size.width / ...
分类:其他好文   时间:2014-09-16 14:12:50    阅读次数:200
自定义选择动画提示
#pragma mark - 创建旋转动画提示- (CustomView *)initIndicatorViewWithTitle:(NSString *)title{ self = [super initWithFrame:[[UIScreen mainScreen] bounds]]; ...
分类:其他好文   时间:2014-09-13 22:40:06    阅读次数:162
IOS应用启动时渐变等待
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; [U...
分类:移动开发   时间:2014-09-12 17:12:03    阅读次数:235
Return code of 127 is out of bounds - plugin may be missing
1、使用命令直接运行正常[root@lvs01objects]#/usr/local/nagios/libexec/check_nrpe-H192.168.2.3-ccheck_iostatIOSTATOK-user0.62nice0.00sys1.76iowait0.54idle0.00|iowait=0.54%;;idle=0.00%;;user=0.62%;;nice=0.00%;;sys=1.76%;;2、原因:使用脚本导入时,以变量处理了$U..
分类:其他好文   时间:2014-09-08 11:02:18    阅读次数:450
touches
-(void)touchesBegan:(NSSet*)toucheswithEvent:(UIEvent*)event{////获取刚开始触摸屏幕时的两个点//NSArray*allTouches=[touchesallObjects];//UITouch*firstTouch=[allTouchesfirstObject];//UITouch*secondTouch=[allToucheslastObject];//_firstPreviousLocation=[firstTo..
分类:其他好文   时间:2014-09-05 03:23:01    阅读次数:182
代码运行顺序(部分)
///////当应用程序接在完成时触发-(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions{NSLog(@"%s",__FUNCTION__);self.window=[[UIWindowalloc]initWithFrame:[[UIScreenmainScreen]bounds]];//Overridepointforcusto..
分类:其他好文   时间:2014-09-05 03:20:41    阅读次数:269
自定义View相关
实现自定义View的关键是重载UIView的drawRect: 方法,因为主要是通过重载这个方法,来改变view的外观。例如:- (void)drawRect:(CGRect)rect { // 绘图 CGRect bounds = [self bounds]; // Where ...
分类:其他好文   时间:2014-09-05 00:53:10    阅读次数:274
苹果开发API常用英语名词
苹果API常用英语名词0. indicating 决定1.in order to 以便2.rectangle bounds 矩形尺寸3.applied 应用4.entirety 全部5.technique 方法6.truncating 截短7.wrapping 换行8.string 字符串9.fam...
分类:移动开发   时间:2014-09-03 22:28:57    阅读次数:305
iOS开发常用的宏定义
#defineNavigationBar_HEIGHT 44 //导航栏高度#defineSCREEN_WIDTH([UIScreenmainScreen].bounds.size.width) //动态获取物理设备的宽度#defineSCREEN_HEIGHT([UIScreenmainScre....
分类:移动开发   时间:2014-08-26 15:01:06    阅读次数:265
CALayer与UIView
CALayer属于Core Animation部分的内容 1. UIView是iOS系统中界面元素的基础,所有的界面元素都是继承自它。它本身完全是由CoreAnimation来实现的。它真正的绘图部分,是由一个CALayer类来管理。UIView本身更像是一个CALayer的管理器,访问它的跟绘图和跟坐标有关的属性,例如frame,bounds等,实际上内部都是在访问它所包含的CALayer...
分类:其他好文   时间:2014-08-22 16:24:29    阅读次数:201
955条   上一页 1 ... 88 89 90 91 92 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!