Permalink
Browse files

Initial commit

  • Loading branch information...
1 parent 2a01223 commit 4cd6015249a009a2ef2cfd089db32bd8554fd427 James Addyman committed Aug 19, 2011
@@ -12,32 +12,55 @@
1A1A069F13FEDEEC00CA6645 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1A1A069E13FEDEEC00CA6645 /* CoreGraphics.framework */; };
1A1A06A513FEDEEC00CA6645 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1A1A06A313FEDEEC00CA6645 /* InfoPlist.strings */; };
1A1A06A713FEDEEC00CA6645 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A1A06A613FEDEEC00CA6645 /* main.m */; };
- 1A1A06AB13FEDEEC00CA6645 /* JSTokenFieldAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A1A06AA13FEDEEC00CA6645 /* JSTokenFieldAppDelegate.m */; };
- 1A1A06AE13FEDEEC00CA6645 /* JSTokenFieldViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A1A06AD13FEDEEC00CA6645 /* JSTokenFieldViewController.m */; };
- 1A1A06B113FEDEEC00CA6645 /* JSTokenFieldViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1A1A06AF13FEDEEC00CA6645 /* JSTokenFieldViewController.xib */; };
+ 1A1A06AB13FEDEEC00CA6645 /* DemoAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A1A06AA13FEDEEC00CA6645 /* DemoAppDelegate.m */; };
+ 1A1A06AE13FEDEEC00CA6645 /* DemoViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A1A06AD13FEDEEC00CA6645 /* DemoViewController.m */; };
+ 1A1A06B113FEDEEC00CA6645 /* DemoViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1A1A06AF13FEDEEC00CA6645 /* DemoViewController.xib */; };
+ 1A1A06BB13FEE01C00CA6645 /* JSTokenButton.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A1A06B813FEE01C00CA6645 /* JSTokenButton.m */; };
+ 1A1A06BC13FEE01C00CA6645 /* JSTokenField.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A1A06BA13FEE01C00CA6645 /* JSTokenField.m */; };
+ 1A1A06C113FEE2D900CA6645 /* tokenHighlighted.png in Resources */ = {isa = PBXBuildFile; fileRef = 1A1A06BD13FEE2D900CA6645 /* tokenHighlighted.png */; };
+ 1A1A06C213FEE2D900CA6645 /* tokenHighlighted@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1A1A06BE13FEE2D900CA6645 /* tokenHighlighted@2x.png */; };
+ 1A1A06C313FEE2D900CA6645 /* tokenNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = 1A1A06BF13FEE2D900CA6645 /* tokenNormal.png */; };
+ 1A1A06C413FEE2D900CA6645 /* tokenNormal@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 1A1A06C013FEE2D900CA6645 /* tokenNormal@2x.png */; };
+ 1A1A06C713FEF5F500CA6645 /* JSTokenFieldViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 1A1A06C613FEF5F400CA6645 /* JSTokenFieldViewController.m */; };
+ 1A1A06CF13FF000C00CA6645 /* AddressBook.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1A1A06CD13FF000C00CA6645 /* AddressBook.framework */; };
+ 1A1A06D013FF000C00CA6645 /* AddressBookUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1A1A06CE13FF000C00CA6645 /* AddressBookUI.framework */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
1A1A069613FEDEEC00CA6645 /* JSTokenField.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JSTokenField.app; sourceTree = BUILT_PRODUCTS_DIR; };
1A1A069A13FEDEEC00CA6645 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
1A1A069C13FEDEEC00CA6645 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
1A1A069E13FEDEEC00CA6645 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
- 1A1A06A213FEDEEC00CA6645 /* JSTokenField-Info.plist */ = {isa = PBXFileReference; path = "JSTokenField-Info.plist"; sourceTree = "<group>"; };
+ 1A1A06A213FEDEEC00CA6645 /* JSTokenField-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "JSTokenField-Info.plist"; sourceTree = "<group>"; };
1A1A06A413FEDEEC00CA6645 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = "<group>"; };
1A1A06A613FEDEEC00CA6645 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
- 1A1A06A813FEDEEC00CA6645 /* JSTokenField-Prefix.pch */ = {isa = PBXFileReference; path = "JSTokenField-Prefix.pch"; sourceTree = "<group>"; };
- 1A1A06A913FEDEEC00CA6645 /* JSTokenFieldAppDelegate.h */ = {isa = PBXFileReference; path = JSTokenFieldAppDelegate.h; sourceTree = "<group>"; };
- 1A1A06AA13FEDEEC00CA6645 /* JSTokenFieldAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JSTokenFieldAppDelegate.m; sourceTree = "<group>"; };
- 1A1A06AC13FEDEEC00CA6645 /* JSTokenFieldViewController.h */ = {isa = PBXFileReference; path = JSTokenFieldViewController.h; sourceTree = "<group>"; };
- 1A1A06AD13FEDEEC00CA6645 /* JSTokenFieldViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JSTokenFieldViewController.m; sourceTree = "<group>"; };
- 1A1A06B013FEDEEC00CA6645 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/JSTokenFieldViewController.xib; sourceTree = "<group>"; };
+ 1A1A06A813FEDEEC00CA6645 /* JSTokenField-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "JSTokenField-Prefix.pch"; sourceTree = "<group>"; };
+ 1A1A06A913FEDEEC00CA6645 /* DemoAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DemoAppDelegate.h; sourceTree = "<group>"; };
+ 1A1A06AA13FEDEEC00CA6645 /* DemoAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DemoAppDelegate.m; sourceTree = "<group>"; };
+ 1A1A06AC13FEDEEC00CA6645 /* DemoViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = DemoViewController.h; sourceTree = "<group>"; };
+ 1A1A06AD13FEDEEC00CA6645 /* DemoViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DemoViewController.m; sourceTree = "<group>"; };
+ 1A1A06B013FEDEEC00CA6645 /* en */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = en; path = en.lproj/DemoViewController.xib; sourceTree = "<group>"; };
+ 1A1A06B713FEE01C00CA6645 /* JSTokenButton.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSTokenButton.h; sourceTree = "<group>"; };
+ 1A1A06B813FEE01C00CA6645 /* JSTokenButton.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSTokenButton.m; sourceTree = "<group>"; };
+ 1A1A06B913FEE01C00CA6645 /* JSTokenField.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSTokenField.h; sourceTree = "<group>"; };
+ 1A1A06BA13FEE01C00CA6645 /* JSTokenField.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSTokenField.m; sourceTree = "<group>"; };
+ 1A1A06BD13FEE2D900CA6645 /* tokenHighlighted.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = tokenHighlighted.png; sourceTree = "<group>"; };
+ 1A1A06BE13FEE2D900CA6645 /* tokenHighlighted@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "tokenHighlighted@2x.png"; sourceTree = "<group>"; };
+ 1A1A06BF13FEE2D900CA6645 /* tokenNormal.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = tokenNormal.png; sourceTree = "<group>"; };
+ 1A1A06C013FEE2D900CA6645 /* tokenNormal@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "tokenNormal@2x.png"; sourceTree = "<group>"; };
+ 1A1A06C513FEF5F400CA6645 /* JSTokenFieldViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSTokenFieldViewController.h; sourceTree = "<group>"; };
+ 1A1A06C613FEF5F400CA6645 /* JSTokenFieldViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSTokenFieldViewController.m; sourceTree = "<group>"; };
+ 1A1A06CD13FF000C00CA6645 /* AddressBook.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBook.framework; path = System/Library/Frameworks/AddressBook.framework; sourceTree = SDKROOT; };
+ 1A1A06CE13FF000C00CA6645 /* AddressBookUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AddressBookUI.framework; path = System/Library/Frameworks/AddressBookUI.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
1A1A069313FEDEEC00CA6645 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
+ 1A1A06CF13FF000C00CA6645 /* AddressBook.framework in Frameworks */,
+ 1A1A06D013FF000C00CA6645 /* AddressBookUI.framework in Frameworks */,
1A1A069B13FEDEEC00CA6645 /* UIKit.framework in Frameworks */,
1A1A069D13FEDEEC00CA6645 /* Foundation.framework in Frameworks */,
1A1A069F13FEDEEC00CA6645 /* CoreGraphics.framework in Frameworks */,
@@ -67,6 +90,8 @@
1A1A069913FEDEEC00CA6645 /* Frameworks */ = {
isa = PBXGroup;
children = (
+ 1A1A06CD13FF000C00CA6645 /* AddressBook.framework */,
+ 1A1A06CE13FF000C00CA6645 /* AddressBookUI.framework */,
1A1A069A13FEDEEC00CA6645 /* UIKit.framework */,
1A1A069C13FEDEEC00CA6645 /* Foundation.framework */,
1A1A069E13FEDEEC00CA6645 /* CoreGraphics.framework */,
@@ -77,11 +102,17 @@
1A1A06A013FEDEEC00CA6645 /* JSTokenField */ = {
isa = PBXGroup;
children = (
- 1A1A06A913FEDEEC00CA6645 /* JSTokenFieldAppDelegate.h */,
- 1A1A06AA13FEDEEC00CA6645 /* JSTokenFieldAppDelegate.m */,
- 1A1A06AC13FEDEEC00CA6645 /* JSTokenFieldViewController.h */,
- 1A1A06AD13FEDEEC00CA6645 /* JSTokenFieldViewController.m */,
- 1A1A06AF13FEDEEC00CA6645 /* JSTokenFieldViewController.xib */,
+ 1A1A06A913FEDEEC00CA6645 /* DemoAppDelegate.h */,
+ 1A1A06AA13FEDEEC00CA6645 /* DemoAppDelegate.m */,
+ 1A1A06AC13FEDEEC00CA6645 /* DemoViewController.h */,
+ 1A1A06AD13FEDEEC00CA6645 /* DemoViewController.m */,
+ 1A1A06C513FEF5F400CA6645 /* JSTokenFieldViewController.h */,
+ 1A1A06C613FEF5F400CA6645 /* JSTokenFieldViewController.m */,
+ 1A1A06B913FEE01C00CA6645 /* JSTokenField.h */,
+ 1A1A06BA13FEE01C00CA6645 /* JSTokenField.m */,
+ 1A1A06B713FEE01C00CA6645 /* JSTokenButton.h */,
+ 1A1A06B813FEE01C00CA6645 /* JSTokenButton.m */,
+ 1A1A06AF13FEDEEC00CA6645 /* DemoViewController.xib */,
1A1A06A113FEDEEC00CA6645 /* Supporting Files */,
);
path = JSTokenField;
@@ -94,6 +125,10 @@
1A1A06A313FEDEEC00CA6645 /* InfoPlist.strings */,
1A1A06A613FEDEEC00CA6645 /* main.m */,
1A1A06A813FEDEEC00CA6645 /* JSTokenField-Prefix.pch */,
+ 1A1A06BD13FEE2D900CA6645 /* tokenHighlighted.png */,
+ 1A1A06BE13FEE2D900CA6645 /* tokenHighlighted@2x.png */,
+ 1A1A06BF13FEE2D900CA6645 /* tokenNormal.png */,
+ 1A1A06C013FEE2D900CA6645 /* tokenNormal@2x.png */,
);
name = "Supporting Files";
sourceTree = "<group>";
@@ -149,7 +184,11 @@
buildActionMask = 2147483647;
files = (
1A1A06A513FEDEEC00CA6645 /* InfoPlist.strings in Resources */,
- 1A1A06B113FEDEEC00CA6645 /* JSTokenFieldViewController.xib in Resources */,
+ 1A1A06B113FEDEEC00CA6645 /* DemoViewController.xib in Resources */,
+ 1A1A06C113FEE2D900CA6645 /* tokenHighlighted.png in Resources */,
+ 1A1A06C213FEE2D900CA6645 /* tokenHighlighted@2x.png in Resources */,
+ 1A1A06C313FEE2D900CA6645 /* tokenNormal.png in Resources */,
+ 1A1A06C413FEE2D900CA6645 /* tokenNormal@2x.png in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -161,8 +200,11 @@
buildActionMask = 2147483647;
files = (
1A1A06A713FEDEEC00CA6645 /* main.m in Sources */,
- 1A1A06AB13FEDEEC00CA6645 /* JSTokenFieldAppDelegate.m in Sources */,
- 1A1A06AE13FEDEEC00CA6645 /* JSTokenFieldViewController.m in Sources */,
+ 1A1A06AB13FEDEEC00CA6645 /* DemoAppDelegate.m in Sources */,
+ 1A1A06AE13FEDEEC00CA6645 /* DemoViewController.m in Sources */,
+ 1A1A06BB13FEE01C00CA6645 /* JSTokenButton.m in Sources */,
+ 1A1A06BC13FEE01C00CA6645 /* JSTokenField.m in Sources */,
+ 1A1A06C713FEF5F500CA6645 /* JSTokenFieldViewController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -177,12 +219,12 @@
name = InfoPlist.strings;
sourceTree = "<group>";
};
- 1A1A06AF13FEDEEC00CA6645 /* JSTokenFieldViewController.xib */ = {
+ 1A1A06AF13FEDEEC00CA6645 /* DemoViewController.xib */ = {
isa = PBXVariantGroup;
children = (
1A1A06B013FEDEEC00CA6645 /* en */,
);
- name = JSTokenFieldViewController.xib;
+ name = DemoViewController.xib;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
@@ -236,6 +278,7 @@
1A1A06B513FEDEEC00CA6645 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ CLANG_ENABLE_OBJC_ARC = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "JSTokenField/JSTokenField-Prefix.pch";
INFOPLIST_FILE = "JSTokenField/JSTokenField-Info.plist";
@@ -247,6 +290,7 @@
1A1A06B613FEDEEC00CA6645 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
+ CLANG_ENABLE_OBJC_ARC = NO;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "JSTokenField/JSTokenField-Prefix.pch";
INFOPLIST_FILE = "JSTokenField/JSTokenField-Info.plist";
@@ -274,6 +318,7 @@
1A1A06B613FEDEEC00CA6645 /* Release */,
);
defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
@@ -1,5 +1,29 @@
//
-// Prefix header for all source files of the 'JSTokenField' target in the 'JSTokenField' project
+// Copyright 2011 James Addyman (JamSoft). All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without modification, are
+// permitted provided that the following conditions are met:
+//
+// 1. Redistributions of source code must retain the above copyright notice, this list of
+// conditions and the following disclaimer.
+//
+// 2. Redistributions in binary form must reproduce the above copyright notice, this list
+// of conditions and the following disclaimer in the documentation and/or other materials
+// provided with the distribution.
+//
+// THIS SOFTWARE IS PROVIDED BY JAMES ADDYMAN (JAMSOFT) ``AS IS'' AND ANY EXPRESS OR IMPLIED
+// WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+// FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JAMES ADDYMAN (JAMSOFT) OR
+// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+// ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+// ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//
+// The views and conclusions contained in the software and documentation are those of the
+// authors and should not be interpreted as representing official policies, either expressed
+// or implied, of James Addyman (JamSoft).
//
#import <Availability.h>
@@ -1,19 +0,0 @@
-//
-// JSTokenFieldAppDelegate.h
-// JSTokenField
-//
-// Created by James Addyman on 19/08/2011.
-// Copyright 2011 JamSoft. All rights reserved.
-//
-
-#import <UIKit/UIKit.h>
-
-@class JSTokenFieldViewController;
-
-@interface JSTokenFieldAppDelegate : UIResponder <UIApplicationDelegate>
-
-@property (strong, nonatomic) UIWindow *window;
-
-@property (strong, nonatomic) JSTokenFieldViewController *viewController;
-
-@end
@@ -1,67 +0,0 @@
-//
-// JSTokenFieldAppDelegate.m
-// JSTokenField
-//
-// Created by James Addyman on 19/08/2011.
-// Copyright 2011 JamSoft. All rights reserved.
-//
-
-#import "JSTokenFieldAppDelegate.h"
-
-#import "JSTokenFieldViewController.h"
-
-@implementation JSTokenFieldAppDelegate
-
-@synthesize window = _window;
-@synthesize viewController = _viewController;
-
-- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
-{
- self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
- // Override point for customization after application launch.
- self.viewController = [[JSTokenFieldViewController alloc] initWithNibName:@"JSTokenFieldViewController" bundle:nil];
- self.window.rootViewController = self.viewController;
- [self.window makeKeyAndVisible];
- return YES;
-}
-
-- (void)applicationWillResignActive:(UIApplication *)application
-{
- /*
- Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
- Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
- */
-}
-
-- (void)applicationDidEnterBackground:(UIApplication *)application
-{
- /*
- Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
- If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
- */
-}
-
-- (void)applicationWillEnterForeground:(UIApplication *)application
-{
- /*
- Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
- */
-}
-
-- (void)applicationDidBecomeActive:(UIApplication *)application
-{
- /*
- Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
- */
-}
-
-- (void)applicationWillTerminate:(UIApplication *)application
-{
- /*
- Called when the application is about to terminate.
- Save data if appropriate.
- See also applicationDidEnterBackground:.
- */
-}
-
-@end
Oops, something went wrong.

0 comments on commit 4cd6015

Please sign in to comment.