QR code, QR code generatorUse the built-in generate/scan QR code
IOS 7 started to integrate the scanning of QR code generated by Apple ### steps to generate a QR code
Import CoreImage framework#import
Use the filter CIFilte to generate a QR
Do you really know about UIControl ?, UIControl
I. First, let's take a look at the definition of UIControl.
NS_CLASS_AVAILABLE_IOS (2_0) @ interface UIControl: UIView // The control is enabled by default. YES. Whether to disable the control @
Common files in iOS projects, ios Projects
IOS notes-common files in projects
After creating a new project, there are so many files. The following describes the main items.
1. File Name
(1) AppDelegate
The proxy of the UIApplication that processes
The group assignment problem occurs when values are passed in the interface. The interface transfers array assignments.
Today, it takes a lot of time to call a bug. Take notes here.
Two simple controllers in the project perform attribute value
Set the navigation bar topic in IOS development and the navigation bar topic in ios development
/*** The system calls this class for the first time (only one class is called once) */+ (void) initialize {// set the navigation bar topic
IOS angle and radian conversion, iOS radian Conversion
In iOS, the image rotation unit isRadiansInsteadAngle, So the conversion is often performed between the two
# Define RADIANS_TO_DEGREES (radians) * (180.0/M_PI ))
# Define DEGREES_TO_RADIANS (
[Code Note] Loading, code note
I ,.
Ii. Code.
-(Void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view. [self showFooter: YES];}-(void) showFooter :( BOOL) showFooter {NSLog (@ "pull up Refresh: load more views");
Ii. Common Singleton (continuous update) in iOS development and ios development
1. UIApplication (application instance)
Obtaining method: [UIApplication sharedApplication]
Detailed: http://www.cnblogs.com/hissia/p/5678518.html
2.
10. Set the cell height (when the label height is variable, the cell height is variable) and celllabel
First: (available after iOS8)
In Xib or stroyboard (the code can also be used)
Use AutoLayout to set the label constraint (for example, you can
Sorting of objects in the array (sort) and sorting of array objects (sort)
1. There are many methods for sorting arrays, such as for and while loop to perform Bubble sorting or multiple sorting methods such as quick view and sorting.
Here I want to
IOS BUG: Unbalanced cballs to begin/end appearance transitions for ., unbalanced
The following error is reported when the custom TabBarController pushes a lower-level Controller: Unbalanced callto begin/end appearance transitions for .
Some
How to restore html tags after the app passes the http acl for iOS, and escape html tags for ios
Recently, I used swift to build a small project in a company. I encountered a problem: the tags in html text obtained through APIs have been escaped,
&
[IOS] simulates the YFSplashScreen and iosyfsplashscreen dynamic startup pages of the new hot drawer list.
For IOS, you 'd better set the default system startup page. Otherwise, the black screen will pop up when you enter the application.
Is the
NSAttributedString (Rich Text) and nsattributedstring for iOS Learning
NSAttributedString is a string with attributes. It can easily show different fonts, font sizes, and font sizes in a string, you can also format paragraphs. Generally, you can
CocoaPods third-party database addition error, cocoapods third-party
1. terminal error: The dependencyMBProgressHUD (~> 0.9.2)Is not used in any concrete target.2. Cause: Upgrade CocoaPods to the latest version (including some later versions). The
Differences between KVC and KVO in iOS and iOSKVCKVO
The two concepts KVC and KVO are often seen in iOS development, which may be confused.KVC (Key Value Coding) 1> Overview
KVC: Key Value Coding, which is used to indirectly access instance
Screen Adaptation size class1. Three Dimension types (size class)
If the screen length and width are divided into three types by length (size class on the official website): compact, any (any), regular (regular ), there are nine types of
Swift 2.0
In a twinkling of an eye, Swift is more than one year old. This new language, featuring fashionable syntax, type security, and faster execution speed, has gradually penetrated into the hearts of developers. I also love this new
IOS learning-9, ios-9
A video from Jay Chou.
Block is used to save a piece of code.
Block flag: ^
Blocks are similar to functions.:
1 ).Code can be saved2 ).Return Value3 ).Parameter
Temp1: Block without return values or parameters
If the block does
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