Soon after I got started with iOS development, it was worth learning and summarizing a lot of things;
Http://www.cocoachina.com/newbie/tutorial/2012/1016/4928.html
Knowledge not thoroughly viewed:
1> asihttprequesst
Google open-source network requests
Http://allseeing-i.com/ASIHTTPRequest/
Blog introduction:
Http://blog.csdn.net/superleexpert/article/details/7802020
2> block usage
3> arc usage Summary (ios4, ios5)
4> Use mbprogresshud
Source code:
Https://github.com/jdg/MBProgressHUD
Simple loading:
Uiactivityindicatorview
5> nsset details
Http://blog.csdn.net/xys289187120/article/details/6826895
6> uitabbar hiding
Http://blog.csdn.net/superleexpert/article/details/7615614
7> iPhone development push notification process implementation
Http://blog.csdn.net/superleexpert/article/details/7472763
8> nsdata, nsstring, byte array, and uiimage Conversion
Http://w11h22j33.iteye.com/blog/1333521
9> common nsstring and nsmutablestring Methods + common nsarray code
Http://www.cocoachina.com/newbie/tutorial/2010/1013/2173.html
10:> eight mobile product websites
Http://blog.csdn.net/superleexpert/article/details/7638797
[Nsthread sleepfortimeinterval: 5]
A complete iOS development framework (frameworks)-nimbuskit
11> 10 essential objective-C class libraries for iOS efficient development
Http://www.cocoachina.com/iphonedev/toolthain/2012/0828/4664.html
8> sandbox structure for phone Development
Site: http://my.oschina.net/plumsoft/blog/56655
The program contains three folders: Documents, library (caches and preferences (nsuserdefaults), and TMP.
The code for getting the program's documents directory is:
Nsarray * paths = nssearchpathfordirectoriesindomains (nsdocumentdirectory, nsuserdomainmask, yes );
Nsstring * documentsdirectory = [paths objectatindex: 0];
Nslibrarydirectory replaces the corresponding field
Nscachesdirectory
Open the tmp directory
Nsstring * temppath = nstemporarydirectory ();
6> the plist file is actually an XML file.
In oC, only the single inheritance relationship (different from C ++) is more intuitive"
All objects in OC are created in the heap (and C ++ can be created differently in the stack)
Nslog (@ "memory percentage: _: % d bytes", sizeof (INT); // memory size
Nslog (@ "Description _: % @", [touchbuttondescription]); // object information, frame, etc.
If ([selfrespondstoselector: @ selector (testrespond)]) {
Nslog (@ "the self class or parent class has the testrespond method ");
} // Determine whether the self class or its parent class has the testrespond Method
The readonly in the object property means that the setter method is not generated and only the getter method is generated. The read-only method cannot be modified.
Nil: a good thing. The pointer is null and will not crash the program. The array ends with nil (meaning no other objects will come over)
Static: defines static variables, which are initialized only once during Declaration. They are initialized in the heap before class initialization.
Staticint change = 0;
If (Change ++ % 2 ){
Nslog (@ "Change _: % d", change );
Nslog (@ "changestate: _: % d", change ++ % 2 );
}