(No. 00003) iOS games simple robot projection game forming note (12)
Return to Xcode and create the Level1 class, which inherits from CCNode.
Open Level1.m and add the following method to the initialization method:
-(void)didLoadFromCCB{ [self
IOS development: Add git repository for xcode projects, xcodegit
Now download the mac and xcode versions of Command Line Tools from apple official website, record address: https://developer.apple.com/downloads/
Find the mac terminal, search for
IOS ----- use AddressBook to manage contacts, iosaddressbookUse AddressBook to manage contacts
IPhone mobile phones are usually built-in Contacts applications, including the last name, first name, phone number, e-mail address, address, birthday and
OC, oc LanguageOverview
Introduction
Core animation provides a very powerful set of animation APIs, which can efficiently achieve most brilliant animation effects.
Notes
Core animation operations are executed in child threads
Ios development-Category, ioscategory
Category adds a method to an existing class without changing the existing class to extend the function of the class.
There are multiple ways to expand class functions. For example, we can extend the functions
Basic knowledge of IOS development-fragment 28, basic knowledge of ios-28
1: General weakify and strongify
/*** Strong/weak reference conversion, used to solve the circular reference problem between the block and the strong reference self. * Call
OC, oc LanguageSix modules of AFN
NSURLConnection further encapsulates NSURLConnection, including the following core classes:
AFURLConnectionOperation
AFHTTPRequestOperationManager
AFHTTPRequestOperation
NSURLSession, the main
Summary of storyboard, storyboard
1. Use the code to jump to the page during storyboard layout:
A> get the current storyboard: [self storyboard]
B> Add the storyboard ID for the viewController to jump.
C> obtain the UIViewController to be
By default, the text color of the iOS7 status bar is black, and the item needs to be changed to white ., Ios7 text color
1. In Info. plist, set UIViewControllerBasedStatusBarAppearance to NO2. If you want to change the status bar color
In
UIalertController date control, uialertcontroller
The idea is that the height of the UIalertController is determined by the content, and the view can be modified.
First, you do not need to change the class initialization (because you only need to
Swift: Regarding closures and functions, swift Functions
When you call a function with the closure parameter:
Function implementation: When the closure is a parameter, there is a type of return value for the parameter;
When the closure is called,
OC Details, details of Public gun battles
Overview
Copy: copy an object with the same content as the source object
To copy data, you must comply with the following two Protocols:
NSCopying
NSMutableCopying
Types of objects returned
OC, oc Language
# NSURLRequest
NSURLRequest encapsulates the data required for a network request, and mainly encapsulates the following information:
Request Path (URL)
Request Method (GET or POST)
Request Header
Request body
IOS string processor _ Replace (remove space line breaks), intercept, and ios line breaks
The following code mainly implements: 1. Extract the string before "@"; 2. Remove "#" from the string; 3. Remove spaces and line breaks from the string.
Hope
OC, oc Language
# Data Interaction format
The data that the server returns to the user is usually in the following two ways:
JSON
XML
JSON
A lightweight data format that is smaller than XML and is usually used by the server to
IOS-CALayer & CAAnimation, ioscalayer plotting
1. CALayer
1. CALayer
CALayer belongs to the QuartzCore. framework. We do not need to manually import this library from Xcode5.
CALayer is a layer. When the UIView we draw can be displayed on the screen,
IOS multi-thread NSThreadA running application is a process. By default, a main thread is enabled for a process, but operations in the main thread are serialized, that is, when multiple tasks need to be completed at the same time, they are executed
OC, oc Language
I. process-oriented
1> Thoughts
Process-oriented is a process-centered basic programming concept and does not support the object-oriented features.
Process-oriented is a modular programming method.
2> Development Method
The correct implementation method of iOS9 using the prompt box
During the upgrade from iOS8 to iOS9, the pop-up prompt box has changed a lot. In the Xcode7 and iOS9.0 sdks, it has been explicitly prompted that UIAlertView is no longer recommended,
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