IOS development-common Xcode shortcuts
Among all the shortcuts in Xcode 6, the following should be learned first. After you learn how to use them, you may not need them anymore.
Xcode navigation shortcut
1. Project Navigator: Command + 1
Allows you
IOS development-log printing (common)
Q: How do I print the current function and row number?
A: Some pre-compiled macros can be used as printing parameters to print the current function and row number. For example:
NSLog(@"%s:%d obj=%@", __func__, __
Magical record (based on coredata) for ios data persistence)
After seeing magical record, I tried it and found it useful,
Magic Record is an open-source class library written by Saul Mora to make Core Data easier to use. The development of this
IOS development-click UITextField to bring up the UIDatePicker Protocol Implementation Method
UITextField is a control used to accept user input. Its advantage is that it is flexible and users can enter it at will, but sometimes this is also its
[IOS UI advanced, iosui advancedA. Some details about Quiartz2D1. The UIKit tool has encapsulated context references, so you do not need to manually obtain and render them.
1 - (void)drawRect:(CGRect)rect {2 [[UIColor redColor] set];3
IOS development-image search (source code + resolution)
The image search function is quite practical. When I implemented this function, I had some notes. Today I will integrate them into blog posts and share them with you.
The main functions of
[IOS] UIApplicationMain
After a new swift project is created, it is found that the project structure is very simple and there is no. pch file or. main file,
Naturally, you won't find the main function entry, and you have no clue about the app
IOS-how do I parse the IP address (sockaddr * Resolution) from Boujour )?, Boujoursockaddr1. PrefaceSome netizens left me a message saying: How do I parse the IP address from the array parsed by Boujour? Because the addresses after the Boujour
IOS block usage
Recently, I encountered a problem in the course of learning. The whole project uses UINavigationController as the root controller. A table tries to use the custom UITableViewCell controller, which has several custom buttons, when you
Stupid debugging 1. Stupid debugging
Just yesterday, an iOS app used by the company was released through the Enterprise id because no problems were found during debugging on the real machine. Directly replaces the online files. However, after
[Basic iOS control and basic ios ControlA. Create A controllerCommon methods for creating controllers are as follows:Create on storyboardCreate directly
1 ViewController *vc = [[ViewController alloc] init];After the class is set for xib, when the
IOS work notes (1), ios work notes
Note: I recorded some trivial things of learning IOS, some of which seem very naive now, but I can leave it alone!
1. The xib development ipad uses a landscape screen. You can set orientation to landscape in the
UIAlertController of iOS8 developed by iOS8
Before iOS8, use UIActionSheet and UIAlertView to provide button selection and prompt information. For example, you can write UIActionSheet as follows:
UIActionSheet * actionSheet = [[UIActionSheet alloc]
[Basic iOS control and basic ios ControlA. Concept1. the UIApplication object is a symbol of an application. Each application has 2. singleton 3. [UIApplication sharedApplication] Get 4. the first object created at iOS startup 5. use UIApplication
C language for iOS sqlite
I took a look at sqlite knowledge on Saturday and recorded it here. A video of Chuanzhi podcast
The data operation is basically adding, deleting, modifying, and querying:
Static sqlite3 * db; // declare a Database @
Comparison of loading network images for IOS
// 1. NSData dataWithContentsOfURL // [self. icon setImage: [UIImage imageWithData: [NSData dataWithContentsOfURL: tempUrl]; // 2. add to asynchronous processing in the form of dispath // [self
IOS tips-set the background color for buttons in different StatesWe know that setting the button's background color in Storyboard cannot be changed according to different States. The problem arises, what if we want the button to display a different
Use of ScrollView, and scrollview
1. UIScrollView has two sub-classes: uitextview and uitableview. These two controls are frequently used. Therefore, it is necessary to master their usage. They provide horizontal or vertical scroll bars when the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service