Common shortcuts for Xcode and xcode
New
Shift + cmd + n create a project
Cmd + n create a file
Code prompt
Esc
View
Option + cmd + press enter to open the assistant editor
Cmd + press enter to display the Main Window
Cmd + 0 navigation
Mac OS X common shortcuts (compared with Windows), macos
Order:
I am a little white on Mac OS. I collect and list some common basic functions. Please add them!
All shortcut keys are valid in Mac OS X Yosemite 10.10.
The main difference is to replace
[Arrangement] Setter: assign, copy, retain, weak, and strong of Property in Object-C, differences and connections between object-csetterDuring iOS programming, we often see some modifiers before some attributes, such as copy and retain.
These
Touch event-drag view, touch and drag viewCase: Drag imageView, view1, and view2 by touch events
Note: 1. imgeview does not respond to touch events by default. 2. view has three subviews. How to differentiate multiple views?
Connect two views with
Shows user location cannot be located using a map on ios8.
In xcode6, the positioning method of the apple map has been modified, and it used to be unavailable.
Error Description: Trying to start MapKit location updates without prompting for location
Listener network connection for iOS development, change, and disconnect
During iOS development, we need to monitor/monitor network conditions. Apple provides Reachability. h and Reachability. m.
Import Reachability. h
You can write the following in
Explanation of the functions of extern C and extern
The main function of extern "C" is to call other C code correctly. After extern "C" is added, it indicates that the code of the compiler is compiled in C language instead of C ++. C ++ supports
IOS development-Project Rename (graphic details)
In IOS development, sometimes it is difficult to change the project name. Change the project name directly, and XCODE won't help you change all the names. There are always many files, folders, or
Parsing iOS Crash files (1)In the process of developing a program, no matter how careful we are, we will always encounter a program crash. When you confidently present your App in front of a group of people for functional rehearsals, smooth
IOS development-cinema seat selection algorithm restricts the generation of isolated seats, ios cinema
As we all know, currently, you are not allowed to choose any seats for a cinema. We cannot choose or choose to choose from any other seats.
Truncates the rectangular area in the center of the screen based on the size, and truncates the screen rectangle based on the size.
Code:
-(Void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view. UIImageView *
KVC example and fineui online example
KVC-key value Coding allows us to assign values to attribute values in the form of key-value encoding.
Refer to the image on the official website of apple ..
1. KVC
Define a Person class
. H file
1:
Ios: how to display an image as a circular style/set the widget border size and color
For example, the QQ login avatar shows a circle, but in fact its image is not a circle, but drawn by the layer. When it comes to layer, each control has a layer
Use of iOS multi-point connection, reverse protocol, and securityWhat is multi-point connection?A multi-point connection simply means connecting devices to form a network. For details, refer:Multi-point connections can be established based on the
Categories of IOS deep copy, NSArray, and NSDictionary)
Find a place for the difference between deep copy and shallow copy ....... The bottom is the NSArray and NSDictionary deep copy classification method.
Code used for common debugging in the Code:
IOS network programming mode Summary
IOS can use three types of api interfaces for network programming. The socket, stream, and url modes are used according to the abstract hierarchy.
I. socket mode
The socket network programming interface provided
Enumeration used in OC development and enumeration in oc
Definition of a common enumeration:
typedef enum{LOGIN_SUCCESS,USER_NAME,USER_PASSWORD,OLD_LAT,OLD_LNG}FIELD_SAVED;
2. After iOS6 and Mac OS 10.8, Apple introduced two macros to redefine
IOS development-primary development 2, primary ios development
Nil
I have more than 2 years of web development experience and want to switch to ios development.
Four hours a day, the four days can be completed. I read two books in the appendix,
Ios swift learning diary 5-set type
The Swift language provides two Collection types, classic array and dictionary, to store the set data. Arrays are used to store data of the same type in sequence. Although the dictionary stores the same type of
One-year iOS development summary and one-year ios development Summary
A lot of gains
1. The whole process of conception, design, implementation, and promotion by a person has greatly improved his own abilities, especially the scope of ability.
In
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