First, a brief introduction
Capropertyanimation of the child class
Attribute resolution:
Fromvalue:keypath the corresponding property's initial value
Tovalue:keypath the end value of the corresponding property
As the animation progresses, the
Introduction of Nsoperation
1. Simple description
Nsoperation for ⽤: Multithreading can also be achieved with nsoperation and Nsoperationqueue
Nsoperation and Nsoperationqueue to implement multithreading specific steps:
(1) Encapsulate the
Generally there are two ways, are the third party frame, the wheel, you can use the first, the back to optimize.
One: reachability
1. First add the header file "Reachability.h" to the AppDelegate.h, and import the frame systemconfiguration.frame.
In the iOS development process sometimes need to use the gradient color, this article summed up three ways to achieve, the need for friends to take a look below.
One, cagradientlayer to achieve the gradient
Cagradientlayer is a special subclass of
Access to file directories
Simplest: (Because of the sandbox relationship, no folder concept)
Copy Code code as follows:
uiimage* image = [UIImage imagenamed:@ "11.png"];
This is already a packaged path relative to the app and
Basic knowledge of UidynamicFirst, a brief introduction
1. What is Uidynamic
Uidynamic is a new technology introduced from iOS 7, attached to the Uikit framework
Can be considered as a physical engine that simulates and emulates physical
Recently in the knowledge of the push, using the carrier pigeon is mainly because the backstage with a homing pigeon
Push with a third party push, that is, to build a broadcast receiver on the client, when the server sends messages to the carrier
Introduction to guide page features
Mode one:Determines whether a program starts for the first time, if it is the Guidepageviewcontroller as the root view controller for the window. Guidepageviewcontroller has three child controls: a Uiscrollview,
What is a Uiscrollview control?
(1) Mobile device screen ⼤ large ⼩ Small is extremely limited, so direct ⽰ show in the ⽤ user's immediate content is also very limited
(2) When the exhibition ⽰ show more content, than ⼀ a screen, ⽤ users can scroll
Let's start with some basic knowledge of arm assembly. (We take ARMV7 as an example, the latest iphone5s on the 64-bit is not discussed)
Basic Knowledge Section:
First you introduce registers:
R0-R3: For the transfer of function parameters and
1. Use UIWebView to load Web pagesrun Xcode 4.3 and create a new single View application named Webviewdemo.
2, loading WebViewAdd WebView member variable in VIEWCONTROLLER.H and add implementation in VIEWCONTROLLER.M
Copy Code code as
The Uipickerview control is often used when selecting certain data for the user, which shows a simple selection of data, displayed in the Uitextfield input box, uipickerview as Input view, and toolbar as the selected Data button. Similar to other
Lazy load
1. Lazy Load Basic
Lazy Loading--also known as deferred loading--is loaded when it is needed (inefficient, small memory footprint). The so-called lazy load, write is its get method.
Note: If it is lazy to load the words must be careful
UIViewThe shadow settings are mainly passed by the UIView layer related properties to set the
The color of the shadow
ImgView.layer.shadowColor = [Uicolor blackcolor]. Cgcolor;
Transparency of Shadows
In the daily development, we will use a lot of webview for efficiency, for example, when we do a detail page, we return to you may be an HTML string, we need to display the current string to WebView above, so we need to have a certain understanding
Uitbableview as a list of information, in addition to the display of features, and sometimes used to delete, sorting and other functions, the following to explain how to achieve sorting.
Sorting is when the table enters the edit state, a button
This text to share the iOS interview familiar with the common algorithm, let's take a look at it.
1. Sort the following set of data in descending order (bubble sort). "24,17,85,13,9,54,76,45,5,63"
int main (int argc, char *argv[]) {
int
First on the effect chart
Realize the idea
The main idea is to use a controller to play the video carrier, and then let the controller as a root view, after the video playback is done then what to do.
If you don't say more, let's put the code
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.