Program Startup principle and UIApplicationFirst, UIApplication1. Brief introduction(1) The UIApplication object is a symbol of the application, and a UIApplication object represents an application.
(2) Each application has its own UIApplication
Gesture recognition is important in iOS, and gesture manipulation is an important feature of mobile devices, greatly increasing the ease of use of mobile devices.
1, Uigesturerecognizer Introduction
Gesture recognition is important in iOS, and
Objective
Rich Text Editor is different from the text editor, the domestic do relatively good such as Baidu's Ueditor and Kindeditor. But these two also have its disadvantage: the interface is too complex, not concise, UI design is also relatively
I. Animation of the Transitions
A subclass of Caanimation that is used to animate transitions, providing layers with animations to move out of the screen and move into the screen. iOS has less effect than Mac OS x transitions
First, Keychain Foundation
According to Apple, keychain in iOS devices is a secure storage container that can be used to store sensitive information such as user name, password, network password, and authentication token for different applications.
App design often uses some fuzzy effects or a glass effect, and iOS has now provided some fuzzy APIs that we can use for convenience.
In the words of Apple after iOS7.0, many system interfaces have used the effect of the hair glass, increased the
Objective
As we all know, the UIButton button is the most commonly used control in iOS development, and as a basic learning tutorial for iOS, beginners need to understand their basic definitions and common settings to be proficient in development.
About geographical position and location system, in the development of iOS is also more common, such as the United States outside the restaurant shop search, it first needs the user's current mobile phone location, and then in this location near the
Grand-Dispatch (GCD) is one of the techniques for performing tasks asynchronously
The dispatch queue is divided into the following three types:
1 runs the main thread of the main queue and gets it through the dispatch_get_main_queue.
/*!
*
First of all we ignore the 3D effect, the first thing to do is a right pull drawer effect.
General ideas:
1. Create a Containerviewcontroller container controller, then the left side of the selection menu Sidemenuviewcontroller, and the right
One, the program outward use system text message
This method is actually very simple, direct call OpenURL can:
Nsurl *url = [Nsurl urlwithstring:@ "sms://15888888888"];
[[UIApplication Sharedapplication]openurl:url];
Second, the
When writing a program, we often run into scenarios where we plug a bunch of algorithms into the same piece of code and then use IF-ELSE or switch-case conditional statements to determine which algorithm to use. These algorithms may be a bunch of
If you don't say more, then there are several ways to achieve it:
1, click outside the edit area (UIView)
This is a very intuitive way, when no longer need to use the virtual keyboard, just click on the virtual keyboard and edit the area outside,
1. In general, when importing Objective C's header file, use #import to include the C + + header file with #include.
2. #import determine that a file can only be imported once, which allows you to avoid problems with recursive inclusion.
In iOS7, Apple's original eco-apps are almost always able to go back to the previous page by sliding to the right, which prevents users from using their thumb to click on the remote Return key (the return of the iphone5 is an anti-human design) in a
Urlmanager is a navigation control based on Uinavigationcontroller and Uiviewcontroller, based on URL scheme, designed to achieve viewcontroller loose coupling without reliance.
Prepare the framework, define the base class
First, follow the
CI Server
Written here, for iOS developers, need to be ready:
A relatively easy to get source code warehouse (including source codes)
A set of automated build scripts
A series of executable tests around builds
Next, a CI server is needed to
As one of the major updates to the IOS5, the Notification Center can place all the alerts in a user's iOS device in one location, greatly facilitating user viewing and management. If a user receives a new e-mail message, a text message, or a request
Briefly
In the application of some settings often need to use some picker to quickly help users select the value, the general use of Uidatepicker,uipickerview and Uiimagepickercontroller.
Initial interface
As shown in the diagram, 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.