Attribute (@ property), @ synthesize, propertysynthesize
The previous instance variables we learned are as follows:
1 {2 int _age;3 int _height;4 int age;5 }
Learn attributes later
1 @property int age;
@ Property will automatically
IOS -- ios -- xml
Today, the Office receives a BUG returned by the customer, one of which is because the data in the string returned by the background is in xml/html format. -(Void) loadHTMLString :( NSString *) string baseURL :( nullable NSURL *)
IOS Swift judges that the code runs on the simulator
Some functions of the iOS simulator are not available, such as taking photos. Therefore, you need to add a simulator to the Code for judgment. After checking many articles, you can finally find
Network Programming for iOS development-6. NSURLSessionConfiguration notes, nsurlsession
The NSURLSessionConfiguration object is used to initialize the NSURLSession object.Expand the alternative scheme related to NSMutableURLRequest at the
IOS development: Cocoa classes and objects
We can find the definition of class and object in/usr/include/objc. h and runtime. h:
Typedef struct objc_class * Class;
Typedef struct objc_object {
Class isa;
} * Id;
Class is a pointer of the objc_class
-All_load option when compiling iOS program, and-all_load issues caused by ld duplicate symbol xx, ios-all_load
When debugging the Baidu map application in the new SDK environment, the app always unexpectedly exits. The reason why the error was
IOS adds the jitter effect to the view and ios view adds the jitter
The jitter effect is rarely used in development, but sometimes it has a good installation effect, such as some user error operations.
The effect is as follows, but the effect of gif
For iOS, you can customize the startup page and ios
In normal development, there may be some special requirements for the startup page, such as adding an animation on the startup page or adding some buttons to respond to events. In recent projects,
IOS-NSMutableAttributedString Rich Text implementation, ios Rich Text implementation
NSMutableAttributedString inherits from NSAttributedString (a string with attributes), which can achieve the effect of Rich Text easily and quickly. Not to mention,
IOS animation ring progress bar and ios ring progress bar
This article describes how to implement a ring progress bar with animation effects. To achieve this, you can only draw
Method to directly view the code
To facilitate multiple calls, use the
IOS NSArray array filtering and iosnsarray array Filtering
Requirement: In an array, filter out the elements in this array and in another array.
That is, in an array dataArray, the elements in the dataArray array and in the filteredArray are
Cocoapods tutorials for beginners and cocoapods tutorials for beginners
Introduction to CocoaPods
Many third-party open-source libraries, such as AFNetWorking, are frequently used when you develop iOS applications. It is very troublesome to
Simple comparison between KVC and KVO, KVCKVO is simple
1. Key Value Coding ):
1. In fact, it is often used in actual development: After receiving json data, parse it into NSDictionary, and then create a Model for the field corresponding to the
In the case of UITableViewStylePlain, The sectionHeader can slide with tableview. uitableviewplain
-(Void) scrollViewDidScroll :( UIScrollView *) scrollView {CGFloat sectionHeaderHeight = 20; if (scrollView. contentOffset. y 0) {scrollView.
Xcode7 is a simple method to use plug-ins & how to download Xcode to earlier versions, xcode7 uses plug-ins
Xcode7 has been available for some time since July 9, 2015, when using Xcode7 and Xcode7.1 \ Xcode7.2, you will find that a series of
(No. 00005) iOS game for the blow-up man (11): the fire genie of monsters
The original or translated works of the giant panda and pig hope. You are welcome to reprint them. Please indicate the source for reprinting.If you think it is not easy to
(No. 00005) iOS game for the explosive bullet player (10): Game protagonist (3)
The original or translated works of the giant panda and pig hope. You are welcome to reprint them. Please indicate the source for reprinting.If you think it is not
Loading HTML and ioswebview in iOS
In daily development, we will use a lot of webviews for efficiency. For example, what we return to you when creating a detailed page may be an html string, we need to display the current string to webView, so we
[Share] A beautiful pop-up box for the iOS function interface is displayed.
STPopup provides the pop-up style of STPopupController UINavigationController for iPhone and iPad.
Features:
Extend your view controller from UIViewController, build it
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