-(void)undoButtonClicked
{
if([pathArray count]>0){
UIBezierPath *_path=[pathArray lastObject];
[pathArray removeLastObject];
[bufferArray addObject:_path];
[self setNeedsDisplay];
}
}
More Related Contents:
- How can we programmatically detect which iOS version is device running on? [duplicate]
- How to load a UIView using a nib file created with Interface Builder
- How can I animate the movement of a view or image along a curved path?
- How do I draw a shadow under a UIView?
- What are best practices that you use when writing Objective-C and Cocoa? [closed]
- iCloud basics and code sample [closed]
- When should I release objects in -(void)viewDidUnload rather than in -dealloc?
- Dismissing a Presented View Controller
- Determining if an iPhone is Jail broken Programmatically
- How can I customize an iOS alert view?
- iOS devices as web server [closed]
- Removing a view controller from UIPageViewController
- iOS: Using device modifiers for loading xib files?
- Enabling crash logs symbolication in Xcode 4.2
- iOS Pinch Scale and Two Finger Rotate at same time
- Sorting NSString values as if NSInteger using NSSortDescriptor
- iphone XMPP App run background
- NSString to NSArray
- How do I auto size a UIScrollView to fit its content
- Annotation details after detail disclosure pressed?
- subclassing UIWindow while using storyboards
- Access App Identifier Prefix programmatically
- How to create subscript characters that’s not in Unicode in iOS
- Blocks instead of performSelector:withObject:afterDelay: [duplicate]
- UIBarButtonItem: target-action not working?
- Difference between two NSDate objects — Result also a NSDate
- Retrieving current local time on iPhone?
- How to use pList in iOS Programming
- How to automatically size UIScrollView to fit the content
- Weak and strong property setter attributes in Objective-C