@ Interface Person: NSObject
+ (Void) test1;
-(Void) test2;
@ End
// Execute this line of code based on the Person class and method defined in the. h file as follows in the memory
Person * person = [[Person alloc] init];
SEL is
I believe that the developer who has worked as an iOS programmer, the most familiar control must be UITableView, and the most commonly used control must be UITableView!
Today, I will share my general thoughts on implementing UITableView and my study
* There is a program entry: main Function
* The content in the pch file can be shared, included, or accessed by any other file in the project.
* If the defined content is only used in the OC environment, it must be defined between # ifdef _
1> the whole application symbolizes that an application is a UIApplication object and uses the singleton design mode.
2> access this singleton object through [UIApplication sharedApplication]
App. applicationIconBadgeNumber = 10;
App.
Database
Managing disk space in MongoDB
When to use GridFS on MongoDB
. NET
The Past, Present, and Future of C #
Use Mono. Cecil to Reflect Assembly Metadata with Better Performance
Using. NET HttpClient to capture partial Responses
1 Preface
We have learned so many design patterns before, all of which are used to improve the "reusability" and "scalability" of software systems. Today, let's take a look at the architecture design of IOS applications.
Reprinted please indicate
Method 1 (Code setting ):
Now ios7 has been changed to transparent without occupying the screen height. The method for hiding and displaying is as follows:In the subclass of uiviewcontroller, call:
If ([self respondsToSelector: @ selector
IOS applications can only read files from the file system created for the modified program. They cannot be accessed elsewhere. This region is called sandbox and all non-code files must be stored here, example: image, icon, sound, image, attribute
-The GET syntax is to obtain resources on the specified URL.-Add the data to the URL indicated by the action in the form of variable = value, and use "?" Connection, and the variables are connected with "&"-insecure, because the data is stored in
Before getting started, let's first introduce the IOS keyboard type:
I. keyboard Style
The UIKit framework supports 8 types of keyboards
Typedef enum {UIKeyboardTypeDefault, // default keyboard: supports all characters UIKeyboardTypeASCIICapable,
1. requirement: If you want to expand an additional method for a class without changing the code, you can use inheritance and Classification 2. category: You can expand some object methods or class methods for a class without modifying the original
Copy the code @ interface Person: NSObject + (void) test1;-(void) test2; @ end // according. the Person class and method defined in the H file are used to execute this line of code. In the memory, the following Person * person = [[Person alloc] init]
Write your own views on lazyload. This article focuses on common views. for image-related lazy loading, I plan to write it in a few days.
Lazy loading is also called delayed loading. In general usage, you have a UITextField type property, which is
... To be honest, the system's built-in Activity Indicator View is really ugly.
After referring to projects of others, we modeled the Activity Indicator View ).
The effect is as follows:
Implementation Method:
1. Import the MRActivityIndicatorView.
We often encounter the need to call out another application in one application, such as clicking an address in the document and calling safari to open a webpage; for example, clicking a file in a file browser, automatically activate an application
Note that you should introduce AudioToolbox. framework. The test passed on iOS6 and iOS7.
Private APIs are risky. Do not use them in apps.
NSMutableDictionary* dict = NSMutableArray* arr = [arr addObject:[NSNumber numberWithBool:YES]]; [arr
Effect:
To successfully display a UIPopoverController, follow these steps:
Because UIPopoverController directly inherits from NSObject and does not have visualization capabilities, the content above UIPopoverController must be provided by
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