Second, Block Analysis of iOS, iosblock callback
========================================================== ====================================
| Reprinted must indicate the blog address: http://www.cnblogs.com/devappnow |
| Respect originality and
Asynchronous loading of iOS tableView image Cache1. create a viewController .. the hfile implements UIScrollViewDelegate and UITableViewDelegate, and declares ICTableViewDelegate (this is used to load the image if the image is cached, and request
Basic knowledge of IOS development-fragment 14, basic knowledge of ios-Fragment
1. ZIP files are compressed and decompressed using ZipArchive
Create/Add a zip package ZipArchive * zipFile = [[ZipArchive alloc] init]; // The zipfilename must have a
First, "CocoaPods learning", cocoapods
========================================================== ====================================
| Reprinted must indicate the blog address: http://www.cnblogs.com/devappnow |
| Respect originality and others'
IOS UILabel: html Tag, iosuilabel
After iOS7, the system provides the html Tag display method.
UIKIT_EXTERN NSString * const NSHTMLTextDocumentType NS_AVAILABLE_IOS (7_0 );
Directly Add code
NSString * str = @ " full 20 minus 5 minus 40 minus 15,
[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
# Three Methods of left-sliding pop in IOS-navigationThree methods of left-sliding pop in IOS-navigation: pop Method
If we do not customize the back button in navigation, we can directly use the left-sliding pop method that comes with the system.
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.
Three pop-up window modes in IOS and three pop-up window modes in IOS
# Pragma mark method 1
/**
* Used in IOS7 and with a proxy
*/
-(Void) use1
{
// 1. Create an intermediate pop-up box with the "cancel" and "OK" buttons. Set the proxy to the
Objective C: Image download method summary from remote url
This article will share with you two ways to use Objective C to download images from a remote url. They are all used in personal projects. We recommend them to you in summary. If you need
Variable Functions in basic Swift syntax and swift syntax Variables
Import Foundation // variable declaration use // use let to declare a constant, use var to declare a variable constant can only be assigned to it once let name = "cuiyw"; var age:
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. //
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
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