Skip to content

Commit

Permalink
Events, ARC, and more
Browse files Browse the repository at this point in the history
Sorry for everything lumped into one but it’s been a long time and I
didn’t do a good job keeping our internal branch (which is stuck in
svn) in sync with the this one. I know I know I’m doing it wrong! :P
This includes a bunch of modernization of the codebase including a
switch to ARC (which many of you have already done). It also includes
some rather significant changes to how events get from AppKit to UIKit,
gesture recognizers, responder chain changes (attempts to integrate
between NSResponder and UIResponder), and probably a bunch of other
stuff I’ve forgotten about. Due to a heavy focus on iOS work lately,
this code has not been extensively used or tested but it was well past
time to get it out there.
  • Loading branch information
BigZaphod committed May 16, 2014
1 parent 4f06d4d commit 8ee9330
Show file tree
Hide file tree
Showing 248 changed files with 5,491 additions and 5,227 deletions.
10 changes: 3 additions & 7 deletions AVFoundation/AVFoundation.xcodeproj/project.pbxproj
Expand Up @@ -140,7 +140,7 @@
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0460;
LastUpgradeCheck = 0510;
};
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "AVFoundation" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -202,7 +202,6 @@
INSTALL_PATH = "@executable_path/../Frameworks";
PRODUCT_NAME = AVFoundation;
SYMROOT = ../build;
VALID_ARCHS = "i386 x86_64";
WRAPPER_EXTENSION = framework;
};
name = Debug;
Expand All @@ -222,21 +221,19 @@
INSTALL_PATH = "@executable_path/../Frameworks";
PRODUCT_NAME = AVFoundation;
SYMROOT = ../build;
VALID_ARCHS = "i386 x86_64";
WRAPPER_EXTENSION = framework;
};
name = Release;
};
1DEB91B208733DA50010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.6;
MACOSX_DEPLOYMENT_TARGET = 10.7;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
Expand All @@ -245,13 +242,12 @@
1DEB91B308733DA50010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
CODE_SIGN_IDENTITY = "3rd Party Mac Developer Application";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.6;
MACOSX_DEPLOYMENT_TARGET = 10.7;
PROVISIONING_PROFILE = "";
SDKROOT = macosx;
};
Expand Down
@@ -0,0 +1,50 @@
<?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>D07BFBE5-D22F-4E7C-8EC3-D1129799E6A7</string>
<key>IDESourceControlProjectName</key>
<string>AVFoundation</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</key>
<string>svn://dev.iconfactory.net/Projects/Software/UIKit/trunk</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>AVFoundation/AVFoundation.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</key>
<string>../../..</string>
</dict>
<key>IDESourceControlProjectRepositoryRootDictionary</key>
<dict>
<key>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</key>
<string>svn://dev.iconfactory.net/Projects/Software</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>svn://dev.iconfactory.net/Projects/Software/UIKit/trunk/AVFoundation/AVFoundation.xcodeproj</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryBranchesRelativeLocationKey</key>
<string>UIKit/branches</string>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.subversion</string>
<key>IDESourceControlRepositoryTrunkRelativeLocationKey</key>
<string>UIKit/trunk</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</string>
<key>IDESourceControlWCCName</key>
<string>UIKit</string>
</dict>
</array>
</dict>
</plist>
13 changes: 7 additions & 6 deletions AddressBookUI/AddressBookUI.xcodeproj/project.pbxproj
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 45;
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -166,8 +166,11 @@
/* Begin PBXProject section */
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0510;
};
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "AddressBookUI" */;
compatibilityVersion = "Xcode 3.1";
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
Expand Down Expand Up @@ -278,26 +281,24 @@
1DEB91B208733DA50010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH = YES;
PREBINDING = NO;
SDKROOT = macosx10.6;
SDKROOT = macosx;
};
name = Debug;
};
1DEB91B308733DA50010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
SDKROOT = macosx10.6;
SDKROOT = macosx;
};
name = Release;
};
Expand Down
@@ -0,0 +1,50 @@
<?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>9F3968B1-EE4C-4FC9-9142-CB68E7E1F3AC</string>
<key>IDESourceControlProjectName</key>
<string>AddressBookUI</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</key>
<string>svn://dev.iconfactory.net/Projects/Software/UIKit/trunk</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>AddressBookUI/AddressBookUI.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</key>
<string>../../..</string>
</dict>
<key>IDESourceControlProjectRepositoryRootDictionary</key>
<dict>
<key>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</key>
<string>svn://dev.iconfactory.net/Projects/Software</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>svn://dev.iconfactory.net/Projects/Software/UIKit/trunk/AddressBookUI/AddressBookUI.xcodeproj</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryBranchesRelativeLocationKey</key>
<string>UIKit/branches</string>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.subversion</string>
<key>IDESourceControlRepositoryTrunkRelativeLocationKey</key>
<string>UIKit/trunk</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</string>
<key>IDESourceControlWCCName</key>
<string>UIKit</string>
</dict>
</array>
</dict>
</plist>
12 changes: 4 additions & 8 deletions AssetsLibrary/AssetsLibrary.xcodeproj/project.pbxproj
Expand Up @@ -161,7 +161,7 @@
0867D690FE84028FC02AAC07 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0460;
LastUpgradeCheck = 0510;
};
buildConfigurationList = 1DEB91B108733DA50010E9CD /* Build configuration list for PBXProject "AssetsLibrary" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -227,7 +227,6 @@
INSTALL_PATH = "@executable_path/../Frameworks";
PRODUCT_NAME = AssetsLibrary;
SYMROOT = ../build;
VALID_ARCHS = "i386 x86_64";
WRAPPER_EXTENSION = framework;
};
name = Debug;
Expand All @@ -248,21 +247,19 @@
INSTALL_PATH = "@executable_path/../Frameworks";
PRODUCT_NAME = AssetsLibrary;
SYMROOT = ../build;
VALID_ARCHS = "i386 x86_64";
WRAPPER_EXTENSION = framework;
};
name = Release;
};
1DEB91B208733DA50010E9CD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.6;
MACOSX_DEPLOYMENT_TARGET = 10.7;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
Expand All @@ -271,13 +268,12 @@
1DEB91B308733DA50010E9CD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
CODE_SIGN_IDENTITY = "3rd Party Mac Developer Application";
CODE_SIGN_IDENTITY = "Developer ID Application: The Iconfactory";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.6;
MACOSX_DEPLOYMENT_TARGET = 10.7;
PROVISIONING_PROFILE = "";
SDKROOT = macosx;
};
Expand Down
@@ -0,0 +1,50 @@
<?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>325CD246-7DA7-4A70-BA15-8AA78CD07E08</string>
<key>IDESourceControlProjectName</key>
<string>AssetsLibrary</string>
<key>IDESourceControlProjectOriginsDictionary</key>
<dict>
<key>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</key>
<string>svn://dev.iconfactory.net/Projects/Software/UIKit/trunk</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>AssetsLibrary/AssetsLibrary.xcodeproj/project.xcworkspace</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</key>
<string>../../..</string>
</dict>
<key>IDESourceControlProjectRepositoryRootDictionary</key>
<dict>
<key>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</key>
<string>svn://dev.iconfactory.net/Projects/Software</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>svn://dev.iconfactory.net/Projects/Software/UIKit/trunk/AssetsLibrary/AssetsLibrary.xcodeproj</string>
<key>IDESourceControlProjectVersion</key>
<integer>110</integer>
<key>IDESourceControlProjectWCCIdentifier</key>
<string>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</string>
<key>IDESourceControlProjectWCConfigurations</key>
<array>
<dict>
<key>IDESourceControlRepositoryBranchesRelativeLocationKey</key>
<string>UIKit/branches</string>
<key>IDESourceControlRepositoryExtensionIdentifierKey</key>
<string>public.vcs.subversion</string>
<key>IDESourceControlRepositoryTrunkRelativeLocationKey</key>
<string>UIKit/trunk</string>
<key>IDESourceControlWCCIdentifierKey</key>
<string>4D4CCC13-43EF-4EE0-831F-37E84AFA83EA</string>
<key>IDESourceControlWCCName</key>
<string>UIKit</string>
</dict>
</array>
</dict>
</plist>
15 changes: 9 additions & 6 deletions Examples/BigApple/BigApple.xcodeproj/project.pbxproj
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 45;
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
Expand Down Expand Up @@ -211,8 +211,11 @@
/* Begin PBXProject section */
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0510;
};
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "BigApple" */;
compatibilityVersion = "Xcode 3.1";
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 1;
knownRegions = (
Expand Down Expand Up @@ -320,6 +323,7 @@
INFOPLIST_FILE = "BigApple-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
PRODUCT_NAME = BigApple;
SDKROOT = macosx;
};
name = Debug;
};
Expand All @@ -339,32 +343,31 @@
INFOPLIST_FILE = "BigApple-Info.plist";
INSTALL_PATH = "$(HOME)/Applications";
PRODUCT_NAME = BigApple;
SDKROOT = macosx;
};
name = Release;
};
C01FCF4F08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
ONLY_ACTIVE_ARCH = YES;
PREBINDING = NO;
SDKROOT = macosx10.6;
SDKROOT = macosx;
};
name = Debug;
};
C01FCF5008A954540054247B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
SDKROOT = macosx10.6;
SDKROOT = macosx;
};
name = Release;
};
Expand Down

0 comments on commit 8ee9330

Please sign in to comment.