被分解成独立的 图层 ,存储在一个叫做 图层树 的体系之中。于是这个树形成了 UIKit 以及在iOS应用程序当中你所能在屏幕上看见的一切的基础。 在我们讨论动画之前,我们将从图层树开始,涉及一下Core
这个项目的目标是提供一个简单和可定制的拉动刷新实现。
Jetstream for iOS是一个优雅的MVC模型框架,采用Swift开发。它包括支付Jetstream同步协议来同步本和远程模型。它还拥有一个单一的Websocket transport 适配器,能够添加自定义的transport
一个可展开可收缩的下拉菜单,类似Svpply app。 ODRefreshControl - 原iOS6上的橡皮糖刷新样式,很有意思。现在也很多大的 App 在用,比如虾米音乐和 QQ 客户端。 PullToMakeSoup
件。 对于 iOS, FPT Software 构建了这些Google material design风格的控件带至iOS应用。是目前最全的material design iOS控件。 组件列表 MDButton
more about why it’s best to use system fonts on the iOS Human Interface Guidelines . Usage Open UIFontTextStyle
wh-app-ios 是一个原生的 iOS 应用,用于从白宫网站上获取文章、招聘、直播和视频点播,使用 webView下显示,支持推送。 iPhone 版截图 iPad 版截图 苹果应用商店地址:
Timeline for iOS 是类似 Path iOS 应用的时间轴。 项目主页: http://www.open-open.com/lib/view/home/1408001919067
您可以轻松地在你的应用程序添加很棒的上下文动画菜单。
g-to-iOS-9.1-expressions-Used-in-iOS-9.0-X-is-also-very-good_628132.shtml 最新系统已经封堵越狱漏洞,但 iOS 9.1 的新
NSString *IP = @"0.0.0.0"; //http://61.4.185.48:81/g/(中国天气网的接口) NSURL *url = [NSURL URLWithString:@"http://61.4.185.48:81/g/"]; NSURLRequest *request = [NSURLRequest requestWithURL:url cachePolicy:NSU
UIColor *color = [UIColor colorWithRed:0.95 green:0.95 blue:0.95 alpha:0]; [aImage setBackgroundColor:color]; //设置背景透明 /******设置图片圆角begin*******/ aImage.layer.masksToBounds = YES; aImage.layer.cornerR
iOS常用加密方法(aes、md5、base64) 1、AES加密 NSData+AES.h文件 // // NSData-AES.h // Smile // // #import
//ASIFormDataRequest方式 POST上传图片 -(NSDictionary *)addPicWithDictionary:(NSDictionary *)sugestDic{ NSDictionary *tempDic=nil; NSString *url=[NSString stringWithFormat:@"http://182.50.0.62:8095/xianServe
CGContextRef context = UIGraphicsGetCurrentContext(); [UIView beginAnimations:nil context:context]; [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut]; [UIView setAnimationDuration:1.0]; // Appl
1 通过简单的URLENCODE + BASE64编码防止数据明文传输 2 对普通请求、返回数据,生成MD5校验(MD5中加入动态密钥),进行数据完整性(简单防篡改,安全性较低,优点:快速)校验。 3 对于重要数据,使用RSA进行数字签名,起到防篡改作用。 4 对于比较敏感的数据,如用户信息(登陆、注册等),客户端发送使用RSA加密,服务器返回使用DES(AES)加密。 原因:客户端发送之所以使用
//软件版本 - (void)softwareVersion { NSDictionary *infoDic = [[NSBundle mainBundle] infoDictionary]; NSString *currentVersion = [NSString stringWithFormat:@"当前软件版本为:%@",infoDic[@"CFBundleShortVersionStrin
// 从view上截图 - (UIImage *)getImage { UIGraphicsBeginImageContextWithOptions(CGSizeMake(150, 150), NO, 1.0); //NO,YES 控制是否透明 [self.view.layer renderInContext:UIGraphicsGetCurrentContext()]; UIImage *ima
在 UIResponder中存在这么一套方法 - (void)motionBegan:(UIEventSubtype)motion withEvent:(UIEvent *)event __OSX_AVAILABLE_STARTING(__MAC_NA,__IPHONE_3_0); - (void)motionEnded:(UIEventSubtype)motion withEvent:(UIEv
在iOS中可以这样获取一张网络图片 NSURL *url = [NSURL URLWithString:@"http://f.hiphotos.baidu.com/image/w%3D2048/sig