IOS: common attributes of UINavigationController
// Push from the current view to the target view. If the view already exists, the stack [self. navigationController pushViewController: commentListVC animated: YES]; // returns the previous controller
IOS study notes I understand the OC-proxy mode, 2015-03-27oc-
Case 1
KCButton. h //// KCButton. h // Protocol & Block & Category /// Created by Kenshin Cui on 14-2-2. // Copyright (c) 2014 Kenshin Cui. all rights reserved. // # import @ class
IOS --- simple use of NSCacheNSCache
NSCache is a cache class officially provided by Apple. Its usage is similar to that of NSMutableDictionary. It is used in AFNetworking and SDWebImage to manage cache.
NSCache Automatically releases some objects
Implementation of iOS message push mechanism
The working mechanism of iOS message push can be summarized as follows:
Provider refers to the Push server of an iPhone software. APNS is the abbreviation of Apple Push Notification Service and is the
UItabBar highlighted during IOS CustomizationPreface:
The company's project needs to customize a highlighted TabBar in the middle and find a reference code on github (although it was four years ago, it is still very useful for reference ). URL:
IOS development-Stage 4-debugging, uploading applications, pushing, and ios real machines
Differences between Apple's three accounts:
1. Individual developer accounts are directly mounted to Appstroe (Apple will charge an annual fee );
2. The
[IOS] a line of code adds an index to a Chinese Array
/*** Return the original data and the empty array that stores the index to return the sorted array * used classification encapsulation, directly introduce the header file to use the method **
IOS learning notes OC-API-common structures, 2015-03-24oc-api-
A title common struct 2 API 1 nsange indicates A range A instantiation of nsange rg = {3, 5 }; // The first parameter is the starting position. The second parameter is the length. B is
IOS Study Notes 2015-03-20 OC-value type, 2015-03-20oc-
1. defined in Objective-C, we can use the numeric data types in c, such as int, float, and long. They are all basic data types, not objects. That is to say, messages cannot be sent to them.
Ios multi-thread operations-GCD latency operations and one-time codeYou can use the GCD function to perform latency operations. This function is
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC)),
IOS. OC.01 NSFileManager-file management, nsfilemanager
// Create a file
// Convert the string file into NSData before it can be written to the file
NSFileManager * manager = [NSFileManager defaultManager]; // create an object
NSString * homePath =
Dark Horse programmer-C language-basic syntax, dark horse programmer syntax
First, I learned the basic syntax of C language, mainly including keywords, identifiers, comments, data, constants, and variables.
I. Keywords
1 keyword refers to the
AFNetworking compilation error: Property with 'retain (or strong) 'attribute must be of object type, afnetworkingretain
AFNetworking 2.0 when Deployment Target is lower than 6.0, AFURLConnectionOperation. h, AFURLSessionManager. h
@property
IOS handwritten UICollectionViewThe first problem:
An error occurred while writing the UICollectionView. The problem is:
UICollectionView must be initialized with a non-nil layout parameter
The set view must be initialized using layout
IOS-Get all levels of UIViewObtain all levels of UIView in iOS
Application scenarios
In actual iOS development, you often need to know which sub-controls are contained in a UI control and their hierarchy, their own frame, and bounds, so that we can
In ios development, javascript calls the oc Code directly instead of modifying the url callback method.
In the previous ios project, you must use UIWebview to open a static page and
Call the relevant object-c code.
I. Previous methods for calling
Dark Horse Programmer -- OC struct in Foundation, foundationoc
OC struct
Nsange
NSPoint \ CGPoint
NSSize \ CGSize
NSRect \ CGRect
1. nsange: The range (Position, length) of Characters in the string)
Use typedef to define the nsange struct
IOS method mixed write (swizzling .)
Swizzling in OC refers to the transparent replacement of one method with another. Simply put, it is to replace the method at runtime. Mixed write can be used to change the behavior of objects without source code (
Source code for ios-like apps and source code for ios-like apps
Similar to basic functions. XMPP-based instant messaging and dating clients.---- The functions of the first code are as follows ----1. New User Registration2. log in and
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