IOS shortcut keys

--http://www.apkbus.com/android-126158-1-1.html

 

IOS development summary by mhmwadm (thanks to mhmwadm, although I don't know it's water) 2013/4/10 1 XCode shortcut keys 4 2 Objective-C 4 2.1 Code mixing 4 2.2 String wrapping in code 5 2.3 Don't call [super release] 5 2.4 Determine whether a string contains another string: 5 2.5 If the member variables of the class are not used, they are written as class methods 5 2.6 Category can be used for debugging 5 2.7 Category and Extension 6 2.7.0 Categories Add Methods to Existing Classes 6 2.7.1 Class Extensions Extend the Internal Implementation 7 2.8 References 7 2.9 block 7 2.10 Property Rename 10 2.11 Rewrite description 10 2.12 Archive and serialise 10 2.13 Mutability Determines Whether a Represented Value Can Be Changed 11 2.14 Use new to Create an Object If No Arguments Are Needed for Initialization 12 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2.15 Literals Offer a Concise Object-Creation Syntax 12  
2.16 Properties of property 13  
2.17 Represent Other Values ​​Using Instances of the NSValue Class 14  
2.18 Determining Equality of Objects 14  
2.19 Working with nil 15  
3 IOS 16  
3.1 Setting rounded corners 16  
3.2 Common and useful methods 17  
3.3 The reason why the picture is blurred after stretching 17  
3.4 Using custom fonts 17  
3.5 Running in the background 18  
3.6 Let the program continue to run for 10 minutes when the program exits the background 18  
3.7 About UITableView 20  
3.7.0 Set the background color of the cell selected state arbitrarily: 20  
3.7. 1 Get the position of the control in the table 21  
3.7.2 flashScrollIndicators 21  
3.7.3 How to get the cell when the button in the Cell is clicked: 21  
3.8 _cmd 22  
3.9 A method to keep vibrating: 22  
3.10 Remove the luminous effect of the app icon 23  
3.11 UIImage:stretchableImageWithLeftCapWidth:topCapHeight: 23  
3.12 UIPopoverController 23 
3.13 UIColor colorWithRed:green:blue:alpha: 23  
3.14 Prohibit the copy and paste menu of textField and textView: 24  
3.15 loadView 24  
3.16 GestureRecognizer related 24  
3.17 How to enter the page of the software in the app store: 25  
3.18 Someview automatically disappears after a period of time display 25  
3.19 Make the prompt window display in any interface: 26  
3.20 Disable automatic lock screen when the program is running 26  
3.21 Customize the back button of UINavigationController 26  
3.22 Change UIAlertView background 27  
3.23 Floating prompt 28  
3.24 Change UITextField background 29  
3.25 CALayer high-definition display 29  
3.26 CGLayer high-definition display 29  
3.27 Animation for CALayer 30  
3.28 Take commonly used addresses 30  
3.29 All available encodings 30  
3.30 Sometimes float values ​​are inaccurate, use double 31  
3.31 UINavigationBar 31  
3.32 If NSString is a file address 31  
3.33 NSPredicate 31  
3.34 NSDictionary ,NSMutableDictionary 32 
3.35 How to change the background of UINavigationBar 32  
3.36 Since IOS 6.0, in order to control the rotation, write a category for UINavigationController 33  
3.37 allSubviews, allApplicationViews, pathToView 35  
3.38 The keyboard is a pickerview with buttons 36  
3.39 +(void)showAlertWithTitle:(NSString *)title message:(id)formatstring,... 38  
3.40 Modify UIAlertView 38  
3.41 Set animation for CALayer 39  
3.42 addSubview does not support Animation 40  
3.43 Add delete button to keyboard 41  
3.44 UITextField extension 47  
3.44.0 Delete the previous input character 47  
3.44. 1 TextField as long as there is input, immediately clear the old value 48  
3.45 Common methods of CGContext 49  
3.46 Set line width 50  
3.47 Output Chinese characters in CGContext 51  
3.48 Better classes that can be used ready-made: 51  
3.49 Define for simplified code 51  
3.50 How to add The click range of the big button: 52  
3.51 setNavigationBarHidden is called first 52  
3.52 Unconventional exit 52 
3.53 Sometimes iPhone or iPad detection device rotation is inaccurate 52  
3.54 How to override isEqual 53  
3.55 The view added to navigationController.view needs to be manually removedFromSuperview 53  
4 Others 53  
4.1 Compare the version number 53  
4.2 If it is confirmed that the software has been upgraded 54  
4.3 B/S transfer file, if the originally agreed data structure has changed: 54 
<span style="text-transform: none; background-color: #ffffff; text-indent: 0

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326993195&siteId=291194637