摘要:
一、定义类、概念类。 1、 什么是库? 所谓库就是程序代码的集合,是共享程序代码的一种方式。 2、 库的分类 根据程序代码的开源情况,库可以分为两类。 开源库源代码是公开的,你可以看到具体实现。比如GitHub上比较出名的第三方框架AFNetworking、SDWebImage。 闭源库不公开源代码
阅读全文
posted @ 2020-02-24 15:16
Truce_Lee
阅读(191)
推荐(0)
摘要:
一、字符串 1,通过+进行拼接搭配空格 name = 'truce' name2 = 'lee' myname = name + ' ' + name2 2、大小写函数 name.title() 首字母大写 name.upper() 所有字符大写 name.lower() 所有字符小写 3、剔除函数
阅读全文
posted @ 2019-01-09 10:55
Truce_Lee
阅读(120)
推荐(0)
摘要:
#import <Foundation/Foundation.h> @interface NetWorkTool : NSObject + (instancetype)shareInstance; - (void)startListing; @end #import "NetWorkTool.h"
阅读全文
posted @ 2018-10-31 11:04
Truce_Lee
阅读(296)
推荐(0)
摘要:
#import "StudyViewController.h" #import "person.h" @interface StudyViewController () @property (nonatomic, copy)NSString *filePath; @end @implementati
阅读全文
posted @ 2018-10-30 17:41
Truce_Lee
阅读(100)
推荐(0)
摘要:
#import "LeeNavigationController.h" @interface LeeNavigationController () @end @implementation LeeNavigationController +(void)initialize { // Attribut
阅读全文
posted @ 2018-10-30 16:12
Truce_Lee
阅读(151)
推荐(0)
摘要:
不断的积累、不断地沉淀、不断的学习。
阅读全文
posted @ 2018-10-30 09:42
Truce_Lee
阅读(92)
推荐(0)