IOS practice 01, ios practice
Before last year's holiday, I probably completed the Sina Weibo project, and now I forgot about it. I plan to write it again. Some of the previous notes are written in SleenXiu on Sina's blog. Here, Sina Weibo is
IOS development Note 11: forms, keyboard occlusion, floating point price formatting, UIPickerView content style modification, View Debugging, debugger1. Form and keyboard occlusion
The application scenario is that a collectionView has multiple
IOS development: multithreading NSThread and NSInvocationOperation
Multi-threaded programming is the best way to prevent the main thread from being congested and increase the running efficiency. The original multi-threaded method has many problems,
Usage and function of dispatch_apply in GCD, gcddispatch_apply
Usage and function of dispatch_apply in GCD
(1) Basic usage of dispatch_apply
The dispatch_apply function is the Association API between the dispatch_sync function and the Dispatch Group
IOS development: FMDB data storage Analysis
FMDB Is Object-Oriented. It encapsulates the C language API of SQLite in OC mode, which is more convenient to use and does not require much knowledge about database operations. However, it also has some
IOS development: multi-language localization solution for Applications
There are two common approaches for multilingual applications:
1. opportunities provided by the Program for the user to choose;
2. automatically switch our app to the
IOS development: How to synchronize queues and semaphores
To solve this problem, I have come up with two solutions: the first is to determine whether initialization has been performed before performing these operations, if Initialization is not
Hide the status bar (UIStatusBar) and ios7.0uistatusbar after iOS7.0
Symptom:
After the upgrade to iOS7, the appearance of UIStatusBar will lead to a mess of the existing UI.
Cause:
The code that originally hides UIStatusBar does not
IOS -- ios -- xml
Today, the Office receives a BUG returned by the customer, one of which is because the data in the string returned by the background is in xml/html format. -(Void) loadHTMLString :( NSString *) string baseURL :( nullable NSURL *)
UITableView, iosuitableview
Knowledge point:
1) UITableView
2) UITableViewCell
========================================================== ====================
1. UITableView
1. Introduction to UITableView
UITableView is a list view that
IOS development: strong, weak, etc.
Now let's look at the New Keyword strong, weak, unsafe_unretained in iOS5. it can be similar to learning strong and retain corresponding to previous keywords. weak and unsafe_unretained functions are similar (a
NSSortDescriptor objects are sorted by arrays and js objects are sorted by arrays.
// Create an array
NSArray * array = @ [@ "zhangsan", @ "lisi", @ "zhonger", @ "zhubada", @ "honghunag"];
// Create a sorting condition, that is, an NSSortDescriptor
Network Programming for iOS development-6. NSURLSessionConfiguration notes, nsurlsession
The NSURLSessionConfiguration object is used to initialize the NSURLSession object.Expand the alternative scheme related to NSMutableURLRequest at the
UIImagePickerController and UIAlertController are used in combination.
When processing profile pictures, there are usually two options: one is to call the System camera and the other is to call the system album. The UIImagePickerController method is
IOS development: Cocoa classes and objects
We can find the definition of class and object in/usr/include/objc. h and runtime. h:
Typedef struct objc_class * Class;
Typedef struct objc_object {
Class isa;
} * Id;
Class is a pointer of the objc_class
Network Programming for iOS development -- get the MIMEType and iosmimetype of the file
Sometimes we need to obtain the MIMEType information of the file. The following describes how to obtain MIMEType.
1. Search for the keyword "MIMEType" in Baidu
For iOS, you can customize the startup page and ios
In normal development, there may be some special requirements for the startup page, such as adding an animation on the startup page or adding some buttons to respond to events. In recent projects,
IOS achieves three-screen reuse of circular advertisements and ios multiplexing of advertisements
We are no longer familiar with circular advertisements during development. Today we will sort out this scrollview three-screen reuse advertisement.
The
IOS NSArray array filtering and iosnsarray array Filtering
Requirement: In an array, filter out the elements in this array and in another array.
That is, in an array dataArray, the elements in the dataArray array and in the filteredArray are
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