Objective-C: 08-NSDictionary and NSSet, nssetnsdictionaryNSDictionary and NSMutableDictionaryNSSet and NSMutableSte
Dictionary
Dictionary: it can be divided into variable dictionary NSDictionary and variable dictionary NSMutableDictionary. The data
IOS-UIView-set the background image in four ways: iosuiview background image1. Set the background image of UIView1. Use the image as the background color of the UIView. This method occupies too much memory and is not recommended.// 1. imageNamed
IOS ----- use GCD for multithreading, and ios ----- gcd for MultithreadingTwo core concepts of implementing multi-threaded GCD using GCD are as follows:
Queue
The queue is responsible for managing tasks submitted by developers. The GCD
Multithreading technology NSThread & NSOperation & GCD, multithreading technology nsthread
Multithreading: in iOS development, there are many problems when multithreading is used, such as refreshing the interface when downloading data
Simple music player production and music player
Make a simple music player:
1. Functions: music list, play, pause, last song, next song, progress bar (display progress time, control progress), random play, single loop, sequential play, and lyrics
Objective-C's total Runtime (1) message mechanism [conversion], objective-cruntime
RunTime is short for RunTime. It is the mechanism of the system when it is running, the most important of which is the message mechanism. For C language, function
Objective-c series-@ Property & point syntax, objective-c
// Explain the meanings of modifiers in parentheses behind the property:
// Nonatomic non-thread-safe non-atomic operations features: high efficiency of operation variables
// Atomic
[Reading Notes] iOS network-underlying network, Reading Notes ios
On iOS, there is a library called Core Foundation networking or CFNetwork, which is a lightweight encapsulation of the original Socket, but it quickly becomes very heavy for most
IOS development-Where can I update the location information of the custom view subviews? (DrawRect: Or layoutSubviews ?), Subviewsdrawrect
For custom, you can add content through addSubview or draw content through Core Graphic.
For the latter,
Use Masonry to build a special layout and compare it with xib.
Previously, only a relatively small number of contacts with Masonry. Most of the layout s in the project are combined with the AutoLayout in the xib with the frame computing of the hand
An example of a custom view hud Based on MBProgressHUD, mbprogresshudhud
A hud used in the project, based on MBProgressHUD, is implemented using a custom view. The animation effect is referenced online and is not ideal.If you need it, you can see
The new version of Netease news client application iOS source code, Netease news ios
This is a good iOS project source code.
Download source code:Http://code.662p.com/view/11510.html
Demo diagram:1. The highlight of this update is that
Reading Notes-basics, basics of Reading Notes
1. iOS system architecture is divided into four layers: Cocoa Touch layer, Media layer, Core Services layer and Core OS layer.
2. Auto Layout is first applied to the development of Mac 0 s x 10.7. It
IOS study notes, ios notes
1. Sqlite3 database creation sequence:
2. Sqlite3 database table creation sequence:
3. The update and delete operation sequence of the Sqlite3 database is similar to that of the table creation. You only need to change
IOS --- loadView Use Cases in UIViewControllerProblem
First read the code and create a subclass TestViewController (including the nib file) of UIViewController. imageViewCourse and lbCourse are two attributes of this class, which are added through
Network requests in IOS
For network requests that use NSURLConnection, it is best to define a class method. In the main thread, you can directly call a class method to obtain the requested network data. // construct a class method-request network + (
Block for iOS development achieves same asynchronous loading
1. Related Knowledge
1. Control Layer
Responsible for data interaction. The control layer requests data and creates an object with network requests. The object contains a block, which
IOS View Programming Guide notesThe program we see
For all IOS apps, the content we see is displayed by UIView.
UIView is like a scene, UIWindow is like a stage, and UIView is shown on the stage of UIWindow, so that we can see a variety of UI
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