上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页
摘要: 1 import java.util.*; 2 class Snow{} 3 class Powder extends Snow{} 4 class Crusty extends Snow{} 5 class Slush extends Snow{} 6 7 class Light extends Powder {} 8 class Heavy extends Powder {... 阅读全文
posted @ 2017-10-26 11:12 vector11248 阅读(506) 评论(0) 推荐(0) 编辑
摘要: 1 import java.util.*; 2 class Snow{} 3 class Powder extends Snow{} 4 class Crusty extends Snow{} 5 class Slush extends Snow{} 6 7 class Light extends Powder {} 8 class Heavy extends Powder {... 阅读全文
posted @ 2017-10-26 11:11 vector11248 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 1 import java.util.*; 2 public class matrixReshape { 3 4 5 public static void main(String[] args){ 6 Scanner sc = new Scanner(System.in); 7 ArrayList arrayList = new Arr... 阅读全文
posted @ 2017-10-25 22:14 vector11248 阅读(112) 评论(0) 推荐(0) 编辑
摘要: https://www.youtube.com/watch?v=XCsL89YtqCs. 视频教程 https://golang.org/cmd/go/。 goTool 阅读全文
posted @ 2017-10-23 18:01 vector11248 阅读(120) 评论(0) 推荐(0) 编辑
摘要: ctrl + shift +h快捷键 auto html preview 阅读全文
posted @ 2017-10-19 22:46 vector11248 阅读(894) 评论(0) 推荐(0) 编辑
摘要: 在有些项目中,大量使用了全屏的背景图片,这样的图片我们一 定不能使用[UIImage imageNamed:@"imageName"]的方式加载,因为这个方法会把图片直接缓存到内存中,试想一下,如果很多张图片都塞进内存是什么情况? 那就只能使用[UIImage imageWithContentsOf 阅读全文
posted @ 2017-10-18 20:53 vector11248 阅读(203) 评论(0) 推荐(0) 编辑
摘要: 开发App的过程中,常常会遇到在App内部加载网页,通常用UIWebView加载。这个自iOS2开始使用的网页加载器一直是开发的心病:加载速度慢,占用内存多,优化困难。如果加载网页多,还可能因为过量占用内存而给系统kill掉。各种优化的方法效果也不那么明显(点击查看常用优化方法)。 iOS8以后,苹 阅读全文
posted @ 2017-10-18 20:45 vector11248 阅读(183) 评论(0) 推荐(0) 编辑
摘要: @property (strong,nonatomic) NSArray *listData; @property (strong,nonatomic) NSArray *a; 必须Strong强引用 阅读全文
posted @ 2017-10-18 15:04 vector11248 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 1 //读取plist文件的数据 2 NSString *plistPath = [[NSBundle mainBundle] pathForResource:@"province" ofType:@"plist"]; 3 NSMutableDictionary *data = [[NSMutableDictionary alloc] initWithContent... 阅读全文
posted @ 2017-10-16 19:18 vector11248 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1 // 2 // ViewController.m 3 // 分屏导航 4 // 5 // Created by wky on 15/10/2017. 6 // Copyright © 2017 vector. All rights reserved. 7 // 8 9 #import "ViewController.h" 10 11 @interface Vie... 阅读全文
posted @ 2017-10-15 21:58 vector11248 阅读(159) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 18 下一页