Objective-C data set and objective-c set
1. NSSet
1. It is an unordered collection class that manages multiple objects. The biggest feature is that duplicate objects are not allowed in the collection, which is similar to the mathematical meaning of
Common iOS controls-UIScrollView and ios-uiscrollview
I. common attributes@ Property (nonatomic) CGPoint contentOffset; // record the scroll position of UIScrollView@ Property (nonatomic) CGSize contentSize; // content size (scroll range)@ Property (
IOS UITabBarController, iostabbarcontroller
UITabBarController and UINavigationController are almost standard for iOS apps.
The UITabBarController sub-bar (Label bar) controller, like the UINavigationController navigation Controller, is a controller
Third-party framework for Pod InstallationSome friends may drag the third-party framework into the project, introduce the required header file, and start operations. In fact, the project can also be made. However, third-party frameworks generally
IOS ----- use NSURLConnection and nsurlconnectionUse NSURLConnection
To read server data such as HTTP or submit data to the server, iOS also provides the NSURLConnection class. NSURLConnection uses NSURLRequest to send synchronous or asynchronous
Introduction to iOS Block and iosblock
A Block is an object that encapsulates a piece of code that can be executed at any time. A block can be used as a function parameter or return value, and it can contain an input parameter or return value. It is
Enable and disable the NSTimer timer in iOS, iosnstimer
I. Only call the timer method once:
// It is not repeated and is called only once. Timer stops running once
MyTimer = [NSTimer scheduledTimerWithTimeInterval: 1.5 target: self selector: @
IOS shake, iOS
-(Void) viewDidLoad {[super viewDidLoad]; [[UIApplication sharedApplication] setApplicationSupportsShakeToEdit: YES]; // sets whether redo and undo operations are supported when a shake occurs. The default value is yes, therefore,
IOS uses UIWebView to interact with JavaScript in the simplest way, iosuiwebview
This is for iOS! And the method is very simple !! The verification is feasible !!!
1. UIWebView calls JavaScript Functions:
NSString * strValue = [webView
ANSI escape code, ansiescapecode
Recently, I am working on the SSH Terminal Project on iOS. It is mainly to remotely connect to Unix systems on mobile phones and perform some simple commands, similar to SecureCRT; today I want to summarize the new
After the SVN version is updated and the upData project is completed, the Xcode project file cannot be opened. Solution: svnxcode
After svn updates the code, open the xcode project file and xxx. xcodeproj cannot be opened because will appear.The
Procedure for mounting iOS apps to AppStore in Xcode7.1 (Part 2) and xcode7.1appstorePreface
Part 2 describes how to create iOS App IDs, configure profiles, and install profiles.1. Create iOS App IDs. 1) Go to the page shown in 1. Click the plus
UINavigationController Summary: uisearchcontroller
1. UINavigationBar
1. Obtain the UINavigationBar object: [UINavigationBar appearance]. You can use this method to set all navigations.
2. Set the background image of the navigation bar:
Block learning experience and block learning experience
I mainly talk about its attributes and click events when adding cell events using block.
Block is a process of callback for passing values. It can reduce coupling. Block seems to have little to
Implementation of spray gun typing animation in iOS
The implementation principle is relatively simple. I will not introduce it too much here.
#import ViewController.h@interface ViewController ()@property (weak, nonatomic) IBOutlet UILabel
Reuse of IOS drop-down menus and ios drop-down menus
Since I used the drop-down menu before, I have spent some time looking back and finishing it, gradually improving the drop-down menu and providing some basic functions, in this way, you can reuse
IOS Internal Clock1. what is an internal clock? In our iOS development process, we often have to deal with time. [NSDate date] is a common method for getting time, however, the [NSDate date] method can only take the current time of the system. That
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