码迷,mamicode.com
首页 >  
搜索关键字:磁盘映射 重定向 view    ( 42574个结果
Methods throughout the lifespan of a view controller
Method DescriptionloadView Creates or returns a view for the view controller.viewDidLoadView has finished loading.viewWillAppear: View is about to app...
分类:其他好文   时间:2014-06-27 22:00:54    阅读次数:276
UIView 转 UIImage
这个方法很实用,特别是在做水印相机得时候。。。- (UIImage*) imageWithUIView:(UIView*) view{ // 创建一个bitmap的context // 并把它设置成为当前正在使用的context UIGraphicsBeginImageCo...
分类:其他好文   时间:2014-06-27 21:54:28    阅读次数:228
android学习---下拉刷新组建
Google官方的下拉刷新组建activity代码实现:/** * The SwipeRefreshLayout should be used whenever the user * can refresh the contents of a view via a vertical swipe g....
分类:移动开发   时间:2014-06-27 21:47:09    阅读次数:324
遇到的问题
1、图片的生成2、图片的正常加载:经常遇到webview没有加载页面。怎么搞吧。3、平板连接打印机的操作梳理webview加载的逻辑:1、首页的时候:首页显示,其他的隐藏2、点击病人的时候:内容区域设置为显示,其他隐藏3、开始治疗:4、查看记录:
分类:其他好文   时间:2014-06-26 00:51:06    阅读次数:237
express-partials与express4.x不兼容问题
在express中设置view engine为html,express-partials会导致语法不正确,其实只要做一行代码的改动就可以function renderer(ext){ if(ext[0] !== '.'){ ext = '.' + ext; } //新增一行代码 if(...
分类:其他好文   时间:2014-06-25 11:38:09    阅读次数:183
android:gravity与android:layout_gravity
LinearLayout有两个非常相似的属性:android:gravity与android:layout_gravity。他们的区别在于:android:gravity用于设置View组件的对齐方式,而android:layout_gravity用于设置Container组件的对齐方式。通俗点说就...
分类:移动开发   时间:2014-06-25 11:33:38    阅读次数:215
andriod自定义视图
一、通过View实现自定义视图通过构造函数创建可视界面public class MyView extends View { // Constructor required for in-code creation public MyView(Context context) { super...
分类:其他好文   时间:2014-06-25 11:26:33    阅读次数:269
Swift函数
函数定义使用 func 定义一个函数。调用函数使用他的名字加 上小括号中的参数列表。使用 -> 分隔参数的名字和 返回值类型。函数声明:[html]view plaincopyfuncgreet(name:String,day:String)->String{return"Hello\(name),...
分类:其他好文   时间:2014-06-25 11:03:16    阅读次数:269
Swift闭包(Closure)
语法:[html]view plaincopy{(parameters)->returntypeinstatements}实例:采用函数实现:[html]view plaincopyletnames=["Chris","Alex","Ewa","Barry","Daniella"]funcbackw...
分类:其他好文   时间:2014-06-25 11:02:34    阅读次数:185
黑马程序员_OC学习笔记之@property和@synthesize
-----------android培训、java培训、ios学习型技术博客、期待与您交流! ------------[objc]view plaincopyprint?#import@interfacePerson:NSObject{int_age;intage;int_h...
分类:其他好文   时间:2014-06-25 09:44:18    阅读次数:214
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!