上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页
摘要: ip_spider.py= = =#!/usr/bin/python# coding: utf-8import osimport sysimport requestsimport reimport urllibimport sysreload(sys)sys.setdefaultencoding( ... 阅读全文
posted @ 2015-02-28 14:55 Levi.duan 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 直接看步骤 废话不多说,哈哈!1、新建一个静态库工程:2:取自己喜欢的名字:3、删除向导所生成工程中的 Target:3、删除TestFrameWork对应的工程文件夹:5:删除bulid 关连项选择左下角Manager Scheme选中 Scheme,点击左下角的减号删除:删除完成后,点击 OK ... 阅读全文
posted @ 2014-09-23 16:09 Levi.duan 阅读(266) 评论(0) 推荐(0) 编辑
摘要: 笔记内容 学习笔记-段玉磊Stanford course View Controller Lifecycle 这篇文是我记载Developing iOS 7 Apps公开课 第5课的笔记UITextViewSet its text and attributes via its NSMutableAttributedString使用UITextView 要属性NSTextStora... 阅读全文
posted @ 2014-06-24 13:29 Levi.duan 阅读(1156) 评论(0) 推荐(0) 编辑
摘要: 笔记内容 学习笔记-段玉磊Stanford courseFoundation and Attributed StringsDynamic bindingid 是一个指向任何未知对象的指针,(the consept of dynamic binding)静态类型化:id 不会发生警告 而NSString *s 会发生警告!Nerver use iD ,因为id只是指针,很危险!!强... 阅读全文
posted @ 2014-06-23 16:46 Levi.duan 阅读(566) 评论(0) 推荐(0) 编辑
摘要: 笔记内容 学习笔记-段玉磊Github Github 命令写这篇文章主要写一下如何运用终端命令,进行Git的配置以及使用,由于本人我不太习惯使用图形IDE,效率没有命令行高,我还是推荐使用命令行进行Git的使用。简单介绍简要说一下Git,Git只是一个版本控制工具,举例来说,我之前写一个多核归并算法,将文件保存命名为MergeSort.c,由于发现一个Bug,将一段段代码注释,显... 阅读全文
posted @ 2014-06-22 17:43 Levi.duan 阅读(1117) 评论(0) 推荐(2) 编辑
摘要: 笔记内容 我的Mac软件用Mac已经2年+,主要用来看电影、听音乐、写日记,其实也是因为偶像uSi在用,选择Mac不仅仅是因为Mac编程特别好用,更是一种生活方式办公软件iWork超爱iWork,苹果办公软件,比office强大太多,可以通过PDF导出。office兼容不好,用来写长篇大论时候要保存,复制粘贴极容易崩溃ichm用来查看win下的chm帮助文件,此软件一定要用鼠标,... 阅读全文
posted @ 2014-06-21 22:06 Levi.duan 阅读(448) 评论(0) 推荐(0) 编辑
摘要: DIY a tableviewcell :- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString*)reuseIdentifier{self= [superinitWithStyle:stylereuseIdentifier:reuseIdentifier];if(self) {UIView*testView = [[UIViewalloc]initWithFrame:CGRectMake(0,0,140,42)]; testView.backgroundColor= [UIColorredColor] 阅读全文
posted @ 2014-04-13 13:29 Levi.duan 阅读(265) 评论(0) 推荐(0) 编辑
摘要: uitableView review yesterday’s knowledge :folding group :--------------------------------------------------------------------------------------------------------------------------------------------------teacher code :-(UIView*)tableView:(UITableView*)tableView viewForHeaderInSection:(NSInteger)secti 阅读全文
posted @ 2014-04-13 13:26 Levi.duan 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 学英语。所以用英文来记录笔记。Define the dataSource:@implementationViewController{NSMutableArray*dataSourse; UITableView*myTableView;}Define the dataSource array: dataSourse= [NSMutableArrayarray];for(inti=0; i@endTheUITableViewDataSource have two function which must be implemented:- (UITableViewCell*)tableView:.. 阅读全文
posted @ 2014-04-13 13:21 Levi.duan 阅读(342) 评论(0) 推荐(0) 编辑
摘要: 实现图片的滚动,并且自动停止在每张图片上- (void)viewDidLoad{ [superviewDidLoad];UIScrollView*scrollView = [[UIScrollViewalloc]initWithFrame:CGRectMake(0,20,320,200)];for(inti=1; i@property(weak,nonatomic)IBOutletUILabel*myLabel;@end@implementationQFViewController{CGFloatpreScale;}- (void)viewDidLoad{ [superviewDidLoad] 阅读全文
posted @ 2014-04-13 13:20 Levi.duan 阅读(154) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 16 下一页