Reactivecocoa is a very complex framework, and before we begin to introduce its core components, let's look at its class diagram to get a macro view of its hierarchy:
From the above class diagram, we can see that Reactivecocoa is mainly composed
Then on an article, automatically generate the framework, this article I put the Shell Automation Packaging IPA organized a bit, I hope you like it, hehe. We suggest that you take a look at the previous article first.
introduction of Wkwebview
UIWebView since IOS2, Wkwebview from IOS8 only, no doubt Wkwebview will gradually replace the heavy uiwebview. Simple tests show that UIWebView consumes too much memory and that peak memory is exaggerated. Wkwebview Web
As shown in the figure above:
Custom label, self-arranged, can control margin, line spacing, enumerate, achieve neat free arrangement, say not much, see code
. m Main Page #import "ViewController.h" #import "TagsFrame.h" @interface Viewcontroller ()
The project has a download file function, download needs to be able to view, can not be for each type of file to write a view function bar.
The good news is that iOS has a uidocumentinteractioncontroller that can help you tune up the installed apps
1. Mac system and Xcode some shortcut keys
1. Mac
Command + W Close window
Command +q Shutdown Program
Command +c Assignment
Command +v Paste
Command +a Select All
Command +shift+4 Screen Capture
Command +tab Toggle Window
Command+shift+h Simulator
Android has previously written a demo, is the wave effect, should be modeled on Baidu's external sales of the Avatar effect. Suddenly want to take Xamarin to try, use my brain hole finally to get out, do not know the method is not reasonable. Just
Cold start
Cold start is the process of starting from scratch after the app is killed. Hot Start
When the user presses the home button, the iOS app will not be killed immediately and will continue to survive for some time. Ideally, when the user
Recently engaged in the analysis of iOS crash log, summed up:
The iphone development is going to be a non-stop version, followed by various versions of the crash log. If not properly managed, developers will soon be lost in the crash log and
========================================================== =============================== Original blog, reprinted please declare the source of Electronic coffee (original id blue rock) ========================================================== ====
I. Prepare materials
1. Create a push certificate in the app Certificate
(Download and install... remember to keep p12 (Cer. p12 and key. p12) + CER + mobileprovision for future update packages. Do not reconfigure the new p12 on the server after
Bundle is a directory that contains the resources used by the program. these resources contain images, sounds, compiled code, and nib files (bundle is also called plug-in ). corresponding bundle. Cocoa provides the nsbundle class.
Our program is a
========================================================== =============================== Original blog, reprinted please declare the source of Electronic coffee (original id blue rock) ========================================================== ====
2 sets of images should be prepared
One is for standard, format: .
One is for HD: @2x.
Where is optional, which can be "~ IPad "or "~ IPhone"
When you use the following code:
[button setImage:[UIImage imageNamed:@"play.png"]
Recently, we need to collect some data logs in the simulator environment.
The data recording and appending functions are also taken into account.
The simple code is as follows:
+ (Void) appstring :( nsstring *) s {bool isexit = [nlcommonutil
1. In addition to the lock, the system also provides conditions to ensure the proper sequence of execution of tasks in your application. A piece serves as a gatekeeper, blocking a given thread until it represents a true condition. In this case, the
Today, IOS encountered a bug. The contentoffset of uitableview will be reset when the content is less than one page. It is normal in other cases, and this bug only appears in the tabbar. After debugging, it is found that it is caused by
1. Use bitmap as much as possible. If it is a solid block, you can use a vector.2. It is best to load resources and materials externally, especially the skin, so as to dynamically update the skin.3. The mask is not efficient. If you need to use it,
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.