[Code Note] reads a piece of text and code note
I ,.
2. Engineering Drawing.
3. Code.
RootViewController. m
# Import "RootViewController. h "@ interface RootViewController () @ end @ implementation RootViewController-(id) initWithNibName :(
Baidu glutinous rice iOS client logon BUGEnvironment
Device: iphone5s
Network: WIFI
App version:
Step 1. enter the logon page 2. enter the mobile phone number 3. click [get verification code] and wait until the verification code is received. 4.
[Code Note] calls the system vibration and sound, and calls the code note to vibrate
Code:
RootViewController. m
# Import "RootViewController. h "# import @ interface RootViewController () @ end @ implementation RootViewController-(id)
1.2 create and load controller view, 1.2 view
Loading priority:
1. Use the system loadView method to create a controller View
2. If you specify to load a storyboard file as the controller view, the description in the
Implementation of menu scroll view for iOS and ios scroll View
Menu scroll view is also a common feature in the project development process.
The implementation result is as follows:
When the total length of the number of menus
New API for iOS 9.2, ios9.2apiCloudKit
NewCKFetchWebAuthTokenOperationClass
CKFetchWebAuthTokenOperation object fromAPITokenObtain a web Authentication token using the CKDatabase classAddOperation:Method to add this operation to the operation queue
1.0 UIApplication object, 1.0 uiapplication
Features of the UIApplication object:
Feature 1:
A UIApplication object represents an application and is a singleton object. (It is used to encapsulate an object of the entire
UIApplication and iosuiapplication for iOS development
The core function of UIApplication is to provide control and collaborative work during iOS program running.
The iPhone application is started by the main function. It is responsible for calling
OC Note 1: Objective-C introduction, oc note objective-c
1. OC Introduction
Objective-C is an object-oriented programming language that expands C and is mainly used for iOS and Mac OS development.
Based on the C language, a minimum
IOS 9 keyboard types
IOS supports many types of keyboards. using different types of keyboards in different use cases can greatly improve convenience. The following types are supported in iOS 9:
1. UIKeyboardTypeDefault, often used in text input
Mac system Miscellaneous (continuous update), mac Miscellaneous1. Adjust the LaunchPad icon to display the number of columns and number of rows
1. Adjust the number of icons displayed in each column. On my computer (1366*768), seven people in each
Quartz2D introduction, quartz2d
1. What is Quartz2D?
Quartz 2D is a two-dimensional Drawing Engine that supports both iOS and Mac systems.
Jobs that can be completed by Quartz 2D:
Drawing: lines, triangles, rectangles, circles, and Arcs
Draw text
Objective-c instance variable access level, objective-c instance
In C # and JAVA, both method and variable have strict access level control, so the access level is rarely used in object-c, the reason may be that there is no access-level syntax on
Introduction to the basic structure of C Language
1. The main function is a program entry. A program can only have one main () function, and an integer return value is required. (In fact, the return value int can be omitted, but this does not mean
Objective-C)
(1) Position Animation
PositionAnimation can be used to move a View. The simplest thing is moving the X axis and Y axis. Here we implement the movement of several small blocks.
#import "PositionViewController.h"@interface
Mac usage tips (Real-time update) and mac real-time update
I. Some shortcut keys.
There are a lot of such data on the Internet, but I think we should look at our personal habits and use environments. If you use a shortcut, It is a shortcut key. If
UITextField, uitextfield multiple rows
// 1. Set the background
// Tf. backgroundColor = [[UIColor blueColor] colorWithAlphaComponent: 0.7];
// 2. Set the style of the input box
/*
UITextBorderStyleNone, default style, no
Custom progress bar and android custom progress bar
With CAShapeLayer, you can create the desired progress bar shape based on the imported "UIBezierPath * path. Then, you can update the progress of the progress bar by setting the strokeEnd attribute
Set the image to the right of UITextField in iOS and complete UITextField SolutionEffect:
Encapsulated method:
A small encapsulated method is shared to facilitate code copy in the future. If you have better suggestions, you can tell me that object-
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.