Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: holtonma/objc_bignerd
base: a84226ffd1
...
head fork: holtonma/objc_bignerd
compare: 08706afa82
Checking mergeability… Don't worry, you can still create the pull request.
  • 13 commits
  • 38 files changed
  • 0 commit comments
  • 1 contributor
Showing with 2,193 additions and 2 deletions.
  1. +211 −0 Addresses/Addresses.xcodeproj/project.pbxproj
  2. +7 −0 Addresses/Addresses.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  3. BIN  ...s/Addresses.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
  4. +84 −0 Addresses/Addresses.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/Addresses.xcscheme
  5. +22 −0 Addresses/Addresses.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/xcschememanagement.plist
  6. +79 −0 Addresses/Addresses/Addresses.1
  7. +25 −0 Addresses/Addresses/main.c
  8. +211 −0 BMICalc/BMICalc.xcodeproj/project.pbxproj
  9. +7 −0 BMICalc/BMICalc.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  10. BIN  ...alc/BMICalc.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
  11. +84 −0 BMICalc/BMICalc.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/BMICalc.xcscheme
  12. +22 −0 BMICalc/BMICalc.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/xcschememanagement.plist
  13. +79 −0 BMICalc/BMICalc/BMICalc.1
  14. +32 −0 BMICalc/BMICalc/main.c
  15. BIN  ...ss/Coolness.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
  16. +12 −2 Coolness/Coolness/main.c
  17. +211 −0 FoundOne/FoundOne.xcodeproj/project.pbxproj
  18. +7 −0 FoundOne/FoundOne.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  19. BIN  ...ne/FoundOne.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
  20. +84 −0 FoundOne/FoundOne.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/FoundOne.xcscheme
  21. +22 −0 FoundOne/FoundOne.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/xcschememanagement.plist
  22. +79 −0 FoundOne/FoundOne/FoundOne.1
  23. +22 −0 FoundOne/FoundOne/main.c
  24. BIN  ...ers/Numbers.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
  25. +211 −0 PBR/PBR.xcodeproj/project.pbxproj
  26. +7 −0 PBR/PBR.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  27. BIN  PBR/PBR.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
  28. +84 −0 PBR/PBR.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/PBR.xcscheme
  29. +22 −0 PBR/PBR.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/xcschememanagement.plist
  30. +79 −0 PBR/PBR/PBR.1
  31. +63 −0 PBR/PBR/main.c
  32. +211 −0 nullPointer/nullPointer.xcodeproj/project.pbxproj
  33. +7 −0 nullPointer/nullPointer.xcodeproj/project.xcworkspace/contents.xcworkspacedata
  34. BIN  ...nullPointer.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
  35. +84 −0 nullPointer/nullPointer.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/nullPointer.xcscheme
  36. +22 −0 nullPointer/nullPointer.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/xcschememanagement.plist
  37. +24 −0 nullPointer/nullPointer/main.c
  38. +79 −0 nullPointer/nullPointer/nullPointer.1
