-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial working stage of API, more improvements to come.
- Loading branch information
Showing
12 changed files
with
427 additions
and
12 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,39 @@ | ||
# Mac OS X Finder and whatnot | ||
.DS_Store | ||
|
||
# Sparkle distribution Private Key (Don't check me in!) | ||
dsa_priv.pem | ||
|
||
# XCode (and ancestors) per-user config (very noisy, and not relevant) | ||
*.mode1 | ||
*.mode1v3 | ||
*.mode2v3 | ||
*.perspective | ||
*.perspectivev3 | ||
*.pbxuser | ||
|
||
# Xcode 4 | ||
xcuserdata/ | ||
project.xcworkspace/ | ||
|
||
# Generated files | ||
VersionX-revision.h | ||
|
||
# build products | ||
build/ | ||
*.[oa] | ||
|
||
# Other source repository archive directories (protects when importing) | ||
.hg | ||
.svn | ||
CVS | ||
|
||
# automatic backup files | ||
*~.nib | ||
*.swp | ||
*~ | ||
*(Autosaved).rtfd/ | ||
Backup[ ]of[ ]*.pages/ | ||
Backup[ ]of[ ]*.key/ | ||
Backup[ ]of[ ]*.numbers/ | ||
iTenWired2013/.DS_Store |
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 |
---|---|---|
|
@@ -18,6 +18,14 @@ | |
DB79B5B217C5AFB400173A70 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = DB79B5B117C5AFB400173A70 /* [email protected] */; }; | ||
DB79B5B517C5AFB400173A70 /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = DB79B5B317C5AFB400173A70 /* MainStoryboard.storyboard */; }; | ||
DB79B5B817C5AFB400173A70 /* TJLViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = DB79B5B717C5AFB400173A70 /* TJLViewController.m */; }; | ||
DB79B5C417C5B00C00173A70 /* Blue.png in Resources */ = {isa = PBXBuildFile; fileRef = DB79B5BE17C5B00C00173A70 /* Blue.png */; }; | ||
DB79B5C517C5B00C00173A70 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = DB79B5BF17C5B00C00173A70 /* [email protected] */; }; | ||
DB79B5C617C5B00C00173A70 /* Green.png in Resources */ = {isa = PBXBuildFile; fileRef = DB79B5C017C5B00C00173A70 /* Green.png */; }; | ||
DB79B5C717C5B00C00173A70 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = DB79B5C117C5B00C00173A70 /* [email protected] */; }; | ||
DB79B5C817C5B00C00173A70 /* Orange.png in Resources */ = {isa = PBXBuildFile; fileRef = DB79B5C217C5B00C00173A70 /* Orange.png */; }; | ||
DB79B5C917C5B00C00173A70 /* [email protected] in Resources */ = {isa = PBXBuildFile; fileRef = DB79B5C317C5B00C00173A70 /* [email protected] */; }; | ||
DB79B5CC17C5B06100173A70 /* TJLBarButtonMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = DB79B5CB17C5B06100173A70 /* TJLBarButtonMenu.m */; }; | ||
DB79B5CF17C5B12B00173A70 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DB79B5CE17C5B12B00173A70 /* QuartzCore.framework */; }; | ||
/* End PBXBuildFile section */ | ||
|
||
/* Begin PBXFileReference section */ | ||
|
@@ -37,13 +45,23 @@ | |
DB79B5B417C5AFB400173A70 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = en; path = en.lproj/MainStoryboard.storyboard; sourceTree = "<group>"; }; | ||
DB79B5B617C5AFB400173A70 /* TJLViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TJLViewController.h; sourceTree = "<group>"; }; | ||
DB79B5B717C5AFB400173A70 /* TJLViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TJLViewController.m; sourceTree = "<group>"; }; | ||
DB79B5BE17C5B00C00173A70 /* Blue.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Blue.png; sourceTree = "<group>"; }; | ||
DB79B5BF17C5B00C00173A70 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; }; | ||
DB79B5C017C5B00C00173A70 /* Green.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Green.png; sourceTree = "<group>"; }; | ||
DB79B5C117C5B00C00173A70 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; }; | ||
DB79B5C217C5B00C00173A70 /* Orange.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Orange.png; sourceTree = "<group>"; }; | ||
DB79B5C317C5B00C00173A70 /* [email protected] */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "[email protected]"; sourceTree = "<group>"; }; | ||
DB79B5CA17C5B06100173A70 /* TJLBarButtonMenu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TJLBarButtonMenu.h; path = Source/TJLBarButtonMenu.h; sourceTree = "<group>"; }; | ||
DB79B5CB17C5B06100173A70 /* TJLBarButtonMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TJLBarButtonMenu.m; path = Source/TJLBarButtonMenu.m; sourceTree = "<group>"; }; | ||
DB79B5CE17C5B12B00173A70 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; | ||
/* End PBXFileReference section */ | ||
|
||
/* Begin PBXFrameworksBuildPhase section */ | ||
DB79B59517C5AFB400173A70 /* Frameworks */ = { | ||
isa = PBXFrameworksBuildPhase; | ||
buildActionMask = 2147483647; | ||
files = ( | ||
DB79B5CF17C5B12B00173A70 /* QuartzCore.framework in Frameworks */, | ||
DB79B59C17C5AFB400173A70 /* UIKit.framework in Frameworks */, | ||
DB79B59E17C5AFB400173A70 /* Foundation.framework in Frameworks */, | ||
DB79B5A017C5AFB400173A70 /* CoreGraphics.framework in Frameworks */, | ||
|
@@ -73,6 +91,7 @@ | |
DB79B59A17C5AFB400173A70 /* Frameworks */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
DB79B5CE17C5B12B00173A70 /* QuartzCore.framework */, | ||
DB79B59B17C5AFB400173A70 /* UIKit.framework */, | ||
DB79B59D17C5AFB400173A70 /* Foundation.framework */, | ||
DB79B59F17C5AFB400173A70 /* CoreGraphics.framework */, | ||
|
@@ -86,6 +105,13 @@ | |
DB79B5AA17C5AFB400173A70 /* TJLAppDelegate.h */, | ||
DB79B5AB17C5AFB400173A70 /* TJLAppDelegate.m */, | ||
DB79B5B317C5AFB400173A70 /* MainStoryboard.storyboard */, | ||
DB79B5CD17C5B06500173A70 /* Source */, | ||
DB79B5BE17C5B00C00173A70 /* Blue.png */, | ||
DB79B5BF17C5B00C00173A70 /* [email protected] */, | ||
DB79B5C017C5B00C00173A70 /* Green.png */, | ||
DB79B5C117C5B00C00173A70 /* [email protected] */, | ||
DB79B5C217C5B00C00173A70 /* Orange.png */, | ||
DB79B5C317C5B00C00173A70 /* [email protected] */, | ||
DB79B5B617C5AFB400173A70 /* TJLViewController.h */, | ||
DB79B5B717C5AFB400173A70 /* TJLViewController.m */, | ||
DB79B5A217C5AFB400173A70 /* Supporting Files */, | ||
|
@@ -107,6 +133,15 @@ | |
name = "Supporting Files"; | ||
sourceTree = "<group>"; | ||
}; | ||
DB79B5CD17C5B06500173A70 /* Source */ = { | ||
isa = PBXGroup; | ||
children = ( | ||
DB79B5CA17C5B06100173A70 /* TJLBarButtonMenu.h */, | ||
DB79B5CB17C5B06100173A70 /* TJLBarButtonMenu.m */, | ||
); | ||
name = Source; | ||
sourceTree = "<group>"; | ||
}; | ||
/* End PBXGroup section */ | ||
|
||
/* Begin PBXNativeTarget section */ | ||
|
@@ -164,6 +199,12 @@ | |
DB79B5B017C5AFB400173A70 /* [email protected] in Resources */, | ||
DB79B5B217C5AFB400173A70 /* [email protected] in Resources */, | ||
DB79B5B517C5AFB400173A70 /* MainStoryboard.storyboard in Resources */, | ||
DB79B5C417C5B00C00173A70 /* Blue.png in Resources */, | ||
DB79B5C517C5B00C00173A70 /* [email protected] in Resources */, | ||
DB79B5C617C5B00C00173A70 /* Green.png in Resources */, | ||
DB79B5C717C5B00C00173A70 /* [email protected] in Resources */, | ||
DB79B5C817C5B00C00173A70 /* Orange.png in Resources */, | ||
DB79B5C917C5B00C00173A70 /* [email protected] in Resources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
|
@@ -177,6 +218,7 @@ | |
DB79B5A817C5AFB400173A70 /* main.m in Sources */, | ||
DB79B5AC17C5AFB400173A70 /* TJLAppDelegate.m in Sources */, | ||
DB79B5B817C5AFB400173A70 /* TJLViewController.m in Sources */, | ||
DB79B5CC17C5B06100173A70 /* TJLBarButtonMenu.m in Sources */, | ||
); | ||
runOnlyForDeploymentPostprocessing = 0; | ||
}; | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,39 @@ | ||
// | ||
// TJLBarButtonMenu.h | ||
// TJLBarButtonMenu | ||
// | ||
// Created by Terry Lewis II on 8/21/13. | ||
// Copyright (c) 2013 Terry Lewis. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@class TJLBarButtonMenu; | ||
|
||
@protocol TJLButtonViewDelegate <NSObject> | ||
@optional | ||
/** | ||
* Sends the title of the button that was tapped. | ||
*@param buttonView The instance of the class that is currently active | ||
*@param title The title of the tapped button. | ||
*/ | ||
- (void)buttonMenu:(TJLBarButtonMenu *)buttonMenu titleForTappedButton:(NSString *)title; | ||
@end | ||
|
||
typedef void (^TJLButtonTappedBlock)(TJLBarButtonMenu *buttonView, NSString *title); | ||
|
||
@interface TJLBarButtonMenu : UIView | ||
|
||
- (instancetype)initWithView:(UIView *)view images:(NSArray *)images buttonTitles:(NSArray *)titles; | ||
|
||
- (instancetype)initWithView:(UIView *)view delegate:(id <TJLButtonViewDelegate>)delegate images:(NSArray *)images buttonTitles:(NSArray *)titles; | ||
|
||
- (void)show; | ||
|
||
/** | ||
* A block that is called each time a button is tapped. | ||
@param block The block that will be called when a button is tapped. | ||
*/ | ||
- (void)setButtonTappedBlock:(TJLButtonTappedBlock)block; | ||
|
||
@end |
Oops, something went wrong.