Basic concepts:
Key-value observation is a notification mechanism that allows you to get the changes of specific attributes of other objects.
The binding technology of the controller layer relies heavily on the key value observation to obtain the
The memory of iOS devices is limited. If you use UITableView to display thousands of data records,
If you need thousands of UITableViewCell objects,
That will consume the memory of the iOS device. To solve this problem, you need to reuse the
I believe that the developer who has worked as an iOS programmer, the most familiar control must be UITableView, and the most commonly used control must be UITableView!
Today, I will share my general thoughts on implementing UITableView and my study
In-APP purchase
(Nonconsumable) If you buy it, you will have the title and function (Consumable). If you buy it, you will use it. If you use it, you will not have it.
Product defined
Products defined
# Define kIAPBomb @
When learning a new skill, such as a programming language, we often combine all the usable ones in order to be able to run. Later, we went back to these habits and re-estimated them to use the best practices in the community and write better and
: Data is stored in an archive format. The data object must comply with the NSCoding protocol, and the class corresponding to the object must provide the encodeWithCoder: And initWithCoder: methods. The previous method tells the system how to encode
Structuring Modern Objective-C Translator: Ley, Dai cangshu
# Import Statement Group
We have encountered this from time to time. How many times have you written a (maybe) long implementation file, with dozens or even 20 # The import statements
* There is a program entry: main Function
* The content in the pch file can be shared, included, or accessed by any other file in the project.
* If the defined content is only used in the OC environment, it must be defined between # ifdef _
1> non-retina abc.png
2> retina abc@2x.png
The program detects the Retina screen to automatically replace @ 2x
* The default.png image is automatically displayed on the full screen during the program startup process, and the default.png image
The default Alignment Method created by UITextField through code is to align to the left and up, But we generally want to align vertically in the center. In UITextField, there is no attribute that can control alignment. It uses attributes inherited
Generally, when we use http or socket to upload or download files, we often perform MD5 verification after completion (especially when resumable data transfer is performed ).
Multiple). The MD5 value is verified to prevent packet loss or data packet
NSURL * url = [NSURL URLWithString: @ "sms: // 10010"];
[[UIApplication sharedApplication] openURL: url];-Simple-text message content cannot be specified and cannot be automatically returned to the original application
If you want to customize
1> the whole application symbolizes that an application is a UIApplication object and uses the singleton design mode.
2> access this singleton object through [UIApplication sharedApplication]
App. applicationIconBadgeNumber = 10;
App.
Database
Managing disk space in MongoDB
When to use GridFS on MongoDB
. NET
The Past, Present, and Future of C #
Use Mono. Cecil to Reflect Assembly Metadata with Better Performance
Using. NET HttpClient to capture partial Responses
1. Development Platform path:
/Developer/Platforms
There are generally three directories in this path: mac, simulator, and iphone.
MacOSX.platform iPhoneSimulator.platformiPhoneOS.platform
Each directory contains a/Developer/usr/bin directory,
1. Classes are also objects
A Class is a Class object.
Class Type Definition
Typedef objc_class * Class;
A class name represents a Class Object. Each class has only one class object.
Class person1 = [Person * p = [Person = [p
1. The description method is the NSObject method, including class and object methods.
+ (NSString *-(NSString *
2. By default, when NSLog and % @ are used to output objects, the class name and memory address are returned.
3. Modify the default
This article discusses in detail the native plug-in of the PhoneGap (also known as Apache Cordova) Application in Xcode (targeting iOS devices. If you are new to PhoneGap or want to review the basic knowledge of PhoneGap, read the PhoneGap entry for
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