TTURLAction Class Reference
This object bundles up a set of parameters and ships them off to TTBasicNavigator's openURLAction method. More...
#import <TTURLAction.h>
Public Member Functions | |
| (id) | - initWithURLPath: |
| Initialize a TTURLAction object with a URL path. | |
| (id) | - init |
| (TTURLAction *) | - applyParentURLPath: |
| nil | |
| (TTURLAction *) | - applyQuery: |
| nil | |
| (TTURLAction *) | - applyState: |
| nil | |
| (TTURLAction *) | - applyAnimated: |
| NO | |
| (TTURLAction *) | - applyWithDelay: |
| NO | |
| (TTURLAction *) | - applySourceRect: |
| CGRectZero | |
| (TTURLAction *) | - applySourceView: |
| nil | |
| (TTURLAction *) | - applySourceButton: |
| nil | |
| (TTURLAction *) | - applyTransition: |
| UIViewAnimationTransitionNone | |
Static Public Member Functions | |
| (id) | + action |
| Create an autoreleased TTURLAction object. | |
| (id) | + actionWithURLPath: |
| Create an autoreleased TTURLAction object with a URL path. | |
Protected Attributes | |
| NSString * | _urlPath |
| NSString * | _parentURLPath |
| NSDictionary * | _query |
| NSDictionary * | _state |
| BOOL | _animated |
| BOOL | _withDelay |
| CGRect | _sourceRect |
| UIView * | _sourceView |
| UIBarButtonItem * | _sourceButton |
| UIViewAnimationTransition | _transition |
Properties | |
| NSString * | urlPath |
| NSString * | parentURLPath |
| NSDictionary * | query |
| NSDictionary * | state |
| BOOL | animated |
| BOOL | withDelay |
| CGRect | sourceRect |
| UIView * | sourceView |
| UIBarButtonItem * | sourceButton |
| UIViewAnimationTransition | transition |
Detailed Description
This object bundles up a set of parameters and ships them off to TTBasicNavigator's openURLAction method.
This object is designed with the chaining principle in mind. Once you've created a TTURLAction object, you can apply any other property to the object via the apply* methods. Each of these methods returns self, allowing you to chain them.
Example: [[TTURLAction actionWithURLPath:"tt://some/path"] applyAnimated:YES]; Create an autoreleased URL action object with the path @"tt://some/path" that is animated.
For the default values, see the apply method documentation below.
Member Function Documentation
| - (id) initWithURLPath: | (NSString*) | urlPath |
Initialize a TTURLAction object with a URL path.
Designated initializer.
The documentation for this class was generated from the following files:
- Three20UINavigator/Headers/TTURLAction.h
- Three20UINavigator/Sources/TTURLAction.m