View
211 Addresses/Addresses.xcodeproj/project.pbxproj
@@ -0,0 +1,211 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 8FE719CA14B2C54600229582 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 8FE719C914B2C54600229582 /* main.c */; };
+ 8FE719CC14B2C54600229582 /* Addresses.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8FE719CB14B2C54600229582 /* Addresses.1 */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 8FE719C314B2C54600229582 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = /usr/share/man/man1/;
+ dstSubfolderSpec = 0;
+ files = (
+ 8FE719CC14B2C54600229582 /* Addresses.1 in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 8FE719C514B2C54600229582 /* Addresses */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = Addresses; sourceTree = BUILT_PRODUCTS_DIR; };
+ 8FE719C914B2C54600229582 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
+ 8FE719CB14B2C54600229582 /* Addresses.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = Addresses.1; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 8FE719C214B2C54600229582 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 8FE719BA14B2C54600229582 = {
+ isa = PBXGroup;
+ children = (
+ 8FE719C814B2C54600229582 /* Addresses */,
+ 8FE719C614B2C54600229582 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 8FE719C614B2C54600229582 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 8FE719C514B2C54600229582 /* Addresses */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 8FE719C814B2C54600229582 /* Addresses */ = {
+ isa = PBXGroup;
+ children = (
+ 8FE719C914B2C54600229582 /* main.c */,
+ 8FE719CB14B2C54600229582 /* Addresses.1 */,
+ );
+ path = Addresses;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 8FE719C414B2C54600229582 /* Addresses */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 8FE719CF14B2C54600229582 /* Build configuration list for PBXNativeTarget "Addresses" */;
+ buildPhases = (
+ 8FE719C114B2C54600229582 /* Sources */,
+ 8FE719C214B2C54600229582 /* Frameworks */,
+ 8FE719C314B2C54600229582 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = Addresses;
+ productName = Addresses;
+ productReference = 8FE719C514B2C54600229582 /* Addresses */;
+ productType = "com.apple.product-type.tool";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 8FE719BC14B2C54600229582 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ ORGANIZATIONNAME = RedGrind;
+ };
+ buildConfigurationList = 8FE719BF14B2C54600229582 /* Build configuration list for PBXProject "Addresses" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = 8FE719BA14B2C54600229582;
+ productRefGroup = 8FE719C614B2C54600229582 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 8FE719C414B2C54600229582 /* Addresses */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 8FE719C114B2C54600229582 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8FE719CA14B2C54600229582 /* main.c in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 8FE719CD14B2C54600229582 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = 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_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ 8FE719CE14B2C54600229582 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ 8FE719D014B2C54600229582 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 8FE719D114B2C54600229582 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 8FE719BF14B2C54600229582 /* Build configuration list for PBXProject "Addresses" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FE719CD14B2C54600229582 /* Debug */,
+ 8FE719CE14B2C54600229582 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 8FE719CF14B2C54600229582 /* Build configuration list for PBXNativeTarget "Addresses" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FE719D014B2C54600229582 /* Debug */,
+ 8FE719D114B2C54600229582 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 8FE719BC14B2C54600229582 /* Project object */;
+}
View
7 Addresses/Addresses.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:Addresses.xcodeproj">
+ </FileRef>
+</Workspace>
View
BIN  ...ddresses.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
84 Addresses/Addresses.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/Addresses.xcscheme
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719C414B2C54600229582"
+ BuildableName = "Addresses"
+ BlueprintName = "Addresses"
+ ReferencedContainer = "container:Addresses.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719C414B2C54600229582"
+ BuildableName = "Addresses"
+ BlueprintName = "Addresses"
+ ReferencedContainer = "container:Addresses.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719C414B2C54600229582"
+ BuildableName = "Addresses"
+ BlueprintName = "Addresses"
+ ReferencedContainer = "container:Addresses.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719C414B2C54600229582"
+ BuildableName = "Addresses"
+ BlueprintName = "Addresses"
+ ReferencedContainer = "container:Addresses.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
View
22 Addresses/Addresses.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -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>Addresses.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>8FE719C414B2C54600229582</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
View
79 Addresses/Addresses/Addresses.1
@@ -0,0 +1,79 @@
+.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
+.\"See Also:
+.\"man mdoc.samples for a complete listing of options
+.\"man mdoc for the short list of editing options
+.\"/usr/share/misc/mdoc.template
+.Dd 1/2/12 \" DATE
+.Dt Addresses 1 \" Program name and manual section number
+.Os Darwin
+.Sh NAME \" Section Header - required - don't modify
+.Nm Addresses,
+.\" The following lines are read in generating the apropos(man -k) database. Use only key
+.\" words here as the database is built based on the words here and in the .ND line.
+.Nm Other_name_for_same_program(),
+.Nm Yet another name for the same program.
+.\" Use .Nm macro to designate other names for the documented program.
+.Nd This line parsed for whatis database.
+.Sh SYNOPSIS \" Section Header - required - don't modify
+.Nm
+.Op Fl abcd \" [-abcd]
+.Op Fl a Ar path \" [-a path]
+.Op Ar file \" [file]
+.Op Ar \" [file ...]
+.Ar arg0 \" Underlined argument - use .Ar anywhere to underline
+arg2 ... \" Arguments
+.Sh DESCRIPTION \" Section Header - required - don't modify
+Use the .Nm macro to refer to your program throughout the man page like such:
+.Nm
+Underlining is accomplished with the .Ar macro like this:
+.Ar underlined text .
+.Pp \" Inserts a space
+A list of items with descriptions:
+.Bl -tag -width -indent \" Begins a tagged list
+.It item a \" Each item preceded by .It macro
+Description of item a
+.It item b
+Description of item b
+.El \" Ends the list
+.Pp
+A list of flags and their descriptions:
+.Bl -tag -width -indent \" Differs from above in tag removed
+.It Fl a \"-a flag as a list item
+Description of -a flag
+.It Fl b
+Description of -b flag
+.El \" Ends the list
+.Pp
+.\" .Sh ENVIRONMENT \" May not be needed
+.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1
+.\" .It Ev ENV_VAR_1
+.\" Description of ENV_VAR_1
+.\" .It Ev ENV_VAR_2
+.\" Description of ENV_VAR_2
+.\" .El
+.Sh FILES \" File used or created by the topic of the man page
+.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact
+.It Pa /usr/share/file_name
+FILE_1 description
+.It Pa /Users/joeuser/Library/really_long_file_name
+FILE_2 description
+.El \" Ends the list
+.\" .Sh DIAGNOSTICS \" May not be needed
+.\" .Bl -diag
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .El
+.Sh SEE ALSO
+.\" List links in ascending order by section, alphabetically within a section.
+.\" Please do not reference files that do not exist without filing a bug report
+.Xr a 1 ,
+.Xr b 1 ,
+.Xr c 1 ,
+.Xr a 2 ,
+.Xr b 2 ,
+.Xr a 3 ,
+.Xr b 3
+.\" .Sh BUGS \" Document known, unremedied bugs
+.\" .Sh HISTORY \" Document history if command behaves in a unique manner
View
25 Addresses/Addresses/main.c
@@ -0,0 +1,25 @@
+//
+// main.c
+// Addresses
+//
+// Created by MARK HOLTON on 1/2/12.
+// Copyright (c) 2012 RedGrind. All rights reserved.
+//
+
+#include <stdio.h>
+
+int main (int argc, const char * argv[])
+{
+ int i = 17;
+ int *addressOfI = &i;
+ // insert code here...
+ printf("i stores its value at %p\n", addressOfI);
+ printf("the int stored at addressOfI is %d\n", *addressOfI);
+ *addressOfI = 89;
+ printf("Now i is %d\n", i);
+ printf("An int is %zu bytes \n", sizeof(i));
+ printf("A pointer is %zu bytes \n", sizeof(addressOfI));
+ printf("this function starts at %p\n", main);
+ return 0;
+}
+
View
211 BMICalc/BMICalc.xcodeproj/project.pbxproj
@@ -0,0 +1,211 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 8FE71A1214B2DA6C00229582 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 8FE71A1114B2DA6C00229582 /* main.c */; };
+ 8FE71A1414B2DA6C00229582 /* BMICalc.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8FE71A1314B2DA6C00229582 /* BMICalc.1 */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 8FE71A0B14B2DA6C00229582 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = /usr/share/man/man1/;
+ dstSubfolderSpec = 0;
+ files = (
+ 8FE71A1414B2DA6C00229582 /* BMICalc.1 in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 8FE71A0D14B2DA6C00229582 /* BMICalc */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = BMICalc; sourceTree = BUILT_PRODUCTS_DIR; };
+ 8FE71A1114B2DA6C00229582 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
+ 8FE71A1314B2DA6C00229582 /* BMICalc.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = BMICalc.1; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 8FE71A0A14B2DA6C00229582 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 8FE71A0214B2DA6C00229582 = {
+ isa = PBXGroup;
+ children = (
+ 8FE71A1014B2DA6C00229582 /* BMICalc */,
+ 8FE71A0E14B2DA6C00229582 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 8FE71A0E14B2DA6C00229582 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 8FE71A0D14B2DA6C00229582 /* BMICalc */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 8FE71A1014B2DA6C00229582 /* BMICalc */ = {
+ isa = PBXGroup;
+ children = (
+ 8FE71A1114B2DA6C00229582 /* main.c */,
+ 8FE71A1314B2DA6C00229582 /* BMICalc.1 */,
+ );
+ path = BMICalc;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 8FE71A0C14B2DA6C00229582 /* BMICalc */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 8FE71A1714B2DA6C00229582 /* Build configuration list for PBXNativeTarget "BMICalc" */;
+ buildPhases = (
+ 8FE71A0914B2DA6C00229582 /* Sources */,
+ 8FE71A0A14B2DA6C00229582 /* Frameworks */,
+ 8FE71A0B14B2DA6C00229582 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = BMICalc;
+ productName = BMICalc;
+ productReference = 8FE71A0D14B2DA6C00229582 /* BMICalc */;
+ productType = "com.apple.product-type.tool";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 8FE71A0414B2DA6C00229582 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ ORGANIZATIONNAME = RedGrind;
+ };
+ buildConfigurationList = 8FE71A0714B2DA6C00229582 /* Build configuration list for PBXProject "BMICalc" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = 8FE71A0214B2DA6C00229582;
+ productRefGroup = 8FE71A0E14B2DA6C00229582 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 8FE71A0C14B2DA6C00229582 /* BMICalc */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 8FE71A0914B2DA6C00229582 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8FE71A1214B2DA6C00229582 /* main.c in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 8FE71A1514B2DA6C00229582 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = 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_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ 8FE71A1614B2DA6C00229582 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ 8FE71A1814B2DA6C00229582 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 8FE71A1914B2DA6C00229582 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 8FE71A0714B2DA6C00229582 /* Build configuration list for PBXProject "BMICalc" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FE71A1514B2DA6C00229582 /* Debug */,
+ 8FE71A1614B2DA6C00229582 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 8FE71A1714B2DA6C00229582 /* Build configuration list for PBXNativeTarget "BMICalc" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FE71A1814B2DA6C00229582 /* Debug */,
+ 8FE71A1914B2DA6C00229582 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 8FE71A0414B2DA6C00229582 /* Project object */;
+}
View
7 BMICalc/BMICalc.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:BMICalc.xcodeproj">
+ </FileRef>
+</Workspace>
View
BIN  .../BMICalc.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
84 BMICalc/BMICalc.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/BMICalc.xcscheme
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE71A0C14B2DA6C00229582"
+ BuildableName = "BMICalc"
+ BlueprintName = "BMICalc"
+ ReferencedContainer = "container:BMICalc.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE71A0C14B2DA6C00229582"
+ BuildableName = "BMICalc"
+ BlueprintName = "BMICalc"
+ ReferencedContainer = "container:BMICalc.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE71A0C14B2DA6C00229582"
+ BuildableName = "BMICalc"
+ BlueprintName = "BMICalc"
+ ReferencedContainer = "container:BMICalc.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE71A0C14B2DA6C00229582"
+ BuildableName = "BMICalc"
+ BlueprintName = "BMICalc"
+ ReferencedContainer = "container:BMICalc.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
View
22 BMICalc/BMICalc.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -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>BMICalc.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>8FE71A0C14B2DA6C00229582</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
View
79 BMICalc/BMICalc/BMICalc.1
@@ -0,0 +1,79 @@
+.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
+.\"See Also:
+.\"man mdoc.samples for a complete listing of options
+.\"man mdoc for the short list of editing options
+.\"/usr/share/misc/mdoc.template
+.Dd 1/2/12 \" DATE
+.Dt BMICalc 1 \" Program name and manual section number
+.Os Darwin
+.Sh NAME \" Section Header - required - don't modify
+.Nm BMICalc,
+.\" The following lines are read in generating the apropos(man -k) database. Use only key
+.\" words here as the database is built based on the words here and in the .ND line.
+.Nm Other_name_for_same_program(),
+.Nm Yet another name for the same program.
+.\" Use .Nm macro to designate other names for the documented program.
+.Nd This line parsed for whatis database.
+.Sh SYNOPSIS \" Section Header - required - don't modify
+.Nm
+.Op Fl abcd \" [-abcd]
+.Op Fl a Ar path \" [-a path]
+.Op Ar file \" [file]
+.Op Ar \" [file ...]
+.Ar arg0 \" Underlined argument - use .Ar anywhere to underline
+arg2 ... \" Arguments
+.Sh DESCRIPTION \" Section Header - required - don't modify
+Use the .Nm macro to refer to your program throughout the man page like such:
+.Nm
+Underlining is accomplished with the .Ar macro like this:
+.Ar underlined text .
+.Pp \" Inserts a space
+A list of items with descriptions:
+.Bl -tag -width -indent \" Begins a tagged list
+.It item a \" Each item preceded by .It macro
+Description of item a
+.It item b
+Description of item b
+.El \" Ends the list
+.Pp
+A list of flags and their descriptions:
+.Bl -tag -width -indent \" Differs from above in tag removed
+.It Fl a \"-a flag as a list item
+Description of -a flag
+.It Fl b
+Description of -b flag
+.El \" Ends the list
+.Pp
+.\" .Sh ENVIRONMENT \" May not be needed
+.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1
+.\" .It Ev ENV_VAR_1
+.\" Description of ENV_VAR_1
+.\" .It Ev ENV_VAR_2
+.\" Description of ENV_VAR_2
+.\" .El
+.Sh FILES \" File used or created by the topic of the man page
+.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact
+.It Pa /usr/share/file_name
+FILE_1 description
+.It Pa /Users/joeuser/Library/really_long_file_name
+FILE_2 description
+.El \" Ends the list
+.\" .Sh DIAGNOSTICS \" May not be needed
+.\" .Bl -diag
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .El
+.Sh SEE ALSO
+.\" List links in ascending order by section, alphabetically within a section.
+.\" Please do not reference files that do not exist without filing a bug report
+.Xr a 1 ,
+.Xr b 1 ,
+.Xr c 1 ,
+.Xr a 2 ,
+.Xr b 2 ,
+.Xr a 3 ,
+.Xr b 3
+.\" .Sh BUGS \" Document known, unremedied bugs
+.\" .Sh HISTORY \" Document history if command behaves in a unique manner
View
32 BMICalc/BMICalc/main.c
@@ -0,0 +1,32 @@
+//
+// main.c
+// BMICalc
+//
+// Created by MARK HOLTON on 1/2/12.
+// Copyright (c) 2012 RedGrind. All rights reserved.
+//
+
+#include <stdio.h>
+
+// declare struct Person
+typedef struct {
+ float heightInMeters;
+ int weightInKilos;
+} Person;
+
+float bodyMassIndex(Person p){
+ return p.weightInKilos / (p.heightInMeters * p.heightInMeters);
+}
+
+int main (int argc, const char * argv[])
+{
+ Person person;
+ person.weightInKilos = 96;
+ person.heightInMeters = 1.8;
+ float bmi = bodyMassIndex(person);
+ printf("person weighs %i kilograms\n", person.weightInKilos);
+ printf("person height %.2f meters tall\n", person.heightInMeters);
+ printf("person has %.2f BMI\n", bmi);
+ return 0;
+}
+
View
BIN  ...Coolness.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
14 Coolness/Coolness/main.c
@@ -18,9 +18,19 @@ void runWhile(){
}
void runFor(){
- for (int i=0; i < 12; i++){
- printf("%d. Mark is Cool\n", i);
+ int i;
+ for (i=0; i < 12; i++){
+ if (i % 3 == 0){
+ continue;
+ }
+ printf("Checking i = %d\n", i);
+ if (i + 90 == i * i){
+ break;
+ }
+
}
+ printf("The answer is %d.\n", i);
+ return 0;
}
int main (int argc, const char * argv[])
View
211 FoundOne/FoundOne.xcodeproj/project.pbxproj
@@ -0,0 +1,211 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 8FE719B214B2BCDE00229582 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 8FE719B114B2BCDE00229582 /* main.c */; };
+ 8FE719B414B2BCDE00229582 /* FoundOne.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8FE719B314B2BCDE00229582 /* FoundOne.1 */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 8FE719AB14B2BCDE00229582 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = /usr/share/man/man1/;
+ dstSubfolderSpec = 0;
+ files = (
+ 8FE719B414B2BCDE00229582 /* FoundOne.1 in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 8FE719AD14B2BCDE00229582 /* FoundOne */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = FoundOne; sourceTree = BUILT_PRODUCTS_DIR; };
+ 8FE719B114B2BCDE00229582 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
+ 8FE719B314B2BCDE00229582 /* FoundOne.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = FoundOne.1; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 8FE719AA14B2BCDE00229582 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 8FE719A214B2BCDE00229582 = {
+ isa = PBXGroup;
+ children = (
+ 8FE719B014B2BCDE00229582 /* FoundOne */,
+ 8FE719AE14B2BCDE00229582 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 8FE719AE14B2BCDE00229582 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 8FE719AD14B2BCDE00229582 /* FoundOne */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 8FE719B014B2BCDE00229582 /* FoundOne */ = {
+ isa = PBXGroup;
+ children = (
+ 8FE719B114B2BCDE00229582 /* main.c */,
+ 8FE719B314B2BCDE00229582 /* FoundOne.1 */,
+ );
+ path = FoundOne;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 8FE719AC14B2BCDE00229582 /* FoundOne */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 8FE719B714B2BCDE00229582 /* Build configuration list for PBXNativeTarget "FoundOne" */;
+ buildPhases = (
+ 8FE719A914B2BCDE00229582 /* Sources */,
+ 8FE719AA14B2BCDE00229582 /* Frameworks */,
+ 8FE719AB14B2BCDE00229582 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = FoundOne;
+ productName = FoundOne;
+ productReference = 8FE719AD14B2BCDE00229582 /* FoundOne */;
+ productType = "com.apple.product-type.tool";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 8FE719A414B2BCDE00229582 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ ORGANIZATIONNAME = RedGrind;
+ };
+ buildConfigurationList = 8FE719A714B2BCDE00229582 /* Build configuration list for PBXProject "FoundOne" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = 8FE719A214B2BCDE00229582;
+ productRefGroup = 8FE719AE14B2BCDE00229582 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 8FE719AC14B2BCDE00229582 /* FoundOne */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 8FE719A914B2BCDE00229582 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8FE719B214B2BCDE00229582 /* main.c in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 8FE719B514B2BCDE00229582 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = 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_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ 8FE719B614B2BCDE00229582 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ 8FE719B814B2BCDE00229582 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 8FE719B914B2BCDE00229582 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 8FE719A714B2BCDE00229582 /* Build configuration list for PBXProject "FoundOne" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FE719B514B2BCDE00229582 /* Debug */,
+ 8FE719B614B2BCDE00229582 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 8FE719B714B2BCDE00229582 /* Build configuration list for PBXNativeTarget "FoundOne" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FE719B814B2BCDE00229582 /* Debug */,
+ 8FE719B914B2BCDE00229582 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 8FE719A414B2BCDE00229582 /* Project object */;
+}
View
7 FoundOne/FoundOne.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:FoundOne.xcodeproj">
+ </FileRef>
+</Workspace>
View
BIN  ...FoundOne.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
84 FoundOne/FoundOne.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/FoundOne.xcscheme
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719AC14B2BCDE00229582"
+ BuildableName = "FoundOne"
+ BlueprintName = "FoundOne"
+ ReferencedContainer = "container:FoundOne.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719AC14B2BCDE00229582"
+ BuildableName = "FoundOne"
+ BlueprintName = "FoundOne"
+ ReferencedContainer = "container:FoundOne.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719AC14B2BCDE00229582"
+ BuildableName = "FoundOne"
+ BlueprintName = "FoundOne"
+ ReferencedContainer = "container:FoundOne.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719AC14B2BCDE00229582"
+ BuildableName = "FoundOne"
+ BlueprintName = "FoundOne"
+ ReferencedContainer = "container:FoundOne.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
View
22 FoundOne/FoundOne.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -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>FoundOne.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>8FE719AC14B2BCDE00229582</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
View
79 FoundOne/FoundOne/FoundOne.1
@@ -0,0 +1,79 @@
+.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
+.\"See Also:
+.\"man mdoc.samples for a complete listing of options
+.\"man mdoc for the short list of editing options
+.\"/usr/share/misc/mdoc.template
+.Dd 1/2/12 \" DATE
+.Dt FoundOne 1 \" Program name and manual section number
+.Os Darwin
+.Sh NAME \" Section Header - required - don't modify
+.Nm FoundOne,
+.\" The following lines are read in generating the apropos(man -k) database. Use only key
+.\" words here as the database is built based on the words here and in the .ND line.
+.Nm Other_name_for_same_program(),
+.Nm Yet another name for the same program.
+.\" Use .Nm macro to designate other names for the documented program.
+.Nd This line parsed for whatis database.
+.Sh SYNOPSIS \" Section Header - required - don't modify
+.Nm
+.Op Fl abcd \" [-abcd]
+.Op Fl a Ar path \" [-a path]
+.Op Ar file \" [file]
+.Op Ar \" [file ...]
+.Ar arg0 \" Underlined argument - use .Ar anywhere to underline
+arg2 ... \" Arguments
+.Sh DESCRIPTION \" Section Header - required - don't modify
+Use the .Nm macro to refer to your program throughout the man page like such:
+.Nm
+Underlining is accomplished with the .Ar macro like this:
+.Ar underlined text .
+.Pp \" Inserts a space
+A list of items with descriptions:
+.Bl -tag -width -indent \" Begins a tagged list
+.It item a \" Each item preceded by .It macro
+Description of item a
+.It item b
+Description of item b
+.El \" Ends the list
+.Pp
+A list of flags and their descriptions:
+.Bl -tag -width -indent \" Differs from above in tag removed
+.It Fl a \"-a flag as a list item
+Description of -a flag
+.It Fl b
+Description of -b flag
+.El \" Ends the list
+.Pp
+.\" .Sh ENVIRONMENT \" May not be needed
+.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1
+.\" .It Ev ENV_VAR_1
+.\" Description of ENV_VAR_1
+.\" .It Ev ENV_VAR_2
+.\" Description of ENV_VAR_2
+.\" .El
+.Sh FILES \" File used or created by the topic of the man page
+.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact
+.It Pa /usr/share/file_name
+FILE_1 description
+.It Pa /Users/joeuser/Library/really_long_file_name
+FILE_2 description
+.El \" Ends the list
+.\" .Sh DIAGNOSTICS \" May not be needed
+.\" .Bl -diag
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .El
+.Sh SEE ALSO
+.\" List links in ascending order by section, alphabetically within a section.
+.\" Please do not reference files that do not exist without filing a bug report
+.Xr a 1 ,
+.Xr b 1 ,
+.Xr c 1 ,
+.Xr a 2 ,
+.Xr b 2 ,
+.Xr a 3 ,
+.Xr b 3
+.\" .Sh BUGS \" Document known, unremedied bugs
+.\" .Sh HISTORY \" Document history if command behaves in a unique manner
View
22 FoundOne/FoundOne/main.c
@@ -0,0 +1,22 @@
+//
+// main.c
+// FoundOne
+//
+// Created by MARK HOLTON on 1/2/12.
+// Copyright (c) 2012 RedGrind. All rights reserved.
+//
+
+#include <stdio.h>
+
+int main (int argc, const char * argv[])
+{
+ for (int i=99; i>=0; i-=3) {
+ if (i % 5 == 0){
+ printf("Found one! \n");
+ }else{
+ printf("%d \n", i);
+ }
+ }
+ return 0;
+}
+
View
BIN  .../Numbers.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
211 PBR/PBR.xcodeproj/project.pbxproj
@@ -0,0 +1,211 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 8FE719FA14B2D46900229582 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 8FE719F914B2D46900229582 /* main.c */; };
+ 8FE719FC14B2D46900229582 /* PBR.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8FE719FB14B2D46900229582 /* PBR.1 */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 8FE719F314B2D46900229582 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = /usr/share/man/man1/;
+ dstSubfolderSpec = 0;
+ files = (
+ 8FE719FC14B2D46900229582 /* PBR.1 in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 8FE719F514B2D46900229582 /* PBR */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = PBR; sourceTree = BUILT_PRODUCTS_DIR; };
+ 8FE719F914B2D46900229582 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
+ 8FE719FB14B2D46900229582 /* PBR.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = PBR.1; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 8FE719F214B2D46900229582 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 8FE719EA14B2D46900229582 = {
+ isa = PBXGroup;
+ children = (
+ 8FE719F814B2D46900229582 /* PBR */,
+ 8FE719F614B2D46900229582 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 8FE719F614B2D46900229582 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 8FE719F514B2D46900229582 /* PBR */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 8FE719F814B2D46900229582 /* PBR */ = {
+ isa = PBXGroup;
+ children = (
+ 8FE719F914B2D46900229582 /* main.c */,
+ 8FE719FB14B2D46900229582 /* PBR.1 */,
+ );
+ path = PBR;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 8FE719F414B2D46900229582 /* PBR */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 8FE719FF14B2D46900229582 /* Build configuration list for PBXNativeTarget "PBR" */;
+ buildPhases = (
+ 8FE719F114B2D46900229582 /* Sources */,
+ 8FE719F214B2D46900229582 /* Frameworks */,
+ 8FE719F314B2D46900229582 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = PBR;
+ productName = PBR;
+ productReference = 8FE719F514B2D46900229582 /* PBR */;
+ productType = "com.apple.product-type.tool";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 8FE719EC14B2D46900229582 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ ORGANIZATIONNAME = RedGrind;
+ };
+ buildConfigurationList = 8FE719EF14B2D46900229582 /* Build configuration list for PBXProject "PBR" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = 8FE719EA14B2D46900229582;
+ productRefGroup = 8FE719F614B2D46900229582 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 8FE719F414B2D46900229582 /* PBR */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 8FE719F114B2D46900229582 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8FE719FA14B2D46900229582 /* main.c in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 8FE719FD14B2D46900229582 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = 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_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ 8FE719FE14B2D46900229582 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ 8FE71A0014B2D46900229582 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 8FE71A0114B2D46900229582 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 8FE719EF14B2D46900229582 /* Build configuration list for PBXProject "PBR" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FE719FD14B2D46900229582 /* Debug */,
+ 8FE719FE14B2D46900229582 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 8FE719FF14B2D46900229582 /* Build configuration list for PBXNativeTarget "PBR" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FE71A0014B2D46900229582 /* Debug */,
+ 8FE71A0114B2D46900229582 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 8FE719EC14B2D46900229582 /* Project object */;
+}
View
7 PBR/PBR.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:PBR.xcodeproj">
+ </FileRef>
+</Workspace>
View
BIN  PBR/PBR.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
84 PBR/PBR.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/PBR.xcscheme
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719F414B2D46900229582"
+ BuildableName = "PBR"
+ BlueprintName = "PBR"
+ ReferencedContainer = "container:PBR.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719F414B2D46900229582"
+ BuildableName = "PBR"
+ BlueprintName = "PBR"
+ ReferencedContainer = "container:PBR.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719F414B2D46900229582"
+ BuildableName = "PBR"
+ BlueprintName = "PBR"
+ ReferencedContainer = "container:PBR.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719F414B2D46900229582"
+ BuildableName = "PBR"
+ BlueprintName = "PBR"
+ ReferencedContainer = "container:PBR.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
View
22 PBR/PBR.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -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>PBR.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>8FE719F414B2D46900229582</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
View
79 PBR/PBR/PBR.1
@@ -0,0 +1,79 @@
+.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
+.\"See Also:
+.\"man mdoc.samples for a complete listing of options
+.\"man mdoc for the short list of editing options
+.\"/usr/share/misc/mdoc.template
+.Dd 1/2/12 \" DATE
+.Dt PBR 1 \" Program name and manual section number
+.Os Darwin
+.Sh NAME \" Section Header - required - don't modify
+.Nm PBR,
+.\" The following lines are read in generating the apropos(man -k) database. Use only key
+.\" words here as the database is built based on the words here and in the .ND line.
+.Nm Other_name_for_same_program(),
+.Nm Yet another name for the same program.
+.\" Use .Nm macro to designate other names for the documented program.
+.Nd This line parsed for whatis database.
+.Sh SYNOPSIS \" Section Header - required - don't modify
+.Nm
+.Op Fl abcd \" [-abcd]
+.Op Fl a Ar path \" [-a path]
+.Op Ar file \" [file]
+.Op Ar \" [file ...]
+.Ar arg0 \" Underlined argument - use .Ar anywhere to underline
+arg2 ... \" Arguments
+.Sh DESCRIPTION \" Section Header - required - don't modify
+Use the .Nm macro to refer to your program throughout the man page like such:
+.Nm
+Underlining is accomplished with the .Ar macro like this:
+.Ar underlined text .
+.Pp \" Inserts a space
+A list of items with descriptions:
+.Bl -tag -width -indent \" Begins a tagged list
+.It item a \" Each item preceded by .It macro
+Description of item a
+.It item b
+Description of item b
+.El \" Ends the list
+.Pp
+A list of flags and their descriptions:
+.Bl -tag -width -indent \" Differs from above in tag removed
+.It Fl a \"-a flag as a list item
+Description of -a flag
+.It Fl b
+Description of -b flag
+.El \" Ends the list
+.Pp
+.\" .Sh ENVIRONMENT \" May not be needed
+.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1
+.\" .It Ev ENV_VAR_1
+.\" Description of ENV_VAR_1
+.\" .It Ev ENV_VAR_2
+.\" Description of ENV_VAR_2
+.\" .El
+.Sh FILES \" File used or created by the topic of the man page
+.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact
+.It Pa /usr/share/file_name
+FILE_1 description
+.It Pa /Users/joeuser/Library/really_long_file_name
+FILE_2 description
+.El \" Ends the list
+.\" .Sh DIAGNOSTICS \" May not be needed
+.\" .Bl -diag
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .El
+.Sh SEE ALSO
+.\" List links in ascending order by section, alphabetically within a section.
+.\" Please do not reference files that do not exist without filing a bug report
+.Xr a 1 ,
+.Xr b 1 ,
+.Xr c 1 ,
+.Xr a 2 ,
+.Xr b 2 ,
+.Xr a 3 ,
+.Xr b 3
+.\" .Sh BUGS \" Document known, unremedied bugs
+.\" .Sh HISTORY \" Document history if command behaves in a unique manner
View
63 PBR/PBR/main.c
@@ -0,0 +1,63 @@
+//
+// main.c
+// PBR - Pass by Reference. Obj-C Big Nerd Ranch location 1426, Ch.9
+//
+// Created by MARK HOLTON on 1/2/12.
+// Copyright (c) 2012 RedGrind. All rights reserved.
+//
+
+#include <stdio.h>
+#include <math.h>
+
+void cartesianToPolar(float x, float y, double *rPtr, double *thetaPtr){
+ // Store the radius in the supplied address
+ if (rPtr){ // make sure Pointers are not null
+ *rPtr = sqrt(x*x + y*y);
+ }
+ // is thetaPtr NULL?
+ if (!thetaPtr){
+ // skip rest of fn
+ return;
+ }
+ // calculate theta:
+ float theta;
+ if (x == 0.0){
+ if ( y == 0.0 ){
+ theta = 0.0; //theoretically undefined
+ } else if ( y > 0 ){
+ theta = M_PI_2;
+ } else {
+ theta = - M_PI_2;
+ }
+
+ } else {
+ theta = atan(y/x);
+ }
+ // store theta in the supplied address (last param)
+ *thetaPtr = theta;
+}
+
+int main (int argc, const char * argv[])
+{
+ double pi = 3.14;
+ double integerPart;
+ double fractionPart;
+
+ // Pass the address of integerPart as an argument
+ fractionPart = modf(pi, &integerPart);
+
+ // Find the value stored in integerPart
+ printf("integerPart = %.0f, fractionPart = %.2f \n", integerPart, fractionPart);
+
+ // onto finding theta...
+ double x = 3.0;
+ double y = 4.0;
+ double radius;
+ double angle;
+
+ cartesianToPolar(x, y, &radius, &angle);
+ printf("(%.2f, %.2f) becomes (%.2f radians, %.2f)\n", x, y, radius, angle);
+
+ return 0;
+}
+
View
211 nullPointer/nullPointer.xcodeproj/project.pbxproj
@@ -0,0 +1,211 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 46;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 8FE719E214B2D03A00229582 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = 8FE719E114B2D03A00229582 /* main.c */; };
+ 8FE719E414B2D03A00229582 /* nullPointer.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 8FE719E314B2D03A00229582 /* nullPointer.1 */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXCopyFilesBuildPhase section */
+ 8FE719DB14B2D03A00229582 /* CopyFiles */ = {
+ isa = PBXCopyFilesBuildPhase;
+ buildActionMask = 2147483647;
+ dstPath = /usr/share/man/man1/;
+ dstSubfolderSpec = 0;
+ files = (
+ 8FE719E414B2D03A00229582 /* nullPointer.1 in CopyFiles */,
+ );
+ runOnlyForDeploymentPostprocessing = 1;
+ };
+/* End PBXCopyFilesBuildPhase section */
+
+/* Begin PBXFileReference section */
+ 8FE719DD14B2D03A00229582 /* nullPointer */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = nullPointer; sourceTree = BUILT_PRODUCTS_DIR; };
+ 8FE719E114B2D03A00229582 /* main.c */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
+ 8FE719E314B2D03A00229582 /* nullPointer.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = nullPointer.1; sourceTree = "<group>"; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 8FE719DA14B2D03A00229582 /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 8FE719D214B2D03A00229582 = {
+ isa = PBXGroup;
+ children = (
+ 8FE719E014B2D03A00229582 /* nullPointer */,
+ 8FE719DE14B2D03A00229582 /* Products */,
+ );
+ sourceTree = "<group>";
+ };
+ 8FE719DE14B2D03A00229582 /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 8FE719DD14B2D03A00229582 /* nullPointer */,
+ );
+ name = Products;
+ sourceTree = "<group>";
+ };
+ 8FE719E014B2D03A00229582 /* nullPointer */ = {
+ isa = PBXGroup;
+ children = (
+ 8FE719E114B2D03A00229582 /* main.c */,
+ 8FE719E314B2D03A00229582 /* nullPointer.1 */,
+ );
+ path = nullPointer;
+ sourceTree = "<group>";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 8FE719DC14B2D03A00229582 /* nullPointer */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 8FE719E714B2D03A00229582 /* Build configuration list for PBXNativeTarget "nullPointer" */;
+ buildPhases = (
+ 8FE719D914B2D03A00229582 /* Sources */,
+ 8FE719DA14B2D03A00229582 /* Frameworks */,
+ 8FE719DB14B2D03A00229582 /* CopyFiles */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = nullPointer;
+ productName = nullPointer;
+ productReference = 8FE719DD14B2D03A00229582 /* nullPointer */;
+ productType = "com.apple.product-type.tool";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 8FE719D414B2D03A00229582 /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastUpgradeCheck = 0420;
+ ORGANIZATIONNAME = RedGrind;
+ };
+ buildConfigurationList = 8FE719D714B2D03A00229582 /* Build configuration list for PBXProject "nullPointer" */;
+ compatibilityVersion = "Xcode 3.2";
+ developmentRegion = English;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ );
+ mainGroup = 8FE719D214B2D03A00229582;
+ productRefGroup = 8FE719DE14B2D03A00229582 /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 8FE719DC14B2D03A00229582 /* nullPointer */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 8FE719D914B2D03A00229582 /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 8FE719E214B2D03A00229582 /* main.c in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin XCBuildConfiguration section */
+ 8FE719E514B2D03A00229582 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = 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_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = macosx;
+ };
+ name = Debug;
+ };
+ 8FE719E614B2D03A00229582 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ ARCHS = "$(ARCHS_STANDARD_64_BIT)";
+ CLANG_ENABLE_OBJC_ARC = YES;
+ COPY_PHASE_STRIP = YES;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ GCC_C_LANGUAGE_STANDARD = gnu99;
+ GCC_ENABLE_OBJC_EXCEPTIONS = YES;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
+ SDKROOT = macosx;
+ };
+ name = Release;
+ };
+ 8FE719E814B2D03A00229582 /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Debug;
+ };
+ 8FE719E914B2D03A00229582 /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 8FE719D714B2D03A00229582 /* Build configuration list for PBXProject "nullPointer" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FE719E514B2D03A00229582 /* Debug */,
+ 8FE719E614B2D03A00229582 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 8FE719E714B2D03A00229582 /* Build configuration list for PBXNativeTarget "nullPointer" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 8FE719E814B2D03A00229582 /* Debug */,
+ 8FE719E914B2D03A00229582 /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 8FE719D414B2D03A00229582 /* Project object */;
+}
View
7 nullPointer/nullPointer.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:nullPointer.xcodeproj">
+ </FileRef>
+</Workspace>
View
BIN  ...lPointer.xcodeproj/project.xcworkspace/xcuserdata/mark.holton.xcuserdatad/UserInterfaceState.xcuserstate
Binary file not shown
View
84 nullPointer/nullPointer.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/nullPointer.xcscheme
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Scheme
+ version = "1.3">
+ <BuildAction
+ parallelizeBuildables = "YES"
+ buildImplicitDependencies = "YES">
+ <BuildActionEntries>
+ <BuildActionEntry
+ buildForTesting = "YES"
+ buildForRunning = "YES"
+ buildForProfiling = "YES"
+ buildForArchiving = "YES"
+ buildForAnalyzing = "YES">
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719DC14B2D03A00229582"
+ BuildableName = "nullPointer"
+ BlueprintName = "nullPointer"
+ ReferencedContainer = "container:nullPointer.xcodeproj">
+ </BuildableReference>
+ </BuildActionEntry>
+ </BuildActionEntries>
+ </BuildAction>
+ <TestAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ buildConfiguration = "Debug">
+ <Testables>
+ </Testables>
+ <MacroExpansion>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719DC14B2D03A00229582"
+ BuildableName = "nullPointer"
+ BlueprintName = "nullPointer"
+ ReferencedContainer = "container:nullPointer.xcodeproj">
+ </BuildableReference>
+ </MacroExpansion>
+ </TestAction>
+ <LaunchAction
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.GDB"
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.GDB"
+ launchStyle = "0"
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Debug"
+ debugDocumentVersioning = "YES"
+ allowLocationSimulation = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719DC14B2D03A00229582"
+ BuildableName = "nullPointer"
+ BlueprintName = "nullPointer"
+ ReferencedContainer = "container:nullPointer.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ <AdditionalOptions>
+ </AdditionalOptions>
+ </LaunchAction>
+ <ProfileAction
+ shouldUseLaunchSchemeArgsEnv = "YES"
+ savedToolIdentifier = ""
+ useCustomWorkingDirectory = "NO"
+ buildConfiguration = "Release"
+ debugDocumentVersioning = "YES">
+ <BuildableProductRunnable>
+ <BuildableReference
+ BuildableIdentifier = "primary"
+ BlueprintIdentifier = "8FE719DC14B2D03A00229582"
+ BuildableName = "nullPointer"
+ BlueprintName = "nullPointer"
+ ReferencedContainer = "container:nullPointer.xcodeproj">
+ </BuildableReference>
+ </BuildableProductRunnable>
+ </ProfileAction>
+ <AnalyzeAction
+ buildConfiguration = "Debug">
+ </AnalyzeAction>
+ <ArchiveAction
+ buildConfiguration = "Release"
+ revealArchiveInOrganizer = "YES">
+ </ArchiveAction>
+</Scheme>
View
22 nullPointer/nullPointer.xcodeproj/xcuserdata/mark.holton.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -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>nullPointer.xcscheme</key>
+ <dict>
+ <key>orderHint</key>
+ <integer>0</integer>
+ </dict>
+ </dict>
+ <key>SuppressBuildableAutocreation</key>
+ <dict>
+ <key>8FE719DC14B2D03A00229582</key>
+ <dict>
+ <key>primary</key>
+ <true/>
+ </dict>
+ </dict>
+</dict>
+</plist>
View
24 nullPointer/nullPointer/main.c
@@ -0,0 +1,24 @@
+//
+// main.c
+// nullPointer
+//
+// Created by MARK HOLTON on 1/2/12.
+// Copyright (c) 2012 RedGrind. All rights reserved.
+//
+
+#include <stdio.h>
+
+int main (int argc, const char * argv[])
+{
+ float *myPointer;
+ printf("how much memory a float consumes: %zu bytes \n", sizeof(*myPointer));
+ printf("how much memory a float pointer consumes: %zu bytes \n", sizeof(myPointer));
+
+ short test;
+ test = -9999;
+ printf("smallest short int: %d \n", test);
+ unsigned short test2 = 9999;
+ printf("largest unsigned short int: %d \n", test2);
+ return 0;
+}
+
View
79 nullPointer/nullPointer/nullPointer.1
@@ -0,0 +1,79 @@
+.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
+.\"See Also:
+.\"man mdoc.samples for a complete listing of options
+.\"man mdoc for the short list of editing options
+.\"/usr/share/misc/mdoc.template
+.Dd 1/2/12 \" DATE
+.Dt nullPointer 1 \" Program name and manual section number
+.Os Darwin
+.Sh NAME \" Section Header - required - don't modify
+.Nm nullPointer,
+.\" The following lines are read in generating the apropos(man -k) database. Use only key
+.\" words here as the database is built based on the words here and in the .ND line.
+.Nm Other_name_for_same_program(),
+.Nm Yet another name for the same program.
+.\" Use .Nm macro to designate other names for the documented program.
+.Nd This line parsed for whatis database.
+.Sh SYNOPSIS \" Section Header - required - don't modify
+.Nm
+.Op Fl abcd \" [-abcd]
+.Op Fl a Ar path \" [-a path]
+.Op Ar file \" [file]
+.Op Ar \" [file ...]
+.Ar arg0 \" Underlined argument - use .Ar anywhere to underline
+arg2 ... \" Arguments
+.Sh DESCRIPTION \" Section Header - required - don't modify
+Use the .Nm macro to refer to your program throughout the man page like such:
+.Nm
+Underlining is accomplished with the .Ar macro like this:
+.Ar underlined text .
+.Pp \" Inserts a space
+A list of items with descriptions:
+.Bl -tag -width -indent \" Begins a tagged list
+.It item a \" Each item preceded by .It macro
+Description of item a
+.It item b
+Description of item b
+.El \" Ends the list
+.Pp
+A list of flags and their descriptions:
+.Bl -tag -width -indent \" Differs from above in tag removed
+.It Fl a \"-a flag as a list item
+Description of -a flag
+.It Fl b
+Description of -b flag
+.El \" Ends the list
+.Pp
+.\" .Sh ENVIRONMENT \" May not be needed
+.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1
+.\" .It Ev ENV_VAR_1
+.\" Description of ENV_VAR_1
+.\" .It Ev ENV_VAR_2
+.\" Description of ENV_VAR_2
+.\" .El
+.Sh FILES \" File used or created by the topic of the man page
+.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact
+.It Pa /usr/share/file_name
+FILE_1 description
+.It Pa /Users/joeuser/Library/really_long_file_name
+FILE_2 description
+.El \" Ends the list
+.\" .Sh DIAGNOSTICS \" May not be needed
+.\" .Bl -diag
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .It Diagnostic Tag
+.\" Diagnostic informtion here.
+.\" .El
+.Sh SEE ALSO
+.\" List links in ascending order by section, alphabetically within a section.
+.\" Please do not reference files that do not exist without filing a bug report
+.Xr a 1 ,
+.Xr b 1 ,
+.Xr c 1 ,
+.Xr a 2 ,
+.Xr b 2 ,
+.Xr a 3 ,
+.Xr b 3
+.\" .Sh BUGS \" Document known, unremedied bugs
+.\" .Sh HISTORY \" Document history if command behaves in a unique manner

No commit comments for this range

Something went wrong with that request. Please try again.