会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
风雨彩
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
下一页
2016年7月7日
Swift之控件-UIlabel
摘要: let label = UILabel(frame:CGRect(x: 20,y: 100,width: 280,height: 40)) label.text = "理想接电话是否很沮丧和甲方狙击手的开发可谓文件的附件二反馈句" label.backgroundColor = UIColor.bl
阅读全文
posted @ 2016-07-07 16:42 风雨彩
阅读(355)
评论(0)
推荐(0)
2016年4月25日
UITextField的placeholder文字的位置,颜色等的自定义设置
摘要: //控制placeHolder的位置,左右缩20 -(CGRect)placeholderRectForBounds:(CGRect)bounds { CGRect inset = CGRectMake(bounds.origin.x+100, bounds.origin.y, bounds.siz
阅读全文
posted @ 2016-04-25 23:17 风雨彩
阅读(1766)
评论(0)
推荐(0)
2016年4月24日
版本更新
摘要: //版本检测 NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary]; NSString *currentVersion = [infoDic objectForKey:@"CFBundleShortVersionString"]
阅读全文
posted @ 2016-04-24 19:27 风雨彩
阅读(163)
评论(0)
推荐(0)
CFBundleVersion与CFBundleShortVersionString,上架注意事项
摘要: CFBundleVersion,标识(发布或未发布)的内部版本号。这是一个单调增加的字符串,包括一个或多个时期分隔的整数。 CFBundleShortVersionString 标识应用程序的发布版本号。该版本的版本号是三个时期分隔的整数组成的字符串。第一个整数代表重大修改的版本,如实现新的功能或重
阅读全文
posted @ 2016-04-24 19:20 风雨彩
阅读(2264)
评论(0)
推荐(0)
2015年12月9日
线程GCD
摘要: #import "ViewController.h"@interfaceViewController ()@end@implementation ViewController- (void)viewDidLoad { [superviewDidLoad]; UIImageView *imagev...
阅读全文
posted @ 2015-12-09 13:07 风雨彩
阅读(329)
评论(0)
推荐(0)
2015年12月7日
上拉刷新,下拉加载
摘要: #import "AppDelegate.h"#import "MyTableViewController.h"@interfaceAppDelegate ()@end@implementation AppDelegate- (BOOL)application:(UIApplication *)ap...
阅读全文
posted @ 2015-12-07 23:31 风雨彩
阅读(943)
评论(0)
推荐(0)
2015年12月6日
UICollectionView
摘要: #import "ViewController.h"@interfaceViewController ()@end@implementation ViewController- (void)viewDidLoad { [superviewDidLoad]; UICollectionViewFl...
阅读全文
posted @ 2015-12-06 11:34 风雨彩
阅读(299)
评论(0)
推荐(0)
2015年12月1日
数据库封装
摘要: #import #import "Student.h"#import @interface SqliteManager : NSObject{ sqlite3 *db;}-(void) open;-(void) insertStudent:(Student *) s;-(void) updateS...
阅读全文
posted @ 2015-12-01 20:57 风雨彩
阅读(532)
评论(0)
推荐(0)
2015年11月28日
归档 解档
摘要: //系统类型的对象归档(NSString/NSArray/NSDictionary)//1、设置归档路径,该路径需要详细到文件(不能是文件夹)//2、得到要归档的对象//3、通过NSKeyedArchiver调用archiveRootObject方法,进行归档//4、解档 通过NSKeyedUnar...
阅读全文
posted @ 2015-11-28 20:18 风雨彩
阅读(266)
评论(0)
推荐(0)
沙盒 文件操作
摘要: Documents:保存应用运行时生成的需要持久化的数据,iTunes会自动备份该目录。苹果建议将程序中建立的或在程序中浏览到的文件数据保存在该目录下,iTunes备份和恢复的时候会包括此目录tmp:保存应用运行时所需的临时数据,使用完毕后再将相应的文件从该目录删除。应用没有运行时,系统也有可能会清...
阅读全文
posted @ 2015-11-28 20:06 风雨彩
阅读(887)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
下一页
公告