摘要:
https://www.evernote.com/shard/s227/sh/f38cd787-c230-46af-be3e-85505e377580/0f1603c3bcc6d559291a99d7b53bb5e8 阅读全文
posted @ 2013-12-25 17:03
iTeaTime(技术清谈)
阅读(199)
评论(0)
推荐(0)
摘要:
源代码下载链接:01-UIScrollView01-大图片展示.zip283.7 KB //
// MJViewController.m
// 01-UIScrollView01-大图片展示
//
// Created by apple on 13-11-27.
// Copyright (c) 2013年itcast. All rights reserved.
// #... 阅读全文
posted @ 2013-12-25 17:01
iTeaTime(技术清谈)
阅读(202)
评论(0)
推荐(0)
摘要:
UIImageView与UIScrollView的关系图 https://www.evernote.com/shard/s227/sh/0af9f23c-08e6-4be6-a151-b220bcf403af/ba49dbeb381d1aa5dd25d075f192401a 阅读全文
posted @ 2013-12-25 16:59
iTeaTime(技术清谈)
阅读(212)
评论(0)
推荐(0)
摘要:
虽然UIImageView是UIScollView的子视图,但UIImageView左上角是contentOfSet的原点 https://www.evernote.com/shard/s227/sh/2f594944-f8de-4f7f-958b-931c22de58e9/fbc4dccf04a47c297661bbeb007ebc9f 阅读全文
posted @ 2013-12-25 16:58
iTeaTime(技术清谈)
阅读(211)
评论(0)
推荐(0)
摘要:
将四个按钮放入一个父控件的好处:方便移动,只需要改变父控件的y值,
就可移动四个按钮 https://www.evernote.com/shard/s227/sh/78c6a4ee-16be-424b-a258-9294c585737b/1c29db6fab5aeeecea8a8a857dac3d7a 阅读全文
posted @ 2013-12-25 16:54
iTeaTime(技术清谈)
阅读(123)
评论(0)
推荐(0)
摘要:
继承自UITableView的类自带tableView属性,不需要在创建该属性,因为父类UITableView已经创建. https://www.evernote.com/shard/s227/sh/43e9ac62-e23a-4882-8337-37e1ada7c584/450f0b3e7f5fd976b161d0df20e7b7d8 阅读全文
posted @ 2013-12-25 16:53
iTeaTime(技术清谈)
阅读(480)
评论(0)
推荐(0)
摘要:
辞旧迎新,如何区分新旧控件:除了遍历就是创建全局变量,设置默认值,
在迎新后,将新的值赋给全局变量.
像接力棒一样. https://www.evernote.com/shard/s227/sh/97b99751-d675-4140-bbbd-666a66210464/e2119cb6e0a2964979eb39d92e2b5cfd 阅读全文
posted @ 2013-12-25 16:51
iTeaTime(技术清谈)
阅读(161)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/11533e15-ca00-42d8-8d95-9c20e31ad40c/22b94cf69d44644ce57cdf709188cb6d 阅读全文
posted @ 2013-12-25 16:49
iTeaTime(技术清谈)
阅读(161)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/7d0d67fa-9207-468a-b5ee-526b959d4293/4952a52a8fa7e1a95c29f02a009b5b26 阅读全文
posted @ 2013-12-25 16:47
iTeaTime(技术清谈)
阅读(179)
评论(0)
推荐(0)
摘要:
源代码下载链接:01-QQ 3.zip292.5 KB // QQAppDelegate.h
Map //
// QQAppDelegate.h
// 01-QQ
//
// Created by apple on 13-12-13.
// Copyright (c) 2013年itcast. All rights reserved.
// #import @i... 阅读全文
posted @ 2013-12-25 16:45
iTeaTime(技术清谈)
阅读(345)
评论(0)
推荐(0)
摘要:
笔记的完整版pdf文档下载地址:
https://www.evernote.com/shard/s227/sh/ac692160-68c7-4149-83ea-0db5385e28b0/5742995e6034e3d3f5c4793465d50a8c 笔记的文本摘要如下所示:
注意:以下仅仅是文本摘要,没有贴图,出现右边的图标()表示笔记中此处有图片,完整笔记请前往pdf链接... 阅读全文
posted @ 2013-12-25 16:42
iTeaTime(技术清谈)
阅读(300)
评论(0)
推荐(0)
摘要:
一、控制器1.当两个控制器互为父子关系的时候,它们的view一般也是互为父子关系*比如想添加A控制器的view到B控制器的view上,就应该让A控制器成为B控制器的子控制器,而B控制器就称为A控制器的父控制器//[B addChildViewController:A];// A就会存在于B的childViewControllers数组中// A.parentViewController == B... 阅读全文
posted @ 2013-12-25 16:38
iTeaTime(技术清谈)
阅读(231)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/a0c3afa3-8792-4756-8594-d2387a7f57ad/b561ff665af9ad401c8ec4bf58756998 阅读全文
posted @ 2013-12-25 16:28
iTeaTime(技术清谈)
阅读(154)
评论(0)
推荐(0)
摘要:
代理/协议策略,一个类A,创建同名协议ADelegate,在类A中调用协议(代理)方法
aMethod, 调用对象写_delegate. 好处:低耦合:这个类中,不需要#import代理类B.
但依然有B继承A的效果--拥有并重写了aMethod https://www.evernote.com/shard/s227/sh/3ca8d9c3-38c6-44ed-b310-55... 阅读全文
posted @ 2013-12-25 16:25
iTeaTime(技术清谈)
阅读(178)
评论(0)
推荐(0)
摘要:
#学习方法#error调试#NSLog调试之无法进行数据传输,Edit无法现实之前编辑
的内容 https://www.evernote.com/shard/s227/sh/c255a961-e66f-4916-8f96-5ad4952ae811/88ddae46f9f6e7d648048d78b91e4722 #学习方法2打印为空,说明#延迟加载#解决方... 阅读全文
posted @ 2013-12-25 16:23
iTeaTime(技术清谈)
阅读(242)
评论(0)
推荐(0)
摘要:
01-导航实例-QQ空间.zip62.4 KB // MJLoginViewController.h
Map //
// MJLoginViewController.h
// 01-导航实例-QQ空间
//
// Created by apple on 13-12-10.
// Copyright (c) 2013年itcast. All rights reserve... 阅读全文
posted @ 2013-12-25 16:18
iTeaTime(技术清谈)
阅读(967)
评论(0)
推荐(1)
摘要:
一、利用storyboard完成导航1.storyboard中用来跳转的每一根线都是一个UIStoryboardSegue对象1>自动跳转(从某个按钮拖线到下一个目的控制器)2>手动跳转(从来源控制器拖线到下一个目的控制器)*一定要给segue绑定一个唯一的identifier*如何跳转?通过来源控制器的一个方法来执行这个UIStoryboardSegue对象[s... 阅读全文
posted @ 2013-12-25 16:17
iTeaTime(技术清谈)
阅读(350)
评论(0)
推荐(0)
摘要:
源代码下载链接:02-导航实例-storyboard实现.zip38.5 KB // MJAboutViewController.h //
// MJAboutViewController.h
// 02-导航实例-storyboard实现
//
// Created by apple on 13-12-10.
// Copyright (c) 2013年it... 阅读全文
posted @ 2013-12-25 16:14
iTeaTime(技术清谈)
阅读(232)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/c2441a07-6b7e-4659-8452-9f768ee9cc66/73a115ed352421e10629a9f7434835d3 阅读全文
posted @ 2013-12-25 16:13
iTeaTime(技术清谈)
阅读(165)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/423fd81d-ab1c-4e6c-997d-39359472a4a5/f220ade8bd9be149ad70a488e72899df 阅读全文
posted @ 2013-12-25 16:11
iTeaTime(技术清谈)
阅读(310)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/01307822-de66-448d-8bac-7954f01ffc64/185b44c2bf5b6e266f4bed372a01a759 阅读全文
posted @ 2013-12-25 16:10
iTeaTime(技术清谈)
阅读(249)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/a99dbdc2-f0ba-4332-b5b5-31fd2a0900ca/31a206be110adc4394a25b4173d30b22 阅读全文
posted @ 2013-12-25 16:09
iTeaTime(技术清谈)
阅读(147)
评论(0)
推荐(0)
摘要:
源代码下载链接:03-控制器的生命周期.zip154.1 KB // MJViewController.h // MJViewController.h
// 03-控制器的生命周期
//
// Created by apple on 13-12-10.
// Copyright (c) 2013年itcast. All rights reserved.
// #... 阅读全文
posted @ 2013-12-25 16:07
iTeaTime(技术清谈)
阅读(201)
评论(0)
推荐(0)
摘要:
源代码下载链接:04-控制器的生命周期方法.zip32.3 KB // MJViewController.h
Map //
// MJViewController.h
// 04-控制器的生命周期方法
//
// Created by apple on 13-12-10.
// Copyright (c) 2013年itcast. All rights reserv... 阅读全文
posted @ 2013-12-25 16:05
iTeaTime(技术清谈)
阅读(466)
评论(0)
推荐(0)
摘要:
笔记的完整版pdf文档下载地址:https://www.evernote.com/shard/s227/sh/7a393b8e-414f-4b43-b9e2-94a1fb868f2c/f21b4cd9a40f33b6ff258ff40a830876 笔记的文本摘要如下所示: 注意:以下仅仅是文本摘要,没 有贴图,出现右边的图标()表示笔记中此处有图片,完整... 阅读全文
posted @ 2013-12-25 16:03
iTeaTime(技术清谈)
阅读(306)
评论(0)
推荐(0)
摘要:
#error:崩溃#worning:/Users/chenyilong/Dropbox/Xcode/01-导航实例-QQ空间/01-导航实例-QQ空间/CYLAppDelegate.m:15:15: Unused variable 'window'
- (BOOL)application:(UIApplication*)application didFinis... 阅读全文
posted @ 2013-12-25 15:58
iTeaTime(技术清谈)
阅读(858)
评论(0)
推荐(0)
摘要:
#error#错误原因:Cannot find executable for CFBundle 0x8ad60b0 (not loaded) https://www.evernote.com/shard/s227/sh/0cdd94cc-b6bb-489d-96bc-fb60172ca6fa/05090d2ae8f56bc3348e1c11ee9cff1b 阅读全文
posted @ 2013-12-25 15:57
iTeaTime(技术清谈)
阅读(816)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/cad7d5f5-8e81-4b3b-908f-5d8eee7d11e2/928786149cf9a103a74626329d932e30 阅读全文
posted @ 2013-12-25 15:55
iTeaTime(技术清谈)
阅读(168)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/a575caee-d6a8-4f43-9037-145b9a6913ca/c9a2befa22ce7c3f547f587d5e7bf511 阅读全文
posted @ 2013-12-25 15:54
iTeaTime(技术清谈)
阅读(106)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/81b47011-6460-4a51-85b3-ed2bf936e1d0/304d8420b8b5c08c34959b593f85c3f5 阅读全文
posted @ 2013-12-25 15:53
iTeaTime(技术清谈)
阅读(114)
评论(0)
推荐(0)
摘要:
#error#学习方法,如何避免初始化错误.错误来自:本博客的另一篇文章Demo示例程序源代码:
,01-导航实例-QQ空间.xcodeproj — CYLLoginViewController.mDemo示例程序源代码 https://www.evernote.com/shard/s227/sh/ff0ca42e-6df9-44e2-9a31-a19f8bfd5aba/a568866c9a9... 阅读全文
posted @ 2013-12-25 15:50
iTeaTime(技术清谈)
阅读(152)
评论(0)
推荐(0)
摘要:
/Users/chenyilong/Dropbox/Xcode/01-modal/01-modal/CYLAppDelegate.m:16:73: No visible @interface for 'UIScreen' declares the selector 'bunds'
// self.window =[[UIWindow alloc] init... 阅读全文
posted @ 2013-12-25 15:48
iTeaTime(技术清谈)
阅读(752)
评论(0)
推荐(0)
摘要:
源代码下载链接:01-modal.zip37.8 KB // MJAppDelegate.h //
// MJAppDelegate.h
// 01-modal
//
// Created by apple on 13-12-11.
// Copyright (c) 2013年itcast. All rights reserved.
// #import @int... 阅读全文
posted @ 2013-12-25 15:46
iTeaTime(技术清谈)
阅读(400)
评论(0)
推荐(0)
摘要:
pdf文件下载地址:数据存取文档.key.zip3.1 MB数据存取文档.pdf1.1 MB //本文永久链接,转载请注明出处:http://www.cnblogs.com/ChenYilong/p/3490784.html //本文永久链接,转载请注明出处:http://www.cnblogs.com/ChenYilong/p/3490784.html 数据存储https://w... 阅读全文
posted @ 2013-12-25 15:38
iTeaTime(技术清谈)
阅读(251)
评论(0)
推荐(0)
摘要:
一、利用Modal形式展示控制器
1.如何展示// vc就是要展示的新控制器[selfpresentViewController:vc animated:YEScompletion:^{ NSLog(@"展示完毕");}];//本文永久链接,转载请注明出处:http://www.cnblogs.com/ChenYilong/p/3490681.html2.如何关闭modal控制器[se... 阅读全文
posted @ 2013-12-25 14:49
iTeaTime(技术清谈)
阅读(229)
评论(0)
推荐(0)
摘要:
源代码下载链接:02-更改窗口的根控制器.zip18.0 KB // MJAppDelegate.h //
// MJAppDelegate.h
// 02-更改窗口的根控制器
//
// Created by apple on 13-12-11.
// Copyright (c) 2013年itcast. All rights reserved.
// #im... 阅读全文
posted @ 2013-12-25 14:47
iTeaTime(技术清谈)
阅读(407)
评论(0)
推荐(0)
摘要:
//本文永久链接,转载请注明出处:http://www.cnblogs.com/ChenYilong/p/3490669.html https://www.evernote.com/shard/s227/sh/1401e497-899e-4b04-9ff6-e1d9638e9f25/f6b722ed5cb2c5f603a9b242ee7fe230 阅读全文
posted @ 2013-12-25 14:46
iTeaTime(技术清谈)
阅读(1184)
评论(0)
推荐(0)
摘要:
源代码下载链接:04-plis属性列表.zip27.8 KB // MJPerson.h //
// MJPerson.h
// 04-plis属性列表
//
// Created by apple on 13-12-11.
// Copyright (c) 2013年itcast. All rights reserved.
// #import @inter... 阅读全文
posted @ 2013-12-25 14:43
iTeaTime(技术清谈)
阅读(251)
评论(0)
推荐(0)
摘要:
https://www.evernote.com/shard/s227/sh/3e35a7b3-f40c-46df-8ae0-e7522310c18b/742311974127f12eaafae07a0fdf0a84
//本文永久链接,转载请注明出处:http://www.cnblogs.com/ChenYilong/p/3490650.html 阅读全文
posted @ 2013-12-25 14:40
iTeaTime(技术清谈)
阅读(122)
评论(0)
推荐(0)
摘要:
#error:Xcode5根控制器使用xib展示,步骤 ⓵取消mainInterface ⓶右击file's owner对xib进行view-view连线,否则: Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFro... 阅读全文
posted @ 2013-12-25 14:39
iTeaTime(技术清谈)
阅读(278)
评论(0)
推荐(0)
摘要:
源代码下载链接:05-偏好设置.zip35.9 KB
//
// MJViewController.m
// 03-Plist属性列表
//
// Created by apple on 13-12-11.
// Copyright (c) 2013年itcast. All rights reserved.
// #import"MJViewController.h" @inte... 阅读全文
posted @ 2013-12-25 14:33
iTeaTime(技术清谈)
阅读(694)
评论(0)
推荐(0)
摘要:
源代码下载链接:06-归档普通对象.zip34.2 KB // MJPerson.h //
// MJPerson.h
// 06-归档普通对象
//
// Created by apple on 13-12-11.
// Copyright (c) 2013年itcast. All rights reserved.
// #import @interfaceMJ... 阅读全文
posted @ 2013-12-25 14:31
iTeaTime(技术清谈)
阅读(335)
评论(0)
推荐(0)
摘要:
源码下载地址:07-联系人数据存储.zip35.8 KB // MJPerson.h //
// MJPerson.h
// 07-联系人数据存储
//
// Created by apple on 13-12-11.
// Copyright (c) 2013年itcast. All rights reserved.
////本文永久链接,转载请注明出处:http... 阅读全文
posted @ 2013-12-25 14:26
iTeaTime(技术清谈)
阅读(429)
评论(0)
推荐(0)
摘要:
笔记的完整版pdf文档下载地址:https://www.evernote.com/shard/s227/sh/aba2aa01-4d96-429d-9bbd-2f285c7c0c79/65772262ca10a07770ed5dfff7504930 1213.doc703.5 KB1213.pdf522.9 KB 笔记的文本摘要如下所示:
注意:以下仅仅是文本摘要,没有贴图... 阅读全文
posted @ 2013-12-25 14:18
iTeaTime(技术清谈)
阅读(346)
评论(0)
推荐(0)
摘要:
源码下载:04-计算代码行数.zip24.1 KB//// main.m// 计算代码行数//// Created by apple on 13-8-12.//技术博客http://www.cnblogs.com/ChenYilong/新浪微博http://weibo.com/luohanchenyilong
///**考察NSString、NSArray的使用* NSFileMana... 阅读全文
posted @ 2013-12-25 14:13
iTeaTime(技术清谈)
阅读(509)
评论(0)
推荐(0)
摘要:
12.22笔记
pdf下载文件:https://www.evernote.com/shard/s227/sh/f81ba498-41aa-443b-81c1-9b569fcc34c5/f033b89a4394b20921fcb8489066acbc 笔记的文本摘要如下所示:
注意:以下仅仅是文本摘要,没有贴图,出现右边的图标()表示笔记中此处有图片,完整笔记请前往pdf链接中观看或下载观看.
... 阅读全文
posted @ 2013-12-25 12:03
iTeaTime(技术清谈)
阅读(248)
评论(0)
推荐(0)
摘要:
源代码下载:
01-简单演练.zip72.0 KB //
// ViewController.m
// 01.简单演练
//
// Created by apple on 13-12-24.
//技术博客http://www.cnblogs.com/ChenYilong/新浪微博http://weibo.com/luohanchenyilong #import"... 阅读全文
posted @ 2013-12-25 11:36
iTeaTime(技术清谈)
阅读(433)
评论(0)
推荐(0)
摘要:
⓵UIImageView
1. // iOS7添加的对图像颜色处理的功能,过滤颜色的功能
2. _imageView.tintColor = [UIColor blueColor];
3. //重新绘图
4. _imageView.image = [_imageView.image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplat... 阅读全文
posted @ 2013-12-25 04:34
iTeaTime(技术清谈)
阅读(505)
评论(0)
推荐(0)
摘要:
知识点复习 1. 触摸事件&手势识别 1> 4个触摸事件,针对视图的
2> 6个手势识别(除了用代码添加,也可以用Storyboard添加) 附加在某一个特定视图上的,其中需要注意轻扫手势通常会附加到根视图上。 * 大部分操作,都会在touchesBegan事件中处理,以防夜长梦多!
* touchesEnd事件通常用于处理touchesMoved事件中的收尾工作! 以上两项... 阅读全文
posted @ 2013-12-25 03:54
iTeaTime(技术清谈)
阅读(483)
评论(0)
推荐(0)
摘要:
前言:这是一个两万余行的商业项目,但代码质量却不敢恭维! //本文永久链接,转载请注明出处:http://www.cnblogs.com/ChenYilong/p/3489939.html Technorati Tags: iOS, 代码优化 阅读全文
posted @ 2013-12-25 03:35
iTeaTime(技术清谈)
阅读(2646)
评论(0)
推荐(0)
摘要:
使用storyboard显示UITableView时,如果不修改系统默认生成的tableView:cellForRowAtIndexPath:方法中的代码,必须为UITableViewCell注册(填写)重用标识符:identifier.必须要代码方法中的标识符一致.然后,就可以省略代码设置标识符的方法:(也就是那三行if语句)如下所示:
- (UITableViewCell *)tableVie... 阅读全文
posted @ 2013-12-25 03:23
iTeaTime(技术清谈)
阅读(2032)
评论(0)
推荐(0)

浙公网安备 33010602011771号