UI
文章平均质量分 83
程序鱼
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
UI编程-UIView及其⼦子类
// // AppDelegate.m // UI01_UIView_UILabel // // Created by dllo on 15/7/10. // Copyright (c) 2015年 dllo. All rights reserved. // #import "AppDelegate.h" @interface AppDelegate () @end @implem原创 2015-07-10 15:16:50 · 394 阅读 · 0 评论 -
iOS远程推送(.p12转.pem方法)
远程推送流程图⬇️ APNS:苹果推送消息的服务器 Token:服务器端存在的设备的唯一标识 服务器:自己的服务器(第三方:信鸽, 极光, 小米等) 代码实现部分 下载信鸽SDK, 拖到工程中(如果报错按照doc文档添加库文件) 导入头文件 导入头文件 #import "XGPush.h" - (BOOL)appl原创 2015-09-14 19:27:58 · 2026 阅读 · 0 评论 -
UI-字体
UI系统自带字体 NSArray *familyNames = [UIFont familyNames]; for( NSString *familyName in familyNames ){ printf( "Family: %s \n", [familyName UTF8String] ); NSArray *fontNames = [UIF原创 2015-07-11 20:50:58 · 1105 阅读 · 0 评论 -
UI-UIColor-initWithRed:green:blue:alpha:调研
调研UIColor类的 初始化方法: <span style="font-size:18px;">- (UIColor *)initWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha</span> 初始化并且根据参数(红, 绿, 蓝, 透明度 参数范围 0-1.0 ),返回一个UIColor的对象, 自定义255RGB值,转化成 0 - 1.0; eg⬇️ <span style="fon原创 2015-07-10 20:04:34 · 2105 阅读 · 0 评论 -
UI-xcode添加字体
上一篇到了系统自带字体 系统自带的中文字体只有 Family: Heiti TC Font: STHeitiTC-Medium Font: STHeitiTC-Light 1.当我们需要其他字体时, 可以下载字体 如⬇️ 2.把文件拖到xcode中 3.打开Info.plist文件 4.添加K原创 2015-08-06 17:52:47 · 1128 阅读 · 1 评论 -
UI编程_UILabel及其属性
// // AppDelegate.m // UI01_UILabel // // Created by dllo on 15/7/10. // Copyright (c) 2015年 dllo. All rights reserved. // #import "AppDelegate.h" @interface AppDelegate () @end @implementatio原创 2015-07-10 19:56:25 · 449 阅读 · 0 评论 -
UI-UILabel-attributedText-调研
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; //原创 2015-08-13 11:31:11 · 725 阅读 · 1 评论 -
UIGestureRecognizer手势识别
UIGestureRecognizer手势识别 UIGestureRecognizer 继承于 NSObject 共有七种手势 即: 1.UIPinchGestureRecognizer (捏合手势) 2.UITapGestureRecognizer (轻拍手势) 3.UIRotationGestureRecognizer (旋转手势) 4.U原创 2015-08-13 16:14:13 · 848 阅读 · 1 评论
分享