会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小毛驴
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
48
49
50
51
52
53
54
55
56
···
77
下一页
2014年11月26日
IOSTimer的例子留个备注
摘要: 1、创建一个定时器 ,以下是便利构造器方法,+ scheduledTimerWithTimeInterval:invocation:repeats:+ scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:+ timerWit...
阅读全文
posted @ 2014-11-26 23:34 小毛驴
阅读(552)
评论(0)
推荐(0)
2014年11月25日
IOSSelector的用法
摘要: 1、首先,@selector 里面的方法不能传参数。。不要相信网上的。。都是复制粘贴的。2、分三步走:1.设置tag。2.设置btn的调用方法。3.使用参数2、看示例代码把。。UIButton * markButton=[[UIButton alloc] initWithFrame:CGRectMa...
阅读全文
posted @ 2014-11-25 23:47 小毛驴
阅读(701)
评论(0)
推荐(0)
2014年11月24日
ios中addtarget的用法
摘要: 1.addtarget 的。部分使用事件没有直接的操作方式,需要进行调用。就要用addTarget。- (void)setupCustomView { self.customView = [[CHView alloc] init]; self.customView.translatesAuto...
阅读全文
posted @ 2014-11-24 18:24 小毛驴
阅读(1796)
评论(0)
推荐(0)
2014年11月23日
ios绘图时的坐标处理
摘要: 在iOS中,进行绘图操作时,一般主要是在UIView:drawRect中调用UIGraphicsBeginImageContextWithOptions等一系列函数,有时候直接画图就行,比如UIImage的drawRect等,有时候需要进行稍微复杂的操作,比如颜色混合,mask等,需要对CGCont...
阅读全文
posted @ 2014-11-23 23:02 小毛驴
阅读(358)
评论(0)
推荐(0)
每日问卷链接
该文被密码保护。
阅读全文
posted @ 2014-11-23 19:06 小毛驴
阅读(5)
评论(0)
推荐(0)
2014年11月22日
mac下装Ruby
摘要: https://ruby-china.org/wiki/install_ruby_guide
阅读全文
posted @ 2014-11-22 09:07 小毛驴
阅读(136)
评论(0)
推荐(0)
2014年11月20日
iOSbase64
摘要: ios中使用BASE64进行加密和解密的方法也很简单,可以直接用google-toolbox-for-mac的GTMBase64.h来实现google-toolbox-for-mac的对应地址如下:http://code.google.com/p/google-toolbox-for-mac/当中可...
阅读全文
posted @ 2014-11-20 16:08 小毛驴
阅读(275)
评论(0)
推荐(0)
ios跳转
摘要: 目标应用程序:打开info.plist,添加一项URL types展开URL types,再展开Item1,将Item1下的URL identifier修改为URL Scheme展开URL Scheme,将Item1的内容修改为myapp其他程序可通过myapp://访问此自定义URL要跳转至mya...
阅读全文
posted @ 2014-11-20 15:19 小毛驴
阅读(133)
评论(0)
推荐(0)
2014年11月19日
iosUITextField属性
摘要: @property UITextField *caption;caption = [[UITextField alloc] initWithFrame:CGRectMake(0, s...
阅读全文
posted @ 2014-11-19 23:23 小毛驴
阅读(188)
评论(0)
推荐(0)
ios进度条Demo一个
摘要: 一个很简单的Dmo。就拿出来分享一下。一个简单的阴影效果 _progressView.frame = CGRectMake(size.width * progress-size.width, H_HEIGHT-20, size.width, size.height); _progressVi...
阅读全文
posted @ 2014-11-19 23:06 小毛驴
阅读(304)
评论(0)
推荐(0)
上一页
1
···
48
49
50
51
52
53
54
55
56
···
77
下一页
公告