[Study Notes] [C Language] notes and Study Notes notes1. What is annotation?
1) annotation is a very important concept in all computer languages. Literally, it refers to the meaning of annotation and interpretation.
2) annotations can be used to
IOS development: Checks several common design patterns, and ios Design Patterns
(1) proxy Mode
Application Scenario: when some functions of a class need to be implemented by another class, but you are not sure which class will be
Copy one of Sina Weibo iOS clients-preface: Copy ios
Sina Weibo is one of the apps that are frequently used on various Internet platforms. It has a large number of users. At the same time, its app design also reflects the mainstream development
Tomato clock App (Pomodoro Tracker), apppomodoro
Recently, a tomato clock App (Pomodoro Tracker) was written to learn the Swift programming language ). The new version 1.2 adds support for Apple Watch.
IPhone
Apple Watch
If you have
Use UIPresentationController in ios8.
1. Introduction to UIPresentationController
UIPresentationController is an API added to ios8. it is used to control Jump effects between controllers. For example, if you want to implement a special effect and
IOS Date Processing-resolution date
To obtain accurate time from a string, you must specifyCorrect Format StringAnd the correspondingTime zone ID
1. Date Format
1. Year
yDisplay the year (0-9) as a number without leading zero
IOS generates a local verification code
Verification codes are often used in Application Registration, login, or payment confirmation interfaces. Some of the verification codes are sent via mobile phones, and some are clicked locally to obtain them,
Specify the rounded corner of iOS development
If you want to set all the four corners of the UIView to rounded corners, the procedure is quite simple. You only need to set the cornerRadius attribute of the Layer (the QuartzCore framework is required
The reuse mechanism of ios UItableView and UITableViewHeaderFooterView grouping headers, which is a simple and affically transformed CGAffineTransform
How to Set a section of the same height, including the first column (TIPS, though easy but easy to
IOS simple text and text mixing 01
1. display the image in the Label
// Void setLabel {// NSTextAttachment-attachMent NSTextAttachment * attachMent = [[NSTextAttachment alloc] init]; // set the attachMent for the attachMent. image = [UIImage
Delivering touch events to a view outside the bounds of its parent view (from the official documentation ),Q: My view is displayed correctly on the screen, but does not receive any touch events. Why is that?
A: The most common cause of this problem
UITbaleView and uitbaleview
Set the Id attribute to mark the cell
@property (nonatomic,assign)NSInteger Id;
Set a button with different normal status and selected status.
_ Choose = [[UIButton alloc] init]; [_ choose setImage: [UIImage imageNamed: @
IOS_Spring basePath parameter, ios_springbasepath
Download iOS_Spring_Source
Tutorial video tutorial
BasePath is actually the directory where you want to place the Model and Service (the default three folders are "Model", "service", and
IOS-how to create an index to implement a local text search engine that allows for error-tolerant searches ?, Ios-Index1. Preface implements a local search engine that allows for error-tolerant searches, that is, the search results do not need to be
IOS skills, features, and specifications
I. compiler features
1. ARC.
ARC is a compiler feature. If ARC is used in the project, the compiler automatically adds the OC object counter release code during project compilation. If ARC is used, the
IOS development-UIPageControl for paging image carouselPaging-related attributes
As long as the pageEnabled attribute of UIScrollView is set to YES, UIScrollView is divided into multiple independent pages, and the content in it can be displayed by
IOS constants, variables, attributes and features, ios constant variables
1. Declare constants in Objective-C using the keyword const. For example, const double PI = 3.1514;
2. Variables in Objective-C can be divided into member variables, local
IOS-device type and System Version
1. iPhone System Version
1. UIDevice
@ Interface UIDevice: NSObject + (UIDevice *) currentDevice; @ property (nonatomic, readonly, retain) NSString * name; // device name @ property (nonatomic, readonly,
Create a table Class View on iOS wbdview
Create a table in the project and reference the header file
# Import "WBDataGridView. h"
-(Void) viewDidLoad {
[Super viewDidLoad];
// Do any additional setup after loading the view.
Self. view.
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.