Skip to content

Commit

Permalink
Cleaning up for Xcode 7.
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin Ross authored and Devin Ross committed Sep 25, 2015
1 parent ec78694 commit 72a7811
Show file tree
Hide file tree
Showing 16 changed files with 149 additions and 31 deletions.
2 changes: 1 addition & 1 deletion Examples/Classes/CalendarDayViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

@implementation CalendarDayViewController

- (NSUInteger) supportedInterfaceOrientations{
- (UIInterfaceOrientationMask) supportedInterfaceOrientations{
return UIInterfaceOrientationMaskPortrait;
}
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
Expand Down
2 changes: 1 addition & 1 deletion Examples/Classes/CalendarMonthViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#pragma mark - CalendarMonthViewController
@implementation CalendarMonthViewController

- (NSUInteger) supportedInterfaceOrientations{
- (UIInterfaceOrientationMask) supportedInterfaceOrientations{
return UIInterfaceOrientationMaskPortrait;
}
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
Expand Down
2 changes: 1 addition & 1 deletion Examples/Classes/CoverflowViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
#pragma mark - CoverflowViewController
@implementation CoverflowViewController

- (NSUInteger) supportedInterfaceOrientations{
- (UIInterfaceOrientationMask) supportedInterfaceOrientations{
return UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight;
}
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
Expand Down
2 changes: 1 addition & 1 deletion Examples/Classes/RootViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ - (instancetype) initWithStyle:(UITableViewStyle)s{
self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStylePlain target:nil action:nil];
return self;
}
- (NSUInteger) supportedInterfaceOrientations{
- (UIInterfaceOrientationMask) supportedInterfaceOrientations{
return [UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad ? UIInterfaceOrientationMaskAll : UIInterfaceOrientationMaskPortrait;
}
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
Expand Down
2 changes: 1 addition & 1 deletion Examples/Examples-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down
5 changes: 4 additions & 1 deletion Examples/Examples.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0510;
LastUpgradeCheck = 0700;
};
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Examples" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -502,6 +502,7 @@
"-ObjC",
"-all_load",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = unviersaldemo;
TARGETED_DEVICE_FAMILY = "1,2";
};
Expand Down Expand Up @@ -533,6 +534,7 @@
"-ObjC",
"-all_load",
);
PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = Examples;
TARGETED_DEVICE_FAMILY = "1,2";
VALIDATE_PRODUCT = YES;
Expand All @@ -544,6 +546,7 @@
buildSettings = {
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
ENABLE_TESTABILITY = YES;
GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = "";
GCC_WARN_ABOUT_RETURN_TYPE = YES;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
<false/>
<key>IDESourceControlProjectIdentifier</key>
<string>422A1A24-BF3B-41EA-AA02-E37C392352B8</string>
<key>IDESourceControlProjectName</key>
<string>Examples</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2</key>
<string>github.com:devinross/curry.git</string>
<key>EE5017F42780957232AFF14DD75D9A51833942BE</key>
<string>github.com:devinross/tapkulibrary.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>Examples/Examples.xcodeproj</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2</key>
<string>../../../Vendor/curry/</string>
<key>EE5017F42780957232AFF14DD75D9A51833942BE</key>
<string>../../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>github.com:devinross/tapkulibrary.git</string>
<key>IDESourceControlProjectVersion</key>
<integer>111</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>EE5017F42780957232AFF14DD75D9A51833942BE</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2</string>
<key>IDESourceControlWCCName</key>
<string>curry</string>
</dict>
<dict>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.git</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>EE5017F42780957232AFF14DD75D9A51833942BE</string>
<key>IDESourceControlWCCName</key>
<string>tapkulibrary</string>
</dict>
</array>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "EE5017F42780957232AFF14DD75D9A51833942BE",
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {

},
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
"EE5017F42780957232AFF14DD75D9A51833942BE" : 0,
"771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2" : 0
},
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "422A1A24-BF3B-41EA-AA02-E37C392352B8",
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
"EE5017F42780957232AFF14DD75D9A51833942BE" : "tapkulibrary",
"771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2" : "tapkulibrary\/Vendor\/curry"
},
"DVTSourceControlWorkspaceBlueprintNameKey" : "Examples",
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "Examples\/Examples.xcodeproj",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "github.com:devinross\/curry.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2"
},
{
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "github.com:devinross\/tapkulibrary.git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "EE5017F42780957232AFF14DD75D9A51833942BE"
}
]
}
2 changes: 1 addition & 1 deletion LogicTests-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIdentifier</key>
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundlePackageType</key>
Expand Down
18 changes: 0 additions & 18 deletions TapkuLibrary.podspec

