Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minimum viable interactive view controller transition.
- Loading branch information
Showing
13 changed files
with
372 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Headers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Versions/Current/Reveal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// | ||
// Copyright (c) 2013 Itty Bitty Apps. All rights reserved. | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
extern NSString * const IBARevealLoaderRequestStartNotification; | ||
extern NSString * const IBARevealLoaderRequestStopNotification; | ||
|
||
extern NSString * const IBARevealLoaderSetOptionsNotification; | ||
extern NSString * const IBARevealLoaderOptionsLogLevelMaskKey; | ||
|
||
@interface IBARevealLoader : NSObject | ||
|
||
+ (void)startServer; | ||
+ (void)stopServer; | ||
|
||
@end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
// Copyright (c) 2013 Itty Bitty Apps Pty Ltd. All rights reserved. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
/*! | ||
\brief The Reveal Log level bit flags. | ||
\discussion These flags are addative. Ie, you should bitwise OR them together. | ||
\seealso IBARevealLoggerSetLevelMask | ||
\seealso IBARevealLoggerGetLevelMask | ||
Example: | ||
// Enable Error, Warning and Info logger levels. | ||
IBARevealLoggerSetLevelMask(IBARevealLogLevelError|IBARevealLogLevelWarn|IBARevealLogLevelInfo); | ||
*/ | ||
typedef NS_OPTIONS(int32_t, IBARevealLogLevel) | ||
{ | ||
IBARevealLogLevelNone = 0, | ||
IBARevealLogLevelDebug = (1 << 0), | ||
IBARevealLogLevelInfo = (1 << 1), | ||
IBARevealLogLevelWarn = (1 << 2), | ||
IBARevealLogLevelError = (1 << 3) | ||
}; | ||
|
||
/*! | ||
\brief Set the Reveal logger level mask. | ||
\param mask A bit mask which is a combination of the IBARevealLogLevel enum options. | ||
\discussion If you do not wish to see log messages from Reveal you should call this function with an appropriate level mask as early in your application's lifecycle as possible. For example in your application's main() function. | ||
Example: | ||
// Enable Error, Warning and Info logger levels. | ||
IBARevealLoggerSetLevelMask(IBARevealLogLevelError|IBARevealLogLevelWarn|IBARevealLogLevelInfo); | ||
*/ | ||
extern void IBARevealLoggerSetLevelMask(int32_t mask); | ||
|
||
/*! | ||
\brief Get the current Reveal logger level mask. | ||
\return A bit mask representing the levels at which Reveal is currently logging. | ||
\discussion The default Reveal Logger level mask is IBARevealLogLevelError|IBARevealLogLevelWarn|IBARevealLogLevelInfo. | ||
Example: | ||
// Turn off the Info log level. | ||
IBARevealLoggerSetLevelMask(IBARevealLoggerGetLevelMask() & ~IBARevealLogLevelInfo); | ||
*/ | ||
extern int32_t IBARevealLoggerGetLevelMask(void); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Copyright (c) 2013 Itty Bitty Apps Pty Ltd. All rights reserved. | ||
// | ||
|
||
#import "IBARevealLogger.h" | ||
#import "IBARevealLoader.h" |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
// | ||
// TLMenuInteractor.h | ||
// UIViewController-Transitions-Example | ||
// | ||
// Created by Ash Furrow on 2013-07-18. | ||
// Copyright (c) 2013 Teehan+Lax. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface TLMenuInteractor : UIPercentDrivenInteractiveTransition <UIViewControllerAnimatedTransitioning, UIViewControllerTransitioningDelegate, UIViewControllerInteractiveTransitioning> | ||
|
||
-(id)initWithParentViewController:(UIViewController *)viewController; | ||
|
||
@property (nonatomic, readonly) UIViewController *parentViewController; | ||
|
||
-(void)userDidPan:(UIScreenEdgePanGestureRecognizer *)recognizer; | ||
|
||
@end |
Oops, something went wrong.