IOS --- NSFetchResultsController
NSFetchedResultsController and UITableView are integrated to process data with great flexibility. The first advantage is that data records do not need to be paged. Otherwise, according to the traditional practice,
MVC design mode and iOSMVC design mode in iOSWhen organizing code files for large projects, we often use MVC ideas. The concept of MVC is very simple, just like an object. However, understanding and application are very difficult. Today, we will
FMDB and iosfmdb
I. What is FMDB?
Most of the SQLite APIs originally generated in OS are in C language code, which is inconvenient to use. Therefore, many third-party frameworks for SQLite encapsulation have emerged, FMDB is one of
IOS --- Singleton Mode
Dispatch_once
The dispatch_once function is an API that only executes the specified processing once during application execution. The following Frequently-seen source code for initialization can be simplified through the
The ASIHttpRequest function is used to load network data and data.
To use the third library of ASIHttpRequest, You need to configure
II,
The data upload function uses ASIFromDataRequest (binary and string can be uploaded to the server)
The
IOS call system SMS function details
The SMS function of iOS call system can be divided into two types: 1. The system sends messages outside the program. 2. The program calls the system to send text messages. The second advantage is that users can
A question about the hybrid use of segment and tableview last night, segmenttableview
Last night, when I was working on the offline interface of Baidu map, I used a segmentcontrol to control two tableviews. However, I found that no matter how you
IOS development-Contacts touch eventsTouch event
When a user uses an app, various events are generated.
Events in iOS can be divided into three types:
Touch event: accelerator event: Remote Control event:Recipient
In iOS, not all objects can process
Use AutoLayOut to add constraints and highlights for UIScrollView.
1. Drag a UIScrollView into ViewController and add constraints to it.
The constraint is alignment with superview on the top, bottom, left, and right sides.
2. In scrollview, drag a
Weak OC syntax and oc syntax
The OC checks whether the object implements the corresponding method during the running process. Only warning is given for all compilation processes: the corresponding method may not be found;If a program encounters an
Singleton design mode in IOS
The Singleton design mode is a very important and common design mode in IOS development. It is designed to always return an instance regardless of the number of requests, that is, a class has only one instance. The
Custom Control Development set for iOS development series-custom status bar message prompt control development
In actual development, message prompts are common requirements. In order to personalize and have simple UI status bar prompts, it is a
IOS app starts1. main function 2. UIApplicationMain * Create UIApplication object * Create the delegate object of UIApplication 3. when the delegate object starts to process (Listen) system events (no storyboard is available) * after the program is
Custom Control Development set for iOS development series-custom UITableViewCell slide Menu Control Development
In many apps, UITableViewCell slides left and displays menus such as the system delete button. However, the system can only have one menu,
Learning socket programming in iOS from scratch-highly concurrent multi-thread Server
In the previous article "I learned socket programming from the beginning in iOS -- HTTP1.0 server", we have been exposed to the HTTP server built by OC.For the
Svn server for IOS development and svn for ios developmentSvn server for IOS development 1. SVN server address
Create an SVN server by yourself. mac 10.9 has svnadmin by default, so you only need to configure it.2. Configure svn 2.1. create a
GCD for iOS development and gcd for ios developmentUse GCD for iOS development (1) Use GCD to create an asynchronous task
# Pragma mark-use GCD to create an asynchronous task-(void) createAsyncTask {// create an asynchronous task // parameter 1:
IOS code writing style SpecificationPoint mark syntaxAttribute and power methods (multiple calls are the same as the results returned by one call) use the dot mark syntax for access. Otherwise, use the square brackets mark syntax.Good style: View.
(To) oc static extern and const, ocextern
Static global, which can be changed. If static is declared in a class, the change volume is also used when it is used elsewhere in the class. Similar to java, but cannot be accessed directly using the class
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