Second, Block Analysis of iOS, iosblock callback
========================================================== ====================================
| Reprinted must indicate the blog address: http://www.cnblogs.com/devappnow |
| Respect originality and
IOS capture program crash log
We often encounter a crash when running an APP on an iPhone or iPad tablet. Sometimes an APP is turned on, but it suddenly crashes. This is definitely a headache for developers. So how can I get the iOS device crash log?
[Oc learning diary] NSDate, oc learning diary nsdate
First, we will introduce how to return date objects.
1 // obtain the current date and time 2 NSDate * now = [NSDate date]; 3 NSLog (@ "% @", now ); 4 // return the date and time 5 NSDate * mydate19
Objective-C Introspection and introspection
Introspection is a powerful feature of the object-oriented language and environment. Objective-C and Cocoa are particularly rich in this aspect. Through introspection, You can dynamically query the
Add, delete, modify, and query ios FMDB initial experience
I haven't seen you again for a long time. Miss you. Today I wrote an article about the use of fmdb. At work, we sometimes use databases, so you need a useful tool. Let's start with the topic.
IOS development: Checks several common design patterns, and ios Design Patterns
(1) proxy Mode
Application Scenario: when some functions of a class need to be implemented by another class, but you are not sure which class will be
UITextField Chinese search, uitextfield
Import header files
# Import "ChineseInclude. h"# Import "PinYinForObjc. h"
NSMutableArray * searchResults; // a variable array to add the searched data
Set Data Source
-(NSArray *) dataArray {if (! _
Use UIPresentationController in ios8.
1. Introduction to UIPresentationController
UIPresentationController is an API added to ios8. it is used to control Jump effects between controllers. For example, if you want to implement a special effect and
IOS big image processing (with source code)Big Image Processing
ViewController. m ---------------------------------------------- (void) viewDidLoad {[super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. //
The reuse mechanism of ios UItableView and UITableViewHeaderFooterView grouping headers, which is a simple and affically transformed CGAffineTransform
How to Set a section of the same height, including the first column (TIPS, though easy but easy to
IOS simple text and text mixing 01
1. display the image in the Label
// Void setLabel {// NSTextAttachment-attachMent NSTextAttachment * attachMent = [[NSTextAttachment alloc] init]; // set the attachMent for the attachMent. image = [UIImage
Create a table Class View on iOS wbdview
Create a table in the project and reference the header file
# Import "WBDataGridView. h"
-(Void) viewDidLoad {
[Super viewDidLoad];
// Do any additional setup after loading the view.
Self. view.
Some simple introductions and usage of ios autoLayout, iosautolayout
I. Purpose of autoLayout:
It is mainly used for screen adaptation, especially after iPhone 6 and plus.
2. How can we simply use autoLayout?
Click one on the left and you will
The size of the UIActivityIndicatorView activity controller is changed.
Self. activityView = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle: UIActivityIndicatorViewStyleWhite]; self. activityView. center = CGPointMake ([UIScreen
NT_iOS note-how does NSURLConnection change http to https?
I have been using NSURLConnection to request the HTTP interface. Now I plan to Use HTTPS for security considerations.
So how can we modify it?
1. No certificate verification required. ps:
Delete special characters in NSString in iOS
+ (NSString *) stringDeleteString :( NSString *) str {NSMutableString * str1 = [NSMutableString stringWithString: str]; for (int I = 0; I You can delete numbers and symbols in nsstring, or modify
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