From: Joseph Spiros Date: Tue, 28 Oct 2003 10:54:00 +0000 (+0000) Subject: Moving ITFoundation to an Xcode project. This isn't a converted project, X-Git-Tag: v0.1~10 X-Git-Url: http://git.ithinksw.org/ITFoundation.git/commitdiff_plain/4758d7dc20e84588dde047a8a3768ef3f520eec7 Moving ITFoundation to an Xcode project. This isn't a converted project, I started from scratch (easier in order to enable new PCH stuff, and bad settings) --- diff --git a/English.lproj/InfoPlist.strings b/English.lproj/InfoPlist.strings index edf2266..d5682bf 100755 Binary files a/English.lproj/InfoPlist.strings and b/English.lproj/InfoPlist.strings differ diff --git a/ITFoundation.xcode/project.pbxproj b/ITFoundation.xcode/project.pbxproj new file mode 100755 index 0000000..29b5245 --- /dev/null +++ b/ITFoundation.xcode/project.pbxproj @@ -0,0 +1,499 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 39; + objects = { + 014CEA440018CDF011CA2923 = { + buildRules = ( + ); + buildSettings = { + COPY_PHASE_STRIP = NO; + DEBUGGING_SYMBOLS = YES; + GCC_DYNAMIC_NO_PIC = NO; + GCC_ENABLE_FIX_AND_CONTINUE = YES; + GCC_GENERATE_DEBUGGING_SYMBOLS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + OPTIMIZATION_CFLAGS = "-O0"; + ZERO_LINK = YES; + }; + isa = PBXBuildStyle; + name = Development; + }; + 014CEA450018CDF011CA2923 = { + buildRules = ( + ); + buildSettings = { + COPY_PHASE_STRIP = YES; + GCC_ENABLE_FIX_AND_CONTINUE = NO; + ZERO_LINK = NO; + }; + isa = PBXBuildStyle; + name = Deployment; + }; +//010 +//011 +//012 +//013 +//014 +//030 +//031 +//032 +//033 +//034 + 034768DFFF38A50411DB9C8B = { + children = ( + 8DC2EF5B0486A6940098B216, + ); + isa = PBXGroup; + name = Products; + refType = 4; + sourceTree = ""; + }; +//030 +//031 +//032 +//033 +//034 +//080 +//081 +//082 +//083 +//084 + 0867D690FE84028FC02AAC07 = { + buildSettings = { + }; + buildStyles = ( + 014CEA440018CDF011CA2923, + 014CEA450018CDF011CA2923, + ); + hasScannedForEncodings = 1; + isa = PBXProject; + mainGroup = 0867D691FE84028FC02AAC07; + productRefGroup = 034768DFFF38A50411DB9C8B; + projectDirPath = ""; + targets = ( + 8DC2EF4F0486A6940098B216, + ); + }; + 0867D691FE84028FC02AAC07 = { + children = ( + 08FB77AEFE84172EC02AAC07, + 32C88DFF0371C24200C91783, + 089C1665FE841158C02AAC07, + 0867D69AFE84028FC02AAC07, + 034768DFFF38A50411DB9C8B, + ); + isa = PBXGroup; + name = ITFoundation; + refType = 4; + sourceTree = ""; + }; + 0867D69AFE84028FC02AAC07 = { + children = ( + 1058C7B0FEA5585E11CA2CBB, + 1058C7B2FEA5585E11CA2CBB, + ); + isa = PBXGroup; + name = "External Frameworks and Libraries"; + refType = 4; + sourceTree = ""; + }; + 0867D69BFE84028FC02AAC07 = { + expectedFileType = wrapper.framework; + fallbackIsa = PBXFileReference; + isa = PBXFrameworkReference; + name = Foundation.framework; + path = /System/Library/Frameworks/Foundation.framework; + refType = 0; + sourceTree = ""; + }; + 0867D6A5FE840307C02AAC07 = { + expectedFileType = wrapper.framework; + fallbackIsa = PBXFileReference; + isa = PBXFrameworkReference; + name = AppKit.framework; + path = /System/Library/Frameworks/AppKit.framework; + refType = 0; + sourceTree = ""; + }; + 089C1665FE841158C02AAC07 = { + children = ( + 8DC2EF5A0486A6940098B216, + 089C1666FE841158C02AAC07, + ); + isa = PBXGroup; + name = Resources; + refType = 4; + sourceTree = ""; + }; + 089C1666FE841158C02AAC07 = { + children = ( + 089C1667FE841158C02AAC07, + ); + isa = PBXVariantGroup; + name = InfoPlist.strings; + refType = 4; + sourceTree = ""; + }; + 089C1667FE841158C02AAC07 = { + expectedFileType = text.plist.strings; + fileEncoding = 10; + isa = PBXFileReference; + name = English; + path = English.lproj/InfoPlist.strings; + refType = 4; + sourceTree = ""; + }; + 08FB77AEFE84172EC02AAC07 = { + children = ( + 7CA50B2B054E77950074E1D9, + 7CA50B2C054E77950074E1D9, + 7CA50B2F054E77A00074E1D9, + 7CA50B30054E77A00074E1D9, + 7CA50B7F054E786E0074E1D9, + 7CA50B80054E786E0074E1D9, + 7CA50B8B054E787D0074E1D9, + 7CA50B8C054E787D0074E1D9, + ); + isa = PBXGroup; + name = Classes; + refType = 4; + sourceTree = ""; + }; +//080 +//081 +//082 +//083 +//084 +//100 +//101 +//102 +//103 +//104 + 1058C7B0FEA5585E11CA2CBB = { + children = ( + 1058C7B1FEA5585E11CA2CBB, + 7CA50BAA054E794B0074E1D9, + ); + isa = PBXGroup; + name = "Linked Frameworks"; + refType = 4; + sourceTree = ""; + }; + 1058C7B1FEA5585E11CA2CBB = { + expectedFileType = wrapper.framework; + fallbackIsa = PBXFileReference; + isa = PBXFrameworkReference; + name = Cocoa.framework; + path = /System/Library/Frameworks/Cocoa.framework; + refType = 0; + sourceTree = ""; + }; + 1058C7B2FEA5585E11CA2CBB = { + children = ( + 0867D69BFE84028FC02AAC07, + 0867D6A5FE840307C02AAC07, + ); + isa = PBXGroup; + name = "Other Frameworks"; + refType = 4; + sourceTree = ""; + }; +//100 +//101 +//102 +//103 +//104 +//320 +//321 +//322 +//323 +//324 + 32C88DFF0371C24200C91783 = { + children = ( + 32DBCF5E0370ADEE00C91783, + 7CA50D7D054E7C600074E1D9, + ); + isa = PBXGroup; + name = "Other Sources"; + refType = 4; + sourceTree = ""; + }; + 32DBCF5E0370ADEE00C91783 = { + expectedFileType = sourcecode.c.h; + fileEncoding = 4; + isa = PBXFileReference; + path = ITFoundation_Prefix.pch; + refType = 4; + sourceTree = ""; + }; +//320 +//321 +//322 +//323 +//324 +//7C0 +//7C1 +//7C2 +//7C3 +//7C4 + 7CA50B2B054E77950074E1D9 = { + expectedFileType = sourcecode.c.h; + fileEncoding = 4; + isa = PBXFileReference; + path = ITAppleEventCenter.h; + refType = 4; + sourceTree = ""; + }; + 7CA50B2C054E77950074E1D9 = { + expectedFileType = sourcecode.c.objc; + fileEncoding = 4; + isa = PBXFileReference; + path = ITAppleEventCenter.m; + refType = 4; + sourceTree = ""; + }; + 7CA50B2D054E77950074E1D9 = { + fileRef = 7CA50B2B054E77950074E1D9; + isa = PBXBuildFile; + settings = { + ATTRIBUTES = ( + Public, + ); + }; + }; + 7CA50B2E054E77950074E1D9 = { + fileRef = 7CA50B2C054E77950074E1D9; + isa = PBXBuildFile; + settings = { + }; + }; + 7CA50B2F054E77A00074E1D9 = { + expectedFileType = sourcecode.c.h; + fileEncoding = 4; + isa = PBXFileReference; + path = ITDebug.h; + refType = 4; + sourceTree = ""; + }; + 7CA50B30054E77A00074E1D9 = { + expectedFileType = sourcecode.c.objc; + fileEncoding = 4; + isa = PBXFileReference; + path = ITDebug.m; + refType = 4; + sourceTree = ""; + }; + 7CA50B31054E77A00074E1D9 = { + fileRef = 7CA50B2F054E77A00074E1D9; + isa = PBXBuildFile; + settings = { + ATTRIBUTES = ( + Public, + ); + }; + }; + 7CA50B32054E77A00074E1D9 = { + fileRef = 7CA50B30054E77A00074E1D9; + isa = PBXBuildFile; + settings = { + }; + }; + 7CA50B7F054E786E0074E1D9 = { + expectedFileType = sourcecode.c.objc; + fileEncoding = 4; + isa = PBXFileReference; + path = ITVirtualMemoryInfo.m; + refType = 4; + sourceTree = ""; + }; + 7CA50B80054E786E0074E1D9 = { + expectedFileType = sourcecode.c.h; + fileEncoding = 4; + isa = PBXFileReference; + path = ITVirtualMemoryInfo.h; + refType = 4; + sourceTree = ""; + }; + 7CA50B8B054E787D0074E1D9 = { + expectedFileType = sourcecode.c.objc; + fileEncoding = 4; + isa = PBXFileReference; + path = ITByteStream.m; + refType = 4; + sourceTree = ""; + }; + 7CA50B8C054E787D0074E1D9 = { + expectedFileType = sourcecode.c.h; + fileEncoding = 4; + isa = PBXFileReference; + path = ITByteStream.h; + refType = 4; + sourceTree = ""; + }; + 7CA50BAA054E794B0074E1D9 = { + expectedFileType = wrapper.framework; + isa = PBXFileReference; + name = Carbon.framework; + path = /System/Library/Frameworks/Carbon.framework; + refType = 0; + sourceTree = ""; + }; + 7CA50BAB054E794B0074E1D9 = { + fileRef = 7CA50BAA054E794B0074E1D9; + isa = PBXBuildFile; + settings = { + }; + }; + 7CA50D7D054E7C600074E1D9 = { + expectedFileType = sourcecode.c.h; + fileEncoding = 4; + isa = PBXFileReference; + path = ITFoundation.h; + refType = 4; + sourceTree = ""; + }; + 7CA50D7E054E7C600074E1D9 = { + fileRef = 7CA50D7D054E7C600074E1D9; + isa = PBXBuildFile; + settings = { + ATTRIBUTES = ( + Public, + ); + }; + }; +//7C0 +//7C1 +//7C2 +//7C3 +//7C4 +//8D0 +//8D1 +//8D2 +//8D3 +//8D4 + 8DC2EF4F0486A6940098B216 = { + buildPhases = ( + 8DC2EF500486A6940098B216, + 8DC2EF520486A6940098B216, + 8DC2EF540486A6940098B216, + 8DC2EF560486A6940098B216, + 8DC2EF580486A6940098B216, + ); + buildRules = ( + ); + buildSettings = { + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + FRAMEWORK_SEARCH_PATHS = ""; + FRAMEWORK_VERSION = A; + GCC_ENABLE_TRIGRAPHS = NO; + GCC_GENERATE_DEBUGGING_SYMBOLS = NO; + GCC_PRECOMPILE_PREFIX_HEADER = YES; + GCC_PREFIX_HEADER = ITFoundation_Prefix.pch; + GCC_WARN_ABOUT_MISSING_PROTOTYPES = NO; + GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO; + GCC_WARN_UNKNOWN_PRAGMAS = NO; + HEADER_SEARCH_PATHS = ""; + INFOPLIST_FILE = Info.plist; + INSTALL_PATH = "@executable_path/../Frameworks"; + LIBRARY_SEARCH_PATHS = ""; + LIBRARY_STYLE = Dynamic; + OTHER_LDFLAGS = ""; + PRODUCT_NAME = ITFoundation; + SECTORDER_FLAGS = ""; + WARNING_CFLAGS = "-Wmost -Wno-four-char-constants -Wno-unknown-pragmas"; + WRAPPER_EXTENSION = framework; + }; + dependencies = ( + ); + isa = PBXNativeTarget; + name = ITFoundation; + productInstallPath = "$(HOME)/Library/Frameworks"; + productName = ITFoundation; + productReference = 8DC2EF5B0486A6940098B216; + productType = "com.apple.product-type.framework"; + }; + 8DC2EF500486A6940098B216 = { + buildActionMask = 2147483647; + files = ( + 8DC2EF510486A6940098B216, + 7CA50D7E054E7C600074E1D9, + 7CA50B2D054E77950074E1D9, + 7CA50B31054E77A00074E1D9, + ); + isa = PBXHeadersBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8DC2EF510486A6940098B216 = { + fileRef = 32DBCF5E0370ADEE00C91783; + isa = PBXBuildFile; + settings = { + }; + }; + 8DC2EF520486A6940098B216 = { + buildActionMask = 2147483647; + files = ( + 8DC2EF530486A6940098B216, + ); + isa = PBXResourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8DC2EF530486A6940098B216 = { + fileRef = 089C1666FE841158C02AAC07; + isa = PBXBuildFile; + settings = { + }; + }; + 8DC2EF540486A6940098B216 = { + buildActionMask = 2147483647; + files = ( + 7CA50B2E054E77950074E1D9, + 7CA50B32054E77A00074E1D9, + ); + isa = PBXSourcesBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8DC2EF560486A6940098B216 = { + buildActionMask = 2147483647; + files = ( + 8DC2EF570486A6940098B216, + 7CA50BAB054E794B0074E1D9, + ); + isa = PBXFrameworksBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8DC2EF570486A6940098B216 = { + fileRef = 1058C7B1FEA5585E11CA2CBB; + isa = PBXBuildFile; + settings = { + }; + }; + 8DC2EF580486A6940098B216 = { + buildActionMask = 2147483647; + files = ( + ); + isa = PBXRezBuildPhase; + runOnlyForDeploymentPostprocessing = 0; + }; + 8DC2EF5A0486A6940098B216 = { + expectedFileType = text.plist; + fileEncoding = 4; + isa = PBXFileReference; + path = Info.plist; + refType = 4; + sourceTree = ""; + }; + 8DC2EF5B0486A6940098B216 = { + expectedFileType = wrapper.framework; + includeInIndex = 0; + isa = PBXFileReference; + path = ITFoundation.framework; + refType = 3; + sourceTree = BUILT_PRODUCTS_DIR; + }; + }; + rootObject = 0867D690FE84028FC02AAC07; +} diff --git a/ITFoundation_Prefix.pch b/ITFoundation_Prefix.pch new file mode 100755 index 0000000..41216ff --- /dev/null +++ b/ITFoundation_Prefix.pch @@ -0,0 +1,8 @@ +// +// Prefix header for all source files of the 'ITFoundation' target in the 'ITFoundation' project. +// + +#ifdef __OBJC__ + #import + #import +#endif diff --git a/Info.plist b/Info.plist new file mode 100755 index 0000000..4787bfa --- /dev/null +++ b/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + ITFoundation + CFBundleIconFile + + CFBundleIdentifier + com.apple.yourcocoaframework + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + FMWK + CFBundleSignature + ???? + CFBundleVersion + 1.0 + NSPrincipalClass + + + diff --git a/ShowcaseController.h b/ShowcaseController.h deleted file mode 100755 index 516094b..0000000 --- a/ShowcaseController.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// ShowcaseController.h -// ITFoundation -// -// Created by Alexander Strange on Fri Feb 14 2003. -// Copyright (c) 2003 __MyCompanyName__. All rights reserved. -// - -#import -#import -#import - -@interface ShowcaseController : NSObject { - ITInetServerSocket *server; -} - -@end diff --git a/ShowcaseController.m b/ShowcaseController.m deleted file mode 100755 index a9aff62..0000000 --- a/ShowcaseController.m +++ /dev/null @@ -1,43 +0,0 @@ -// -// ShowcaseController.m -// ITFoundation -// -// Created by Alexander Strange on Fri Feb 14 2003. -// Copyright (c) 2003 __MyCompanyName__. All rights reserved. -// - -#import "ShowcaseController.h" -#import "ITInetSocket.h" -#import -#import - - -@implementation ShowcaseController -- (void)awakeFromNib -{ - server = [[ITInetServerSocket alloc] initWithDelegate:self]; - [server setPort:1338]; - [server setServiceType:@"ittest" useForPort:NO]; - [server setServiceName:[(NSString*)SCDynamicStoreCopyComputerName(NULL,NULL) autorelease]]; - [server start]; - [ITInetSocket startAutoconnectingToService:@"ittest" delegate:self]; -} - -- (void) finishedConnecting:(ITInetSocket *)sender { - [[sender writePipe] writeBytes:"suck" len:4]; -} - -- (void) errorOccured:(ITInetSocketError)err during:(ITInetSocketState)state onSocket:(in ITInetSocket*)sender -{ -} - -- (void) newDataAdded:(ITByteStream*)sender -{ - -} - -- (void)newClientJoined:(ITInetSocket*)client -{ - [[client writePipe] writeBytes:"suck" len:4]; -} -@end diff --git a/Showcase_main.m b/Showcase_main.m deleted file mode 100755 index f633532..0000000 --- a/Showcase_main.m +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Showcase_main.m - * ITFoundation - * - * Created by Alexander Strange on Fri Feb 14 2003. - * Copyright (c) 2003 __MyCompanyName__. All rights reserved. - * - */ - -#import - -int main(int argc, const char *argv[]) -{ - return NSApplicationMain(argc,argv); -} \ No newline at end of file diff --git a/version.plist b/version.plist new file mode 100755 index 0000000..02d7a0a --- /dev/null +++ b/version.plist @@ -0,0 +1,16 @@ + + + + + BuildVersion + 38 + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1.0 + ProjectName + DevToolsWizardTemplates + SourceVersion + 2350000 + +