码迷,mamicode.com
首页 >  
搜索关键字:bounds    ( 955个结果
Scala中Context Bounds代码实战及其在Spark中的应用源码解析之Scala学习笔记-36
package com.leegh.parameterization/** * @author Guohui Li */class Pair_Ordering[T: Ordering](val first: T, val second: T) { def bigger(implicit order....
分类:其他好文   时间:2015-08-29 09:44:52    阅读次数:215
1、iOS 开发之基础控件
1、UIView的常见的属性@property(nonatomic) CGRect frame; @property(nonatomic) CGRect bounds; @property(nonatomic) CGPoint center; @property(nonatomic) CGAffineTransform transfor...
分类:移动开发   时间:2015-08-29 06:19:43    阅读次数:210
4、iOS 开发之 UITableView
一、UITableView的创建 表格控件在创建时必须指定样式,只能使用以下实例化方法 [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStyleGrouped];UITableView的两种样式 1> UITableViewStylePlain 2> UITableViewStyleGrouped2.UIT...
分类:移动开发   时间:2015-08-29 06:18:17    阅读次数:199
Scala中View Bounds代码实战及其在Spark中的应用源码解析之Scala学习笔记-35
package com.leegh.parameterization/** * @author Guohui Li */class Pair_NotPerfect[T 0) first else second}//class Pair_NotPerfect[T 0) first else sec.....
分类:其他好文   时间:2015-08-28 12:24:45    阅读次数:116
iOS中ScrollView(滚屏,引导界面,和判段是否是第一次登陆)
#import "RootViewController.h"#import "SecondViewController.h"#define kScreenWidth [UIScreen mainScreen].bounds.size.width#define kScreenHeight [UIScr...
分类:移动开发   时间:2015-08-27 22:54:43    阅读次数:222
iOS中的UIScorllView(滑动控件,时机控制)的基本使用
#import "RootViewController.h"#define kScreenWidth [UIScreen mainScreen].bounds.size.width#define kScreenHeight [UIScreen mainScreen].bounds.size.heig...
分类:移动开发   时间:2015-08-27 22:34:48    阅读次数:170
Scala中类型变量Bounds代码实战及其在Spark中的应用源码解析之Scala学习笔记-34
package com.leegh.parameterization/** * @author Guohui Li */class Pair[T 0) first else second}class Pair_Lower_Bound[T](val first: T, val second: T) ....
分类:其他好文   时间:2015-08-27 20:48:28    阅读次数:150
[Label] 文字前距离
class UILabelOverride: UILabel { override func textRectForBounds(bounds: CGRect, limitedToNumberOfLines numberOfLines: Int) -> CGRect { ...
分类:其他好文   时间:2015-08-27 18:24:05    阅读次数:163
屏幕适配
屏幕适配iPhone4之前没有适配,不用适配经常会出现坐标值写死的代码//#define ScreenW 320//#define ScreenH 480#define ScreenW [UIScreen mainScreen].bounds.size.width#define ScreenH [U...
分类:其他好文   时间:2015-08-25 23:08:36    阅读次数:208
UIView.animateWithDuration 没有动画过渡效果直接跳到最后
当我在viewDidLoad()方法内添加以下代码的时候发现程序运行时不会有动画过度效果,而是直接跳到了最后。 let x = (self.view.bounds.size.width - 268) / 2 scanImage.frame = CGRectMake(x, ...
分类:其他好文   时间:2015-08-20 00:59:23    阅读次数:282
955条   上一页 1 ... 61 62 63 64 65 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!