原创 NSString - stringByTrimmingCharactersInSet

NSString - stringByTrimmingCharactersInSet: Returns a new string made by removing from both ends of the receiver charac

原创 UIScrollView scrollsToTop Property

UIScrollView scrollsToTop Property A Boolean value that controls whether the scroll-to-top gesture is enabled. Declarat

原创 UITableViewCell backgroundColor

UITableViewCell backgroundColor Whether you use a predefined or custom cell, you can change the cell’s background using

原创 NSString - sizeWithAttributes

NSString - sizeWithAttributes: Returns the bounding box size the receiver occupies when drawn with the given attributes

原创 UIView - endEditing

UIView - endEditing:Causes the view (or one of its embedded text fields) to resign the first responder status. Declarat

原创 NSString - sizeWithFont

NSString - sizeWithFont: Returns the size of the string if it were to be rendered with the specified font on a single l

原创 UIImage - resizableImageWithCapInsets & - resizableImageWithCapInsets:resizingMode

UIImage - resizableImageWithCapInsets:Creates and returns a new image object with the specified cap insets. Declaration

原创 Xcode註釋工具ThisService+Doxygen

Xcode註釋工具ThisService+DoxygenXcode快速Doxygen文檔註釋 — 簡明圖文教程http://blog.chukong-inc.com/index.php/2012/05/16/xcode4_fast_dox

原创 UIScrollViewDelegate - scrollViewDidEndDecelerating

UIScrollViewDelegate - scrollViewDidEndDecelerating:Tells the delegate that the scroll view has ended decelerating the

原创 UIKeyboardWillShowNotification

UIKeyboardWillShowNotification Posted immediately prior to the display of the keyboard. The notification object is nil.

原创 Xcode7 使用 *.tbd 而不是 *.dylib

For people who need dylib, follow this: Choose "Add other" Once in the file selection window do "CMD"+Shift+G (Go to fo

原创 UIAlertController replaces the UIActionSheet and UIAlertView

UIAlertControllerA UIAlertController object displays an alert message to the user. This class replaces the UIActionShee

原创 UIApplicationDidEnterBackgroundNotification

UIApplicationDidEnterBackgroundNotification Posted when the app enters the background. The object of the notification i

原创 Coding Guidelines for Cocoa

Coding Guidelines for Cocoa 官方網站:https://developer.apple.com/library/ios/documentation/Cocoa/Conceptual/CodingGuidelin

原创 NSArray - filteredArrayUsingPredicate

NSArray - filteredArrayUsingPredicate:Evaluates a given predicate against each object in the receiving array and return