[Original] FMDB source code reading (3), fmdb source code reading[Original] FMDB source code reading (3)
Please specify the source for this reprinted article --Polobymulberry-blog1. Preface
The best thing about FMDB is thatMulti-thread processing.
IOS development: teaches you how to implement objc_msgSend
The objc_msgSend function supports everything we implement using Objective-C. Gwynne Raskind, reader of Friday Q & A, I suggest you talk about the internal implementation of objc_msgSend. Is
IOS development: log framework CocoaLumberjack
CocoaLumberjack is a fast, simple, powerful, and flexible log framework on Mac and iOS. CocoaLumberjack is similar to a popular log framework (such as log4j), but it is designed for Objective-C and
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: the correct implementation method of the prompt box
During the upgrade from iOS8 to iOS9, the pop-up prompt box has changed a lot. In the Xcode7 and iOS9.0 sdks, it has been explicitly prompted that UIAlertView is no longer
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
Attribute (@ property), @ synthesize, propertysynthesize
The previous instance variables we learned are as follows:
1 {2 int _age;3 int _height;4 int age;5 }
Learn attributes later
1 @property int age;
@ Property will automatically
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 *)
Orders purchased in iOS correspond to replenishment orders, and ios orders correspond
Key types of internal purchases:
1. SKPayment (SKMutablePayment can correspond one-to-one parameters to the payment generated by Apple)
2. TransactionObserver:
Communication between threads and threads
We usually use multiple threads in iOS development, such as NSThread, GCD, and NSOperation. We usually load or download data in the Self-thread, therefore, it is inevitable to send the obtained data to the
IOS Design Pattern singleton: iOS Design Pattern
The Singleton Mode means that this class has only one instance, and this class is a singleton class. In iOS, many of them are Singleton NSNull, NSFileManager, UIApplication, NSUserDefaults,
[Code note] the implementation of the page turning effect, and the code note page turning
I ,.
2. Engineering Drawing.
3. Code.
RootViewController. h
#import @interface RootViewController : UIViewController@end
RootViewController. m
#
JSPatch deploys JS Code to control OC code and jspatch deploys jsocPreface:
This is a more practical article. I have deployed network security.Preparation:
Bmob account, JSPatch, public key, private key, MD5 encryption, AFNetWorking download file
#
For iOS, hide the tabBar method. for iOS, hide the tabBar method.
You can use either of the following methods to hide a tabBar:
1. Hide on this page
# Pragma mark-hide tabBar
-(Void) viewWillAppear :( BOOL) animated {
Self. tabBarController.
IOS GCD and iOSGCDGCD Grand Central Dispatch written in pure C Language
1. GCD is Apple's solution for multi-core parallel operations
GCD will automatically use more CPU cores (such as dual-core and quad-core)
GCD automatically manages the thread
IOS Swift judges that the code runs on the simulator
Some functions of the iOS simulator are not available, such as taking photos. Therefore, you need to add a simulator to the Code for judgment. After checking many articles, you can finally find
UITableView, iosuitableview
Knowledge point:
1) UITableView
2) UITableViewCell
========================================================== ====================
1. UITableView
1. Introduction to UITableView
UITableView is a list view that
IOS development: built-in URL schemes
In IOS applications, you can often see some applications jump directly to the App Store page through a click action. It is strange how such a third-party applies to interaction between IOS system applications.
Network Programming for iOS development-5. NSURLSessionUploadTask + NSURLSessionDataDelegate proxy upload, nsurlsessiondelegate
The main content of NSURLSession is coming to an end. Here we will talk about file upload. Of course,
Objective, object
1. the category is the internal class of the system or the method for adding classes without source code. No instance variables are added.
2. The added method will become part of the original class, And the subclass can still be
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.