Generally speaking of comparison size, we will think of comparing the size of two digits, but if you compare the size of two dates, such as: compare the size of 2016-07-21 and 2016-08-20, nsdate between the compare to achieve, collation method, the
View structure
In iOS applications, the structure of a view is a tree-type data structure that controls the view display, which has a good advantage:
Hierarchical relationships are distinct and facilitate the delivery of events. Starting from the
In order to save traffic, but also for a better user experience, many applications now use the local caching mechanism so I looked up the relevant data from the Internet, and found that there are generally two ways. One is to write their own cache
For example, Taobao after the purchase of merchandise evaluation, evaluation of the evaluation list, each individual evaluation of the content of different, evaluation content has less, we generally use UITableView to create the interface, this time
Software development often encounter half a day before loading out the data, whether the program write rotten, or the original speed is relatively slow, the general will give a hint to let users feel that we are trying to load data, iOS can achieve
There are two styles of UITableView: Uitableviewstyleplain and uitableviewstylegrouped. There is no essential difference between the two, but the latter is displayed in the Normal style by the group style. Today we'll look at the use of groups:
1,
Effect:
The code is as follows
Copy Code
1. The Custom click button toggles the different Tableviewcell, the effect as shown in the picture
Hqsliderview.gif
A more commonly used foundation method for converting an object to Jsondata:+ (Nullable NSData *) Datawithjsonobject: (ID) obj options: (nsjsonwritingoptions) opt error: (NSERROR * *) error;The error that this method passes is the pointer to the
As we all know, UITableView's left-slip removal function is very cool, sometimes left-sliding features more than just delete one, sometimes there will be the other functions such as the top, this time we need to customize the left-slip
-(nsarray*)
Organize UIImagePickerController and save the image to the album,
// This method is used on the ios8.0 system. Previously, you can use the code to create an album, manually delete it, and then use this library to create the newly deleted album, in
Embedded & iOS: callback function (C) and block (OC) callback comparison, embedded training
After learning the OC block, it is awkward to write the C callback function. Compare the difference and record it.
C callback function:
CallBack. h
1)
IOS ProtocolBuffer setup and demo, iosprotocolbuffer
This time I set up the ProtocolBuffer compiler for iOS and encountered many problems when compiling *. proto Source files into *. pbobjc. h and *. pbobjc. m files!
There was no problem when
RunLoop Summary: application scenarios of RunLoop (1): runloop scenariosReferences
Good books are worth reading. Good articles and good materials are worth reading. We can get different results from the same articles, materials, or books at
Small Program hotspot cloud note demo open source summary, small program demo
Because of the company's project needs, we developed a small program's cloud notes.
Open Source Address https://github.com/hotapp888/hotapp-notepad
Features:(1)
Google electronics market 7-category, Google electronics market 7 --1. Object Encapsulation
Public class CategoryInfo {public String name1; public String name2; public String name3; public String url1; public String url2; public String url3; public
Proxy method of UITextField: textField: shouldChangeCharactersInRange: replacementString,
Link: http://www.cnblogs.com/zhanggui/p/6101813.html
I used the most times in the development process, so I will analyze it briefly here. Let's take a look at
1) first connect the Apple device to the computer, and then ensure that the itunes in the computer is the latest version, and then we open it, after the connection is successful, click back up now on the itules interface to back up the data.2) after
Open the App Store and slide to the bottomClick the Apple ID and select "View Apple ID" in the pop-up window. Password verification is usually required.Click "country/region" in account settings"Select "change country or region"Here you can select
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