Skip to content

Commit 72a7811

Browse files
Devin RossDevin Ross
authored andcommitted
Cleaning up for Xcode 7.
1 parent ec78694 commit 72a7811

File tree

16 files changed

+149
-31
lines changed

16 files changed

+149
-31
lines changed

Examples/Classes/CalendarDayViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
@implementation CalendarDayViewController
3535

36-
- (NSUInteger) supportedInterfaceOrientations{
36+
- (UIInterfaceOrientationMask) supportedInterfaceOrientations{
3737
return UIInterfaceOrientationMaskPortrait;
3838
}
3939
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {

Examples/Classes/CalendarMonthViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#pragma mark - CalendarMonthViewController
3535
@implementation CalendarMonthViewController
3636

37-
- (NSUInteger) supportedInterfaceOrientations{
37+
- (UIInterfaceOrientationMask) supportedInterfaceOrientations{
3838
return UIInterfaceOrientationMaskPortrait;
3939
}
4040
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {

Examples/Classes/CoverflowViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
#pragma mark - CoverflowViewController
3434
@implementation CoverflowViewController
3535

36-
- (NSUInteger) supportedInterfaceOrientations{
36+
- (UIInterfaceOrientationMask) supportedInterfaceOrientations{
3737
return UIInterfaceOrientationMaskLandscapeLeft | UIInterfaceOrientationMaskLandscapeRight;
3838
}
3939
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {

Examples/Classes/RootViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ - (instancetype) initWithStyle:(UITableViewStyle)s{
7070
self.navigationItem.backBarButtonItem = [[UIBarButtonItem alloc] initWithTitle:@"" style:UIBarButtonItemStylePlain target:nil action:nil];
7171
return self;
7272
}
73-
- (NSUInteger) supportedInterfaceOrientations{
73+
- (UIInterfaceOrientationMask) supportedInterfaceOrientations{
7474
return [UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPad ? UIInterfaceOrientationMaskAll : UIInterfaceOrientationMaskPortrait;
7575
}
7676
- (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {

Examples/Examples-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<key>CFBundleExecutable</key>
1010
<string>${EXECUTABLE_NAME}</string>
1111
<key>CFBundleIdentifier</key>
12-
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
12+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1313
<key>CFBundleInfoDictionaryVersion</key>
1414
<string>6.0</string>
1515
<key>CFBundleName</key>

Examples/Examples.xcodeproj/project.pbxproj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@
367367
29B97313FDCFA39411CA2CEA /* Project object */ = {
368368
isa = PBXProject;
369369
attributes = {
370-
LastUpgradeCheck = 0510;
370+
LastUpgradeCheck = 0700;
371371
};
372372
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "Examples" */;
373373
compatibilityVersion = "Xcode 3.2";
@@ -502,6 +502,7 @@
502502
"-ObjC",
503503
"-all_load",
504504
);
505+
PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:rfc1034identifier}";
505506
PRODUCT_NAME = unviersaldemo;
506507
TARGETED_DEVICE_FAMILY = "1,2";
507508
};
@@ -533,6 +534,7 @@
533534
"-ObjC",
534535
"-all_load",
535536
);
537+
PRODUCT_BUNDLE_IDENTIFIER = "com.yourcompany.${PRODUCT_NAME:rfc1034identifier}";
536538
PRODUCT_NAME = Examples;
537539
TARGETED_DEVICE_FAMILY = "1,2";
538540
VALIDATE_PRODUCT = YES;
@@ -544,6 +546,7 @@
544546
buildSettings = {
545547
CODE_SIGN_IDENTITY = "iPhone Developer";
546548
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
549+
ENABLE_TESTABILITY = YES;
547550
GCC_C_LANGUAGE_STANDARD = c99;
548551
GCC_VERSION = "";
549552
GCC_WARN_ABOUT_RETURN_TYPE = YES;
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDESourceControlProjectFavoriteDictionaryKey</key>
6+
<false/>
7+
<key>IDESourceControlProjectIdentifier</key>
8+
<string>422A1A24-BF3B-41EA-AA02-E37C392352B8</string>
9+
<key>IDESourceControlProjectName</key>
10+
<string>Examples</string>
11+
<key>IDESourceControlProjectOriginsDictionary</key>
12+
<dict>
13+
<key>771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2</key>
14+
<string>github.com:devinross/curry.git</string>
15+
<key>EE5017F42780957232AFF14DD75D9A51833942BE</key>
16+
<string>github.com:devinross/tapkulibrary.git</string>
17+
</dict>
18+
<key>IDESourceControlProjectPath</key>
19+
<string>Examples/Examples.xcodeproj</string>
20+
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
21+
<dict>
22+
<key>771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2</key>
23+
<string>../../../Vendor/curry/</string>
24+
<key>EE5017F42780957232AFF14DD75D9A51833942BE</key>
25+
<string>../../..</string>
26+
</dict>
27+
<key>IDESourceControlProjectURL</key>
28+
<string>github.com:devinross/tapkulibrary.git</string>
29+
<key>IDESourceControlProjectVersion</key>
30+
<integer>111</integer>
31+
<key>IDESourceControlProjectWCCIdentifier</key>
32+
<string>EE5017F42780957232AFF14DD75D9A51833942BE</string>
33+
<key>IDESourceControlProjectWCConfigurations</key>
34+
<array>
35+
<dict>
36+
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
37+
<string>public.vcs.git</string>
38+
<key>IDESourceControlWCCIdentifierKey</key>
39+
<string>771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2</string>
40+
<key>IDESourceControlWCCName</key>
41+
<string>curry</string>
42+
</dict>
43+
<dict>
44+
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
45+
<string>public.vcs.git</string>
46+
<key>IDESourceControlWCCIdentifierKey</key>
47+
<string>EE5017F42780957232AFF14DD75D9A51833942BE</string>
48+
<key>IDESourceControlWCCName</key>
49+
<string>tapkulibrary</string>
50+
</dict>
51+
</array>
52+
</dict>
53+
</plist>
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "EE5017F42780957232AFF14DD75D9A51833942BE",
3+
"DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : {
4+
5+
},
6+
"DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : {
7+
"EE5017F42780957232AFF14DD75D9A51833942BE" : 0,
8+
"771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2" : 0
9+
},
10+
"DVTSourceControlWorkspaceBlueprintIdentifierKey" : "422A1A24-BF3B-41EA-AA02-E37C392352B8",
11+
"DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : {
12+
"EE5017F42780957232AFF14DD75D9A51833942BE" : "tapkulibrary",
13+
"771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2" : "tapkulibrary\/Vendor\/curry"
14+
},
15+
"DVTSourceControlWorkspaceBlueprintNameKey" : "Examples",
16+
"DVTSourceControlWorkspaceBlueprintVersion" : 204,
17+
"DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "Examples\/Examples.xcodeproj",
18+
"DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [
19+
{
20+
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "github.com:devinross\/curry.git",
21+
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
22+
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "771CDDC8828BA5C85B70BAEAFD5C3B58BF9E0AE2"
23+
},
24+
{
25+
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "github.com:devinross\/tapkulibrary.git",
26+
"DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git",
27+
"DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "EE5017F42780957232AFF14DD75D9A51833942BE"
28+
}
29+
]
30+
}

LogicTests-Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<key>CFBundleExecutable</key>
88
<string>${EXECUTABLE_NAME}</string>
99
<key>CFBundleIdentifier</key>
10-
<string>com.yourcompany.${PRODUCT_NAME:rfc1034identifier}</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundlePackageType</key>

TapkuLibrary.podspec

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)