Apache server configuration under MacI. Apache server
1. The most widely used Web Server
2. The Mac comes with only a few modifications. It is simple and quick.
3. Some special server functions can be well supported by Apache
Objective: To have an
Optimization of cell in UITableView, uitableviewcell
1. cell Reuse
The so-called cell reuse means that when a view is loaded, only the cell in the current view will be created, or the cell will be a little more than the current view. When the view
IOS Version and Build Version, iosversion
Version and Build Version
Developers know that for iOS and Android apps, each app has two different versions. They are:
Version
Build (Version Code on Android)
Version, which is commonly referred
Set view controller to iPhone or iPad mode,
When writing iOS programs, adjusting the display size and control size of the view controller is a laborious task. Especially for kids shoes with mac, it is more difficult to control, in this case, you
Objective-C factory method, objective-c FactoryThe method used to create an object is factory method 1. The no-parameter factory method creates an object and gives the property a default value.
// Implementation of the factory method without
Substitute for UIActionSheet and UIAlertView introduced by iOS 8-UIAlertController
The Style and Code are as follows:
Try it with the Alert style:
You only need to replace the above UIAlertControllerStyleActionSheet with
New Feature of iOS: iOS 6.x-Main Content: Automatic Layout, set view, and UI status persistence
IOS6.1
MapKit Searches
IOS6.0
Map Maps
Social Framework
Pass Development Kit PassKit
Game Center GameCenter
Reminder Reminders
In-APP
Add mp4 video and iosuiviewmp4 video to iOS UIView
Add the following code to the ViewController. h file:
# Import
@ Property (nonatomic, retain) MPMoviePlayerController * movieController; // Add attributes of movieController
Add the following
Basic usage of UIWebView and UIWebView
I. basic use of UIWebView
1. Create a UIWebView:
CGRect bouds = [[UIScreen manScreen] applicationFrame];UIWebView * webView = [[UIWebView alloc] initWithFrame: bounds];
2. Set attributes:
WebView.
Objective-C learning 01-class declaration and implementation, objective-c01
Objective-C is a programming language invented by Brad Cox in early 1980. It is the same as C ++ in its generation, all of them are extended by adding object-oriented
(NO.00003) iOS games simple robot projection game forming notes (14th)
First, we must store all the robots in the Level in an array, because the array will be accessed in different places. We put it in the LevelRestrict class, and we should put it
IOS error diagnosis-linker command failed with exit code 1After Xcode was recently upgraded, it was found that all previous projects could not be compiled, and different errors were reported, some of which were-fembed-bitcode is not supported on
OC, oc LanguageOC language-07-OC language-Foundation framework structure
Nsange/CGRange
Used to indicate the range of an element in another element. nsange is equivalent to CGRange.
There are two attributes:
NSUInteger location:
IOS youmeng implements Sina Weibo and third-party login, ios Sina
1. Third-party Login
1. Configure with reference to umeng social sharing document
2. Add the corresponding code at the login button to get UMSocialAccountEntity * snsAccount includes
@
WriteToFile: file read/write, writetofile read/write
About writeToFile read/write files: when the key-value pair in the Dictionary uses Model (for example, studentModel) as the value, it is found that the writeToFile method called by Dictionary
[Reading Notes] iOS network-HTTP-URL percent code, ios-http-url
Code:
-(Void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. // URL percent code // URL encoding will encode &, question
SQLLite in iOS
The iPhone supports accessing the iPhone's local database through sqlite3.
The usage is as follows:
1: add the Development Kit libsqlite3.0.dylib
First, set the project file, add the sqlite3 database development kit for iPhone in the
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