IOS development-common Xcode shortcuts
Among all the shortcuts in Xcode 6, the following should be learned first. After you learn how to use them, you may not need them anymore.
Xcode navigation shortcut
1. Project Navigator: Command + 1
Allows you
IOS obtains device informationGenerally, IOS obtains device information through the methods of UIDevice, UIScreen, NSBundle, and NSLocal. If you want to obtain the memory and processor information of the device, it seems that you can obtain
IOS development-log printing (common)
Q: How do I print the current function and row number?
A: Some pre-compiled macros can be used as printing parameters to print the current function and row number. For example:
NSLog(@"%s:%d obj=%@", __func__, __
[IOS development] sorting of arrays in LinqLinq To Objective-C
Original article address: www.bkjia.com
Bringing a Linq-style fluent query API to Objective-C.
This project contains a collectionNSArrayAndNSDictionaryMethods that allow you to execute
Ios (Quartz 2D drawing) Various plotting methods and camera usage
I:
For more information, see www.bkjia.com.
The following describes how to use Quartz 2D drawing to implement the graphic board function.
In the. m file, dog is implemented as shown
Simple underlying Basement for iOS-agile development and underlying basement for ios-IOS simple bottom layer
My own Basement is simple and customizable at the underlying level.
1. Nothing: Network request data storage-ASI secondary development af
Ios development-KVO analysis, ios-kvo Analysis
Target: Listen to what is added to the NSMutableArray object
The Code is as follows:C code
-(Void) viewDidLoad
{
[Super viewDidLoad];
Self. dataArray = [NSMutableArray arrayWithObject: @ "1"];
[Self
[IOS development Basics] [C Language] 01, ios development 01
I. Keywords
The C language provides 32 symbols with special meanings.
Generally, all keywords in Xcode are purple-brown, and all keywords are in lower case. Such as int and return.
Ii.
Cut the image into small pieces (IOS)Cut the image into small pieces (IOS)# Import
# Import
Int main (int argc, const char * argv []) {
@ Autoreleasepool {
If (argc Return 0;
}
NSString * inputFile = [NSString stringWithCString:
Gcd multithreading tips in iOS development
This article will be updated continuously:We often use:
Dispatch_async (dispatch_get_global_queue (0, 0), ^ {// code block for processing time-consuming operations // notify the main thread to refresh
IOS development-click UITextField to bring up the UIDatePicker Protocol Implementation Method
UITextField is a control used to accept user input. Its advantage is that it is flexible and users can enter it at will, but sometimes this is also its
IOS development-mutating method sent to immutable object Error
When I was working today, I encountered such a problem ..
It's so careless. Mark,
11:44:34. 762 softwareApp [1435: c07] *** Terminating app due to uncaught exception
Tips for calculating the height and width of UILabel single line and multi-line text in IOS development
I 've been studying IOS for a while, and it is especially painful to calculate the height of this text content. This is simply not comparable to
IOS-custom sawing background view with quartz2d
As required by the project, uihas designed a jagged background image. The effects of program development are as follows:
VcD4KPHA + fingerprint + pgltzybzcm9
Ios development-cocos2d-x adaptation iphone6
I haven't gotten a cocos2d-x for a long time. Today, I had a hard time playing the game again.
Simply put, the solution for iPhone 5 adaptation is stupid, but simple.
1. Add the following code to the
My thoughts on Objective-C series articles and persistence in blogging, objective-c Thoughts
I have been developing iOS for some time, and I have also launched my own App products. I am still posting a technical blog to summarize what I have learned.
Swift Tour Summary (1), swifttour
Let Constant
Var Variable
let implicitInteger = 70let implicitDouble = 70.0let explicitDouble: Double = 70
The so-called type implications
To include value in strings:
let fruitSummary = "I have \(apples +
_ Bridge _ bridge_retained _ bridge_transfer, bridgetransfer
_ Bridge only performs type conversion, but does not modify the object (memory) management right;_ Bridge_retained (you can also use CFBridgingRetain) to convert an Objective-C object to
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