The use of UIScorllView and UIPageControl implements the image carousel,
First, we need to create a project and select Single View Application in the first Application in iOS.
Preparations have been completed. Now we are going to the Main.
IOS multithreading technology and ios Multithreading
IOS multithreading technology mainly allocates NSThread, NSOperation, and GCD. Below is a brief introduction.
Just a little more, not in order. So let's first introduce NSOperation.
Export
Ios ui advanced 03, iosui advancedNavigation Controller
1. The navigation controller always displays the view of the stack top controller.
2. The navigation controller must be used to redirect between interfaces.
3. Calling the pop method does not
MBProgressHUD elegantly prompts, mbprogresshud prompts
Project homepage: MBProgressHUD
Download instance: Click to download
Quick Start:
When executing a task that requires a long time, the most important thing to use MBProgressHUD is to ensure that
Full solution of iOS UITextField, iOSUITextField
// Initialize textfield and set the position and size
UITextField * text = [[UITextField alloc] initWithFrame: CGRectMake (20, 20,130, 30)];
// Set the border style. The border style is displayed
Basic use of iOS Databases
Summary of the basic usage of the database today:
The database used by iOS is generally sqlite3. before using the database, you must first import the database framework. Otherwise, an error occurs. Next, introduce the
[Reading Notes] iOS-reading text files and Reading Notes ios-
1. Content of a text file.
2. project directory
3. ViewController. m
-(Void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view, typically from a
[Reading Notes] iOS-Objective-C's basic knowledge of C extension, iosobjectivec
1. Xcode's. m extension indicates that the file contains Objective-C code, which should be processed by the Objective-C compiler. The C compiler processes the file
The realization of the animation effect while waiting, waiting for the realization of the animation effect
When we load the page when requesting the network, there is an action, the effect is as follows:
Source code can be found on the Internet
IOSQuartz2D-04-manually crop images and save them to albumsEffect
Procedure
Draw a rectangle, and an alertView is displayed, prompting whether to save the image and clicking "yes". Save the image to the album and view the saved image in the
The @ selector function in iOS transmits multiple parameters.
1. In general, use the self generator mselector: SEL withObject: id method.
[self performSelectorOnMainThread:@selector(testAA:) withObject:[NSArray arrayWithObjects:@1,@2, nil]
IOS UI04_Target-Action
/// MyButton. h // UI04_Target-Action /// Created by dllo on 15/8/3. // Copyright (c) 2015 zhozhicheng. All rights reserved. // # import
@ Interface MyButton: UIView // click the button through MyButton // 1. upload the
IOS development note _ multi-thread dependency in AFN
We usually encounter two network requests at the same time during development, and then download the resources and merge them. What should we do in AFN? Of course, some personal packaging
Delete IOS UITableView and iosuitableview
UITbableView is used as the list display information. In addition to the display function, it is sometimes used for deletion, such as a shopping cart. You can directly use the system-provided delete function
Teach you how to use Size Class and sizeclass
In iOS8, we no longer need to create multiple xib files on a page to adapt to different types of screens, now we can put the adaptation of various screen sizes in one file, and then we can customize
IOS development completes C language every minute-struct and enumeration
I. structIn the previous array sharing, we saved data of the same type through an array. We can use an array to represent this whole, but the array has the following features:
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