Introduction Retrofit turns your HTTP API into a Java interface. public interface GitHubService { @GET("users/{user}/repos") Call<List<Repo>> listRepo ...
分类:
其他好文 时间:
2017-08-29 16:27:49
阅读次数:
237
osx firewall configuration file is : /Library/Preferences/com.apple.alf.plist the default plist and firewall programs are under:/usr/libexec/Applicati ...
分类:
其他好文 时间:
2017-08-23 20:51:20
阅读次数:
132
2017-08-21 08:11:07.079411+0800 YZLiveApp[751:591746] [DYMTLInitPlatform] platform initialization successful 2017-08-21 08:12:38.946229+0800 YZLiveApp ...
分类:
其他好文 时间:
2017-08-21 09:45:12
阅读次数:
182
public interface IFication<T>{ void Method1 ( T t ); T Method2();} public class Parent : IFication<Parent>{ public string Car="阿斯顿马丁"; // 父亲具有车子 publi ...
@property (nonatomic,strong) NSArray *imageData;//定义一个数组 //懒加载数据 -(NSArray *)imageDate { if(_imageDate==nil) { NSBundle *bundle=[NSBundle mainBundle];... ...
分类:
移动开发 时间:
2017-08-18 19:51:03
阅读次数:
265
现在OC开发中,链表用的越来越少,原因就是使用链表这种数据结构,去查询链表中的数据的时候,太过耗时。其实是否使用链表,需要具体分析。当需要用空间去换取时间的时候,适合使用数组这种数据结构。而当使用时间去换取空间的时候,比较适合使用链表去存储数据。 ...
分类:
其他好文 时间:
2017-08-18 18:35:25
阅读次数:
212
文本将会实现把数据存储到plist文件里。然后在程序中进行读取。在TableView控件中依据不同的类别显示Section。有关TableView 的其它实现,请參考《iOS项目开发实战——学会使用TableView列表控件(一)》《iOS项目开发实战——学会使用TableView列表控件(二)》《 ...
分类:
移动开发 时间:
2017-08-18 14:30:15
阅读次数:
159
DDK提供了两种链表的数据结构,双向链表和单向链表,其定义如下: typedef struct _LIST_ENTRY { struct _LIST_ENTRY *Flink; struct _LIST_ENTRY *Blink; } LIST_ENTRY,*PLIST_ENTRY; typedef ...
分类:
其他好文 时间:
2017-08-16 14:01:18
阅读次数:
284
1.编写自己的JdbcUtils 框架 2.使用 dbUtils 框架 1.视频中自己编写的JdbcUtils框架差不多就是dbUtils框架 2.使用 使用dbutils框架完成curd,以及批处理 使用dbutils各种类型的处理器完成结果集的处理 1.需要一个数据库连接池(在utils类中ne ...
分类:
数据库 时间:
2017-08-14 19:01:52
阅读次数:
166