码迷,mamicode.com
首页 >  
搜索关键字:bounds    ( 955个结果
2016/03/01 codes
if(deltaUpper > 0){ index = upperIndex; while(index < boundCount - 1 && bounds[index + 1].value <= upperValue){ bound = bounds[index]; nextBound = bou
分类:其他好文   时间:2016-03-01 18:57:53    阅读次数:142
iOS学习笔记28-基础动画和关键帧动画
首先创建layer CALayer *layer = [CALayer layer]; layer.bounds = CGRectMake(0, 0, 100, 100); layer.position = CGPointMake(100, 100); layer.backgroundColor =
分类:移动开发   时间:2016-02-27 13:50:15    阅读次数:182
IOS 8 本地推送补充
--(BOOL)application:(UIApplication*)applicationdidFinishLaunchingWithOptions:(NSDictionary*)launchOptions{//Overridepointforcustomizationafterapplicationlaunch._window=[[UIWindowalloc]initWithFrame:[UIScreenmainScreen].bounds];_window.backgroundColor=[UICol..
分类:移动开发   时间:2016-02-26 19:09:17    阅读次数:250
OC-面向对象
面向对象编程 OOP(Object-Oriented Programming) @interface Circle : NSObject { ShapeColor fillColor; ShapeRect bounds; } - (void) setFillColor: (ShapeColor) f
分类:其他好文   时间:2016-02-24 20:58:09    阅读次数:129
简述frame、bounds、center
frame是该视图在父视图坐标系统中的位置和大小。(参照父视图中的坐标系统) bounds是该视图在自身坐标系统中的位置和大小。(参照自身的坐标系统) center是该视图的中心点在父视图坐标系统中的位置。 bounds会比较难理解,容易绕糊涂 下面看几个图 红色视图为父视图,当前父视图的bound
分类:其他好文   时间:2016-02-21 22:52:46    阅读次数:263
第45讲:Scala中Context Bounds代码实战及其在Spark中的应用源码解析
与viewbounds一样contextbounds(上下文界定)也是隐式参数的语法糖我们使用viewbounds的方式的写法如下:classPairs[T<%Comparable[T]](first:T,second:T){ defbigger={ if(first.compareTo(second)>=0)firstelsesecond } }如果我们利用隐式转换,可以改成如下写法classPa..
分类:其他好文   时间:2016-02-15 18:34:53    阅读次数:249
第43讲:Scala中类型变量Bounds代码实战及其在Spark中的应用源码解析
类型变量的界定:类型变量的上界,类型变量的下界。上界就是类型必须是界定类型的子类,看如下示例:packagecom.dt.scala.type_parameterization //我们需要定义一个泛型类Pair,泛型类中有一个bigger方法,用来比较传入的参数 //此时泛型类型必须是Comparable的子类,我们可..
分类:其他好文   时间:2016-02-15 16:38:37    阅读次数:150
UITableView
1 创建UITableView _tableView = [[UITableView alloc] initWithFrame:[[UIScreen mainScreen] bounds] style:UITableViewStylePlain]; 可以设置分割线样式 和颜色 _tableView.
分类:其他好文   时间:2016-02-06 01:46:53    阅读次数:220
iOS--苹果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
分类:移动开发   时间:2016-02-04 18:42:35    阅读次数:285
iOS 视图在不同View之间的切换(对于convertRect:函数的一些理解)
可以通过以下函数完成坐标体系在不同View之间的切换,如下面是完成当前View向ParentView坐标的转换(一个矩阵转换)CGRect parentRect = [currentView convertRect:blankImageView.bounds toView:self.supervie
分类:移动开发   时间:2016-01-28 19:06:34    阅读次数:335
955条   上一页 1 ... 46 47 48 49 50 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!