Love Limit Free Demo

Source: Internet
Author: User

1. Resources:

Network interface, data Analysis Library AFNetWorking.h 、...

2. Build the interface--build frame

List Applistviewcontroller--list display data, pull up load dropdown refresh (jhrefresh), search list, pass value ...

Set up several Subviewcontroller:applistviewcontroller

// The conversion of Chinese characters into URL encoded can be transmitted online    ... NSString *str = [Searchbar.text stringbyaddingpercentescapesusingencoding:nsutf8stringencoding];

Details interface Detailviewcontroller---data overload, value (Block), share (friend League share), collection, download ...

// Download [[UIApplication sharedapplication] Openurl:[nsurl URLWithString:self.model.itunesUrl]];

Featured Interface Topicviewcontroller----nested display

3. Navigating into

Categoryviewcontroller (category)--value Applistviewcontroller (reload data)

Configviewcontroller (configuration)--cache, data storage (database Fmdb)

4. Other

Share: Friends Alliance Share (umsocial), SHARESDK, Baidu Share--Find official documents, do it

Add load effects-third-party HUD download Prompt Box Svprogresshud

Network activity Tips

    // turn on network activity tips     [[UIApplication sharedapplication] setnetworkactivityindicatorvisible:yes];     // turn off network activity tips    [[UIApplication sharedapplication] setnetworkactivityindicatorvisible:no];

 

。。。

Remove Performselector Warning#pragmaClang diagnostic ignored "-warc-performselector-leaks" '//whether auto-rotation is supported-(BOOL) shouldautorotate{returnYES;}//supported direction of rotation-(Nsuinteger) supportedinterfaceorientations{returnUiinterfaceorientationmaskall;}//Whether you can rotate to this direction-(BOOL) shouldautorotatetointerfaceorientation: (uiinterfaceorientation) tointerfaceorientation{return(Tointerfaceorientation = =uiinterfaceorientationportrait);}//about to start spinning- (void) Willrotatetointerfaceorientation: (uiinterfaceorientation) tointerfaceorientation Duration: (NSTimeInterval) duration{}//has finished spinning-(void) Didrotatefrominterfaceorientation: (uiinterfaceorientation) frominterfaceorientation{_tableView.frame=self.view.bounds;}//Automatic Horizontal screen-(Nsuinteger) supportedinterfaceorientations{returnUiinterfaceorientationmasklandscapeleft; //return uiinterfaceorientationmaskportrait;    }

Love Limit Free Demo

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.