This file was deleted.

2 changes: 1 addition & 1 deletion TapkuLibrary/TKAlertViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ - (instancetype) init{
return self;
}

- (NSUInteger) supportedInterfaceOrientations{
- (UIInterfaceOrientationMask) supportedInterfaceOrientations{
if([UIDevice currentDevice].padIdiom)
return UIInterfaceOrientationMaskAll;
return UIInterfaceOrientationMaskPortrait;
Expand Down
2 changes: 1 addition & 1 deletion TapkuLibrary/TapkuLibrary.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
#import "TKGlobal.h"

// ADDITIONS
#import "NSDate+TKCategory.h"
//#import "NSDate+TKCategory.h"
#import "UIImage+TKCategory.h"


Expand Down
2 changes: 1 addition & 1 deletion Vendor/curry
Submodule curry updated 50 files
+6 −3 Examples/Examples.xcodeproj/project.pbxproj
+1 −1 Examples/Examples/CustomKeyboardViewController.m
+ Examples/Examples/Images.xcassets/AppIcon.appiconset/120 - iPhone Copy [email protected]
+ Examples/Examples/Images.xcassets/AppIcon.appiconset/120 - iPhone Copy [email protected]
+ Examples/Examples/Images.xcassets/AppIcon.appiconset/120 - iPhone Copy [email protected]
+ Examples/Examples/Images.xcassets/AppIcon.appiconset/120 - iPhone Copy [email protected]
+2 −2 Examples/Examples/Images.xcassets/AppIcon.appiconset/Contents.json
+1 −1 Examples/Examples/Info.plist
+ Examples/appicon.png
+6 −3 README.mdown
+672 −8 curry.xcodeproj/project.pbxproj
+12 −0 curry/Categories/Foundation/NSString+TKCategory.h
+8 −9 curry/Categories/Foundation/NSString+TKCategory.m
+4 −5 curry/Categories/UIKit/Base/UIApplication+TKCategory.m
+44 −0 curry/Categories/UIKit/Base/UITraitCollection+TKCategory.h
+58 −0 curry/Categories/UIKit/Base/UITraitCollection+TKCategory.m
+56 −0 curry/Categories/UIKit/Views/UIPanGestureRecognizer+VelocityDirection.h
+66 −0 curry/Categories/UIKit/Views/UIPanGestureRecognizer+VelocityDirection.m
+49 −0 curry/Categories/UIKit/Views/UIScrollView+Positioning.h
+65 −0 curry/Categories/UIKit/Views/UIScrollView+Positioning.m
+1 −0 curry/Categories/UIKit/Views/UIScrollview+TKCategory.m
+49 −0 curry/Categories/UIKit/Views/UIView+GestureRecognizerBlock.h
+49 −0 curry/Categories/UIKit/Views/UIView+GestureRecognizerBlock.m
+98 −0 curry/Categories/UIKit/Views/UIView+Positioning.h
+170 −0 curry/Categories/UIKit/Views/UIView+Positioning.m
+9 −0 curry/Headers.h
+2 −1 curry/Supporting Files/CurryImages.xcassets/keyboard-backspace-key.imageset/Contents.json
+ curry/Supporting Files/CurryImages.xcassets/keyboard-backspace-key.imageset/[email protected]
+2 −1 curry/Supporting Files/CurryImages.xcassets/keyboard-next-key.imageset/Contents.json
+ curry/Supporting Files/CurryImages.xcassets/keyboard-next-key.imageset/[email protected]
+1 −187 curry/TKFoundation.h
+220 −0 curry/TKUIKit.h
+3 −2 curry/ViewControllers/TKCardModalViewController.m
+1 −1 curry/Views/TKDecimalInputView.m
+1 −0 curry/Views/TKDecimalInputWithNextKeyView.m
+2 −0 curry/Views/TKInputKey.m
+28 −2 curry/Views/TKInputView.m
+1 −0 curry/Views/TKNumberInputView.m
+2 −0 curry/Views/TKNumberInputWithNextKeyView.m
+2 −1 curry/Views/TKSectionedScrollView.m
+28 −0 curryMac/Info.plist
+27 −0 curryMac/MacHeader.h
+20 −0 curryMac/curryMac.h
+98 −0 curryTV/Header.h
+26 −0 curryTV/Info.plist
+45 −0 curryTV/curryTV.h
+9 −3 curryTests/NSStringTests.m
+26 −0 curryWatch/Info.plist
+28 −0 curryWatch/WatchHeaders.h
+20 −0 curryWatch/curryWatch.h
52 changes: 51 additions & 1 deletion tapku.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,27 @@
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
2002F2361BB54A0900B565DA /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 20F156331B44A31600D49391 /* curry.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 20CEA42B1BA1105D0009D60C;
remoteInfo = curryTV;
};
2002F2381BB54A0900B565DA /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 20F156331B44A31600D49391 /* curry.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 2010DCB01BB0E40E00810A98;
remoteInfo = curryWatch;
};
2002F23A1BB54A0900B565DA /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 20F156331B44A31600D49391 /* curry.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 20B5FE1F1BB3613F00C0F848;
remoteInfo = curryMac;
};
20F156391B44A31700D49391 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 20F156331B44A31600D49391 /* curry.xcodeproj */;
Expand Down Expand Up @@ -240,6 +261,9 @@
children = (
20F1563A1B44A31700D49391 /* curry.framework */,
20F1563C1B44A31700D49391 /* curryTests.xctest */,
2002F2371BB54A0900B565DA /* curryTV.framework */,
2002F2391BB54A0900B565DA /* curryWatch.framework */,
2002F23B1BB54A0900B565DA /* curryMac.framework */,
);
name = Products;
sourceTree = "<group>";
Expand Down Expand Up @@ -512,7 +536,7 @@
isa = PBXProject;
attributes = {
CLASSPREFIX = TK;
LastUpgradeCheck = 0510;
LastUpgradeCheck = 0700;
TargetAttributes = {
204C73E01ABA0EA600A68988 = {
CreatedOnToolsVersion = 6.3;
Expand Down Expand Up @@ -547,6 +571,27 @@
/* End PBXProject section */

/* Begin PBXReferenceProxy section */
2002F2371BB54A0900B565DA /* curryTV.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = curryTV.framework;
remoteRef = 2002F2361BB54A0900B565DA /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
2002F2391BB54A0900B565DA /* curryWatch.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = curryWatch.framework;
remoteRef = 2002F2381BB54A0900B565DA /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
2002F23B1BB54A0900B565DA /* curryMac.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = curryMac.framework;
remoteRef = 2002F23A1BB54A0900B565DA /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
20F1563A1B44A31700D49391 /* curry.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
Expand Down Expand Up @@ -649,6 +694,7 @@
1DEB922308733DC00010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ENABLE_TESTABILITY = YES;
FRAMEWORK_SEARCH_PATHS = "";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0;
Expand Down Expand Up @@ -726,6 +772,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = YES;
PRODUCT_BUNDLE_IDENTIFIER = "com.devinross.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -774,6 +821,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MTL_ENABLE_DEBUG_INFO = NO;
PRODUCT_BUNDLE_IDENTIFIER = "com.devinross.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = "1,2";
Expand Down Expand Up @@ -808,6 +856,7 @@
"-framework",
UIKit,
);
PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = LogicTests;
SDKROOT = iphoneos;
};
Expand Down Expand Up @@ -837,6 +886,7 @@
"-framework",
UIKit,
);
PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:rfc1034identifier}";
PRODUCT_NAME = LogicTests;
SDKROOT = iphoneos;
ZERO_LINK = NO;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2</key>
<string>../..Vendor/curry/</string>
<string>../..Vendor/curry</string>
<key>EE5017F42780957232AFF14DD75D9A51833942BE</key>
<string>../..</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion tapku/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>com.devinross.$(PRODUCT_NAME:rfc1034identifier)</string>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down

0 comments on commit 72a7811

Please sign in to comment.