Skip to content

Commit

Permalink
added chapter 18
Browse files Browse the repository at this point in the history
  • Loading branch information
appsunited committed Aug 21, 2013
1 parent 7aa99e8 commit 733d34e
Show file tree
Hide file tree
Showing 28 changed files with 1,192 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
262 changes: 262 additions & 0 deletions 40-18.0-BmiTime/BmiTime.xcodeproj/project.pbxproj
@@ -0,0 +1,262 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objects = {

/* Begin PBXBuildFile section */
D6226BA017C12791001B30BD /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D6226B9F17C12791001B30BD /* Foundation.framework */; };
D6226BA317C12791001B30BD /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = D6226BA217C12791001B30BD /* main.m */; };
D6226BA717C12791001B30BD /* BmiTime.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = D6226BA617C12791001B30BD /* BmiTime.1 */; };
D6226BAF17C1280E001B30BD /* Person.m in Sources */ = {isa = PBXBuildFile; fileRef = D6226BAE17C1280E001B30BD /* Person.m */; };
D6DEFDD917C5036700A43106 /* Employee.m in Sources */ = {isa = PBXBuildFile; fileRef = D6DEFDD817C5036700A43106 /* Employee.m */; };
/* End PBXBuildFile section */

/* Begin PBXCopyFilesBuildPhase section */
D6226B9A17C12791001B30BD /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
buildActionMask = 2147483647;
dstPath = /usr/share/man/man1/;
dstSubfolderSpec = 0;
files = (
D6226BA717C12791001B30BD /* BmiTime.1 in CopyFiles */,
);
runOnlyForDeploymentPostprocessing = 1;
};
/* End PBXCopyFilesBuildPhase section */

/* Begin PBXFileReference section */
D6226B9C17C12791001B30BD /* BmiTime */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = BmiTime; sourceTree = BUILT_PRODUCTS_DIR; };
D6226B9F17C12791001B30BD /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
D6226BA217C12791001B30BD /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; };
D6226BA517C12791001B30BD /* BmiTime-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "BmiTime-Prefix.pch"; sourceTree = "<group>"; };
D6226BA617C12791001B30BD /* BmiTime.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = BmiTime.1; sourceTree = "<group>"; };
D6226BAD17C1280E001B30BD /* Person.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Person.h; sourceTree = "<group>"; };
D6226BAE17C1280E001B30BD /* Person.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Person.m; sourceTree = "<group>"; };
D6DEFDD717C5036700A43106 /* Employee.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Employee.h; sourceTree = "<group>"; };
D6DEFDD817C5036700A43106 /* Employee.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Employee.m; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
D6226B9917C12791001B30BD /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D6226BA017C12791001B30BD /* Foundation.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
D6226B9317C12791001B30BD = {
isa = PBXGroup;
children = (
D6226BA117C12791001B30BD /* BmiTime */,
D6226B9E17C12791001B30BD /* Frameworks */,
D6226B9D17C12791001B30BD /* Products */,
);
sourceTree = "<group>";
};
D6226B9D17C12791001B30BD /* Products */ = {
isa = PBXGroup;
children = (
D6226B9C17C12791001B30BD /* BmiTime */,
);
name = Products;
sourceTree = "<group>";
};
D6226B9E17C12791001B30BD /* Frameworks */ = {
isa = PBXGroup;
children = (
D6226B9F17C12791001B30BD /* Foundation.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
D6226BA117C12791001B30BD /* BmiTime */ = {
isa = PBXGroup;
children = (
D6226BA217C12791001B30BD /* main.m */,
D6226BAD17C1280E001B30BD /* Person.h */,
D6226BAE17C1280E001B30BD /* Person.m */,
D6DEFDD717C5036700A43106 /* Employee.h */,
D6DEFDD817C5036700A43106 /* Employee.m */,
D6226BA617C12791001B30BD /* BmiTime.1 */,
D6226BA417C12791001B30BD /* Supporting Files */,
);
path = BmiTime;
sourceTree = "<group>";
};
D6226BA417C12791001B30BD /* Supporting Files */ = {
isa = PBXGroup;
children = (
D6226BA517C12791001B30BD /* BmiTime-Prefix.pch */,
);
name = "Supporting Files";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXNativeTarget section */
D6226B9B17C12791001B30BD /* BmiTime */ = {
isa = PBXNativeTarget;
buildConfigurationList = D6226BAA17C12791001B30BD /* Build configuration list for PBXNativeTarget "BmiTime" */;
buildPhases = (
D6226B9817C12791001B30BD /* Sources */,
D6226B9917C12791001B30BD /* Frameworks */,
D6226B9A17C12791001B30BD /* CopyFiles */,
);
buildRules = (
);
dependencies = (
);
name = BmiTime;
productName = BmiTime;
productReference = D6226B9C17C12791001B30BD /* BmiTime */;
productType = "com.apple.product-type.tool";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
D6226B9417C12791001B30BD /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 0460;
ORGANIZATIONNAME = appsunited;
};
buildConfigurationList = D6226B9717C12791001B30BD /* Build configuration list for PBXProject "BmiTime" */;
compatibilityVersion = "Xcode 3.2";
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
en,
);
mainGroup = D6226B9317C12791001B30BD;
productRefGroup = D6226B9D17C12791001B30BD /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
D6226B9B17C12791001B30BD /* BmiTime */,
);
};
/* End PBXProject section */

/* Begin PBXSourcesBuildPhase section */
D6226B9817C12791001B30BD /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
D6226BA317C12791001B30BD /* main.m in Sources */,
D6226BAF17C1280E001B30BD /* Person.m in Sources */,
D6DEFDD917C5036700A43106 /* Employee.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin XCBuildConfiguration section */
D6226BA817C12791001B30BD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = NO;
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
"DEBUG=1",
"$(inherited)",
);
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.8;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = macosx;
};
name = Debug;
};
D6226BA917C12791001B30BD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_64_BIT)";
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
CLANG_CXX_LIBRARY = "libc++";
CLANG_ENABLE_OBJC_ARC = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
COPY_PHASE_STRIP = YES;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_ENABLE_OBJC_EXCEPTIONS = YES;
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
MACOSX_DEPLOYMENT_TARGET = 10.8;
SDKROOT = macosx;
};
name = Release;
};
D6226BAB17C12791001B30BD /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "BmiTime/BmiTime-Prefix.pch";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Debug;
};
D6226BAC17C12791001B30BD /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "BmiTime/BmiTime-Prefix.pch";
PRODUCT_NAME = "$(TARGET_NAME)";
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
D6226B9717C12791001B30BD /* Build configuration list for PBXProject "BmiTime" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D6226BA817C12791001B30BD /* Debug */,
D6226BA917C12791001B30BD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
D6226BAA17C12791001B30BD /* Build configuration list for PBXNativeTarget "BmiTime" */ = {
isa = XCConfigurationList;
buildConfigurations = (
D6226BAB17C12791001B30BD /* Debug */,
D6226BAC17C12791001B30BD /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = D6226B9417C12791001B30BD /* Project object */;
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
@@ -0,0 +1,86 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0460"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D6226B9B17C12791001B30BD"
BuildableName = "BmiTime"
BlueprintName = "BmiTime"
ReferencedContainer = "container:BmiTime.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
buildConfiguration = "Debug">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D6226B9B17C12791001B30BD"
BuildableName = "BmiTime"
BlueprintName = "BmiTime"
ReferencedContainer = "container:BmiTime.xcodeproj">
</BuildableReference>
</MacroExpansion>
</TestAction>
<LaunchAction
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
buildConfiguration = "Debug"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
allowLocationSimulation = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D6226B9B17C12791001B30BD"
BuildableName = "BmiTime"
BlueprintName = "BmiTime"
ReferencedContainer = "container:BmiTime.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
buildConfiguration = "Release"
debugDocumentVersioning = "YES">
<BuildableProductRunnable>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "D6226B9B17C12791001B30BD"
BuildableName = "BmiTime"
BlueprintName = "BmiTime"
ReferencedContainer = "container:BmiTime.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
@@ -0,0 +1,22 @@
<?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>SchemeUserState</key>
<dict>
<key>BmiTime.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>D6226B9B17C12791001B30BD</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>
7 changes: 7 additions & 0 deletions 40-18.0-BmiTime/BmiTime/BmiTime-Prefix.pch
@@ -0,0 +1,7 @@
//
// Prefix header for all source files of the 'BmiTime' target in the 'BmiTime' project
//

#ifdef __OBJC__
#import <Foundation/Foundation.h>
#endif

0 comments on commit 733d34e

Please sign in to comment.