Particle effect in iOS Animation04. Particle Animation 1. effect:
Randomly draw a path, click the start button, particle Animation2. Implementation ideas
1. Create a canvas to draw a path and customize the view.
2. Add a pan gesture to the custom
IOS Touch ID and iostouchid
1. First import the header file
#import
2. Key code
-(Void) validateTouchID {LAContext * context = [[LAContext alloc] init]; NSError * error; NSString * tip = @ "verify existing mobile phone fingerprints by using the
Mantle's use of personal opinions
The previous month, I came into contact with Mantle. Because the project adopts the MVC design model, it is also crucial to choose a good model. Let's first introduce the use of Mantle.
First, define the data model:
Animation lagging of the navigation controller in pushViewController,
When debugging the navigation controller yesterday, we found that the animation was choppy during push. The code for the choppy problem was as follows:
1-(void) tableView :(
Several Methods for IOS to cache images locally
Caching images locally is used in many scenarios. If you only store text information, you can create a plist file or database to easily solve the problem, however, it would be less convenient to store
Knowledge points of IOS array NSArray and NSMutableArray, two-dimensional nsarray Array
This article summarizes the knowledge points of arrays NSArray and NSMutableArray, mainly for some common operations. For other operations, see the relevant
[Study Notes] [OC language] polymorphism, learning notes oc Polymorphism
1. Basic concepts of PolymorphismMultiple forms of a certain type of thingOC object with Polymorphism
2. embodiment of PolymorphismPerson * p = [Student new];P-> age = 100;[P
How to view reference count changes in the ARC environment?
1. Create a new project to test the changes in the reference count.
2. Find the following path: Build Phases ----> Compile Sources ----> AppDelegate. m
3. Select the
IOS time format description
In the iOS time stamp string NSdate conversion demo, we talked about
-(IBAction) strToDate :( id) sender {
NSString * timeStr = @ 15:00:00;
NSDate * date = [NSDate dateFromString: timeStr format: @ yyyy-MM-dd HH: mm:
[Learning notes] [OC language] self keyword, learning notes ocself
1. member variables and local variables have the same nameWhen the member variables and local variables have the same name, the proximity principle is adopted to access local
Select an item from the drop-down list.
Click the buttons in the menu on the right, and select one from the pop-up list. Respond to the corresponding event and display the text in the menu on the right. The drop-down effect is LMDropdownView, you
IOS 21st-day notes (ARC memory management-Copy-proxy), ios-copy-
Knowledge points of IOS Learning (oc language)
1. ARC memory management in OC
1) Principle of releasing the object memory in ARC: Check whether the object is strongly referenced to
Use of iOS. UI advanced Block, ios. uiblock
Simplest block usageThree steps to use block: 1. Define block variables 2. Create block code blocks 3. Call block anonymous Functions
Defines the composition of a block, including the return value, block
CLLocationManagerDelegate does not call didUpdateLocations (MAP), cllocationmanagerThis is because of the location permission setting problem caused by xcode upgrade.After upgrading xcode6, open the previous xcode5 project and the program cannot be
IOS local notifications and IOS notifications
On mobile devices, only one application is active. If some other applications receive new messages or change at this time, they must be notified to users, you can use the notification mechanism to notify
IOS learning 20th-day notes (memory management in OC), iosoc
Knowledge points of IOS Learning (oc language)
1. Memory Management in OC1) concept: the memory management object is all objects that inherit NSObject and is invalid for basic data (such
Temple, temple Database
-XML property list (plist) Archiving-Preference (Preference setting)-NSKeyedArchiver archiving (NSCoding)-SQLite3-Core Data Summary: Common Data Storage Methods for IOS apps-XML property list (plist) archive-Preference
Add startup authorization for iOS8 UILocalNotification
I haven't accessed UILocalNotification for a long time. I found that I have no permission to start the notification today.The error is as follows:
Attempting to schedule a local notification
Common Properties and methods of UIView for iPone Application DevelopmentIPone Application Development UIView common attributes and Methods common attributes alpha view transparency 0.0f-1.0f backgroundColor view background color set of subviews
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