`
chenniaoc
  • 浏览: 40037 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
https://github.com/dcneiner/Downloadify
1 Answer active oldest votes up vote 13 down vote accepted The documentation says: Retaining an object creates a strong reference, and an object cannot be deallocated until all of its strong references are released. If two objects retain each other, neither object ever gets dealloc ...
  - (ImageScrollView *)dequeueRecycledPage { ImageScrollView *page = [recycledPages anyObject]; if (page) { [[page retain] autorelease]; [recycledPages removeObject:page]; //注释1 } return page; }  上述方法返回一个从NSmutableSet获得的一个任意对象。 需要指出的是,这个对象从集合中取得以后,将会在最后执行一次 ...
http://github.com/enormego/EGOTableViewPullRefresh
bounds The bounds rectangle, which describes the view’s location and size in its own coordinate system. @property(nonatomic) CGRect bounds Discussion On the screen, the bounds rectangle represents the same visible portion of the view as its frame rectangle. By default, the origin of the bounds recta ...
https://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/WindowsandViews/WindowsandViews.html#//apple_ref/doc/uid/TP40009503-CH2-SW1
If you want to add a UINavigationController into a TabView, and while the tab was taped,turn current view to display rootView of the UINavigationController.Keep following principles. 1,Don't put the view which is expected to display into  TabView straightly. 2,Instead of 1,wrap the view by a Navig ...
1.ios中的bounds是指相对于视图自己的坐标,所以默认view.bounds.origin = (0,0);2.ios中的frame是指相对于父视图的坐标3.当bounds改变的时候,会影响到frame比如下面的代码:CGRect frame = CGRectMake(0, 0, 200, 200);UILabel * label = [UILabel alloc] initWithFrame:frame];label.bounds = CGRectMake(50, 50, 150, 150);效果图如下:label的frame变成多少了呢?自己动手实验一下吧!  
Email验证表达式:^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$解释:^  正则表达式开始\w 匹配 A-Z,a-z,0-9,_ +  匹配前面的 \w 一次或多次([-+.]\w+)**  匹配前面的 ([-+.]\w+) 零次或多次() 特殊字符与 * 相配[-+.] 匹配 -,+,. 中任意一个字符\w 匹配 A-Z,a-z,0-9,_+  匹配前面的 \w 一次或多次@  匹配 @ 字符\w 匹配 A-Z,a-z,0-9,_+  匹配前面的 \w 一次或多次([-.]\w+)**  匹配前面的 ([-.]\w+) 零次或多次() 特殊字符, ...
ypedef enum {     UIViewAnimationCurveEaseInOut,     UIViewAnimationCurveEaseIn
Declaring Constant String Objects A constant string object is declared by encapsulating the string in double quotes (") preceded by an @ sign. For example: @"This is a constant character string object"; In order to display the current value of a string object using NSLog, si ...
Path to Success The Core Data Programming Guide is primarily a reference volume. You should not simply try to read it straight through to understand Core Data. To learn about Core Data, you should typically follow this path: Start by reading the overview in Core Data Basics (in Core Data Programmin ...
Ctrl+1 快速修复(最经典的快捷键,就不用多说了) Ctrl+D: 删除当前行 Ctrl+Alt+↓ 复制当前行到下一行(复制增加) Ctrl+Alt+↑ 复制当前行到上一行(复制增加) Alt+↓ 当前行和下面一行交互位置(特别实用,可以省去先剪切,再粘贴了) Alt+↑ ...
粒子特效:particleillusion
タイトルの通り、iPhone  にインストールされているフォントをフォントファミリー毎に書き出してみた。 FontViewer と、Fonts をインストールして確認しました。 American Typewriter     * AmericanTypewriter     * AmericanTypewriter-Bold AppleGothic     * AppleGothic Arial     * ArialMT     * Arial-BoldMT     * Arial-ItalicMT     * Arial-BoldItalicMT Arial Rounded ...
Global site tag (gtag.js) - Google Analytics