[Code Note] reads a piece of text and code note
I ,.
2. Engineering Drawing.
3. Code.
RootViewController. m
# Import "RootViewController. h "@ interface RootViewController () @ end @ implementation RootViewController-(id) initWithNibName :(
Different types of TableView in iOS
TableView is a frequently used View in iOS development. For different display requirements, we need different cells for display. For more complex display, we usually customize the Cell style, however, you can
New API for iOS 9.2, ios9.2apiCloudKit
NewCKFetchWebAuthTokenOperationClass
CKFetchWebAuthTokenOperation object fromAPITokenObtain a web Authentication token using the CKDatabase classAddOperation:Method to add this operation to the operation queue
Set rounded corners and circular images for iOS
Regular and positive styles tend to appear stiff, and the rounded corner styles lead to a different kind of intimacy. Nowadays, more and more rounded corners are used, and most images such as user
IOS 9 keyboard types
IOS supports many types of keyboards. using different types of keyboards in different use cases can greatly improve convenience. The following types are supported in iOS 9:
1. UIKeyboardTypeDefault, often used in text input
Mac system Miscellaneous (continuous update), mac Miscellaneous1. Adjust the LaunchPad icon to display the number of columns and number of rows
1. Adjust the number of icons displayed in each column. On my computer (1366*768), seven people in each
Simple encapsulation of system network requests and network request Encapsulation
AGConnectionNetSimple encapsulation of system network requests facilitates network requests, and encapsulates data parsing and network requests in the same method for
Use of Objective-c kvc and KVO, objective-ckvckvo
Use of KVC
In general, we use attributes or access methods to access instance variables. However, we can also use Key-Value-Coding (KVC) the value of the instance variable to be accessed by key-value
IOS Aurora push and ios Aurora push
The. p12 file exported from aps_production.cer is the same as the above.
Upload the. p12 certificate. If the certificate is invalid, the upload will fail.
Solution:1. first, you need to download a new
Multi-thread (NSOperation) for iOS development practices)
NSOperation encapsulates GCD (underlying layer) and is more object-oriented.
NSOperation
With NSOperation and NSOperationQueue, you can also implement multi-threaded programming.
Detailed
Ios development-application settings and user default settings [1. Use of bundle] And iosbundle
On the iphone, the app will have an exclusive app setting in "Settings". By selecting this menu interface, you can enter and change various options in
Common NSString operations,
NSString * testStr01 = @ "HelloWord"; NSString * testStr02 = [testStr01 substringToIndex: 5]; // obtain the header (from the beginning ), to does not include the subscript content NSString * testStr03 = [testStr01
IOS development ~ CocoaPods Usage Details, ioscocoapods
I. Summary
During iOS development, many third-party libraries are referenced in the project, and CocoaPods (https://github.com/CocoaPods/CocoaPods) can be used to conveniently manage these
Common Objective-C NSString and nsstring Methods
Tip: the previous ones are more common.
1. Create a string
Instance method:
-(Instancetype) initWithFormat :( NSString *) format
Format to generate a String object
This method is commonly used and has
Comparison and summarization of several delayed execution methods in iOS, ios latency
This article lists four methods for delaying the execution of a function and their differences. If the latency is 1 second, execute the following method.
-
Use of FMDB in iOS and iOSFMDB
1. In daily development, we need to use the offline cache to store data into the database and load data when there is no network. In IOS, we use the sqlite3 database, we can also use native SQL, but it is difficult to
What is the difference between @ synthesize and @ dynamic in iOS? synthesizedynamic
OC object-c in order to make java developers accustomed to using the. operation, you can use the @ property variable in the interface class to declare the attribute.
IOS generates UIColor from various color labels
When you know the RGB value and Alpha transparency, use the native method of the following UIColor:
UIColor * color = [UIColor colorWithRed: 255.0/255.0 green: 108.0/255.0 blue: 96.0/255.0
Basic NSURL operations and basic iosnsurl operations in iOS development1. URLURL is a simple representation of the location and access method of resources that can be obtained from the Internet. It is the address of standard resources on the
The basic use of the Automatic Layout of sizeclass and autolayout in iOS 8 is autolayoutsizeclass.
1. First, create a new project and set rootviewcontroller (I will not talk about it here)
2. Check the following (because we use sizeClass below,
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