Create an iOS learning controller and an ios Controller
This blog is a summary blog, which summarizes various methods for creating controllers and some operations that require attention.1. Create a controller through storyboard
As I mentioned in my
Feature source code (sector progress) and Delegate are used in open events, sector delegate
1: Slice progress view and Application
First, create a slice view and input the progress value.
#import @interface LHProgressView : UIView@property
Ios group buying category page (9 gongge), ios category page
=-= Some naming errors, but the functions are implemented. Pay attention to the naming rules later.
WJViewGroup. h
# Import @ interface WJViewGroup: UIView {NSInteger _ width; NSInteger _
[Code Note] Two scroll bars can be slide up and down, and the scroll bar slides
I ,.
2. Engineering Drawing.
3. Code.
RootViewController. h
#import @interface RootViewController : UIViewController{ UIView *backView; UIScrollView
Objective, object
Use of KVC
1. KVC full name key valued coding key-value Encoding
The reflection mechanism is in the running state. For any class, all attributes and methods of this class can be known. For any object, any method and attribute
MVC (design mode) at the top of iOS
MVC(Model-View-Controller, Model-View-Controller) is a software architecture Model in software engineering. It divides the software system into three basic parts: Model) view and Controller ).
MVC is not a Design
Steps for pushing pigeon mail (ios)
We have studied the push mechanism of ios over the past two days. Here we will introduce the push mechanism of Xin Ge:The application configuration first enters the pigeon, creates an application, and then click
How to develop small functions for iOS (pop-up birthday keyboard is used as an example)
1 # import "ViewController. h "2 3 @ interface ViewController () 4 @ property (weak, nonatomic) IBOutlet UITextField * birthdayLabel; 5 @ property (strong,
Xcode7 and ios9 adaptation path
After upgrading xcode7.2 from xcode6.x, we found that we had to do a bunch of things for adaptation, otherwise the previous project could not run well.
I. Change the database
All databases with the dylib suffix must
(IOS-Network) Basic HTTP Implementation Method of AFNetWorking network framework, ios-afnetworking
Summarize the basic usage of AFNetworking.
① In AppDelegate. h, import the AFHTTPRequestOperationManager. h file and add an attribute
IOS Animation-CABasicAnimation and CAKeyFrameAnimation details & Differences & contacts, and cabasicanimation details
1. First, let's take a look at their inheritance diagram circulating on the Internet:
From the above we can see that both
Three delayed execution methods and three delayed execution methods
1-(void) viewDidLoad 2 {3 [super viewDidLoad]; 4 // Do any additional setup after loading the view, typically from a nib. 5} 6 7-(void) touchesBegan :( NSSet *) touches withEvent :(
Several Frequently Asked Questions about iOS ----- RunTime
Speaking of RunTime, this is another pain point. How much interest is there to learn about iOS development? Then, we will study OC for the sake of interest. After all, I bought an iPhone, a
Basic definitions and common settings that UIButton, UILabel, and UITextField beginners need to understand. uibuttonuilabel
The following are the most commonly used controls in IOS development. As a basic learning tutorial for IOS, beginners need to
[Code Note] adds a line to the middle of the phone number 400, and takes a note of 400
I. Code.
-(Void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view. NSLog (@ "-- iphone -- % @", [self getNewPhoneStr1: @ "185023
[IOS category usage] --- modify the leftBarButtonItem icon in the navigation bar
Category: Modify the Item icon in the navigation bar of a specific ViewController.
A problem occurs in the project:When a newly added VIewController1 wants to push to
IOS Memory Management MethodSort out some memory management methods to avoid Date Format Conversion
If you want to useNSDateFormatterTo process many date formats, you should be careful to wait. As mentioned earlier, it can be reused at any
IOS RunLoop Analysis 2. iosrunloop Analysis
In the previous article, we talked about several runloop modes. What do we need to do in the mode ???
There are three modules in the Mode:Event Source (Input Source) Source
Source:
By Official
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