I have been busy with projects for a long time and have not updated my blog.
Just write what you learned on projection.
Original Image:
[[Self view] layer] setbackgroundcolor: [[uicolor blackcolor] cgcolor]; uiimage * balloon = [uiimage imagenamed:
Conversion of IOS nsdictionary, nsdata, and JSON Data Types
Conversion of data types is often used in IOS. The following lists conversions of common types.
1. nsdictionary type to nsdata type:
//NSDictionary -> NSData:NSDictionary *params =
Reference
[1] http://developer.apple.com/library/ios/#documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/Introduction/Introduction.html#//apple_ref/doc/uid/TP40009541-CH1-SW1
1. Event Type
It mainly involves three types of events: Touch,
Reposted from: www.dreamingwish.com
Loadview, viewdidload, and viewdidunload. How should these three functions be used?
Google, all of them are reprinted. The general content is as follows:
Loadview manual loading View
After viewdidload is used
UIWindow and UIViewController are written earlier. They are all some frameworks. The framework must be filled with specific views to form our applications. In mobile application development, the UI occupies a large part, the most basic UI
Before understanding CALayer, You Need To Know What layer is.
The middle layer of IOS development is a very important concept. You can find the layer component in the subclass of UIView. The layer is a child film located on a fixed canvas and can
The following content is translated from:
Http://code.google.com/p/cocoaasyncsocket/
Cocoaasyncsocket supports TCP and UDP. Where:
The asyncsocket class supports TCP
Asyncudpsocket supports UDP
AsyncSockeT is the TCP/IP Socket network library
UITapGestureRecognizer and UIPanGestureRecognizer applications:
I. UITapGestureRecognizer application:-(Void) singleOne :( UITapGestureRecognizer *) sender {} // write the action of the event to the function.- (void)singleTwo:(UITapGestureRecognizer
Block can be used as a replacement for delegatge. It is easy to use and does not need to write too much @ protocol to define interfaces. However, pay attention to the following points.
(1) The block is not an object, so it is not valid for the
Uiimagepickercontroller Overview:
The uiimagepickercontroller class is a user interface for obtaining selected images and videos. We can use this controller to select the images and videos we need. This class is special. We cannot customize it at
In May, I began to study the in-app purchasing technology on the iOS platform. In the past, if you want to make a paid application, you need to make a Lite simple version. Before purchasing the product, you can use the Lite version to experience the
This problem has actually been encountered several times, and many things have not been carefully studied. The solution is also very violent and directly added for 8 hours.
After debugging, I found that this is not the case.
NSDate * nowDate =
1. Jump to the app page
Find the description link for the application, such as: http://itunes.apple.com/gb/app/yi-dong-cai-bian/id391945719? Mt = 8
Then, replace http: // With itms: // or itms-apps ://:Itms: //
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