iOS App
xomewjrks1116StingArrayId/.DS_Store
__MACOSX/StingArrayId/._.DS_Store
StingArrayId/StingArrayId/StingArrayId-Prefix.pch
// // Prefix header // // The contents of this file are implicitly included at the beginning of every source file. // #ifdef __OBJC__ #import <Foundation/Foundation.h> #endif
__MACOSX/StingArrayId/StingArrayId/._StingArrayId-Prefix.pch
StingArrayId/StingArrayId/StingArrayId.1
.\"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 4/2/14 \" DATE .Dt StingArrayId 1 \" Program name and manual section number .Os Darwin .Sh NAME \" Section Header - required - don't modify .Nm StingArrayId, .\" 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
__MACOSX/StingArrayId/StingArrayId/._StingArrayId.1
StingArrayId/StingArrayId/StringArrayId.m
// StringArrayId.m // Basic Objective-C syntax using id's. // Kevin Sahr 1/5/15 #import <Foundation/Foundation.h> int main(int argc, const char * argv[]) { @autoreleasepool { // required for memory management; will discuss later //// NSString examples NSLog(@"First some NSStrings...\n"); id numStr = @"456"; int num = [numStr intValue]; NSLog(@"\"%@\" is the number %d.\n", numStr, num); float x = 5.5, y = 12.2; id res = [[NSString alloc] initWithFormat:@"%.5f", x/y]; id op = [NSString stringWithFormat:@"%.2f / %.2f is ", x, y]; id msg = [op stringByAppendingString:res]; NSLog(@"%@; (x, y) is (%.1f, %.1f)\n", msg, x, y); //// NSArray examples NSLog(@"Now some NSArrays...\n"); id strings = [[NSMutableArray alloc] init]; [strings addObject:@"HELLO"]; [strings addObject:op]; [strings addObject:res]; [strings addObject:msg]; // we can print out the array as a single object NSLog(@"\n%@", strings); [strings replaceObjectAtIndex:0 withObject:@"GOODBYE"]; // or print it out one element at a time NSLog(@"the array contains the %lu elements:", (unsigned long)[strings count]); for (int i = 0; i < [strings count]; i++) NSLog(@"item %d is '%@' with length %lu", i, [strings objectAtIndex:i], [[strings objectAtIndex:i] length]); // recent compiler versions support array subscripting syntax // (but don't use on Lab 1) strings[0] = @"Hello"; strings[1] = @"World"; NSLog(@"\nthe array now contains:"); for (int i = 0; i < [strings count]; i++) NSLog(@"item %d is '%@'", i, strings[i]); } return 0; }
__MACOSX/StingArrayId/StingArrayId/._StringArrayId.m
StingArrayId/StingArrayId.xcodeproj/project.pbxproj
// !$*UTF8*$! { archiveVersion = 1; classes = { }; objectVersion = 46; objects = { /* Begin PBXBuildFile section */ 26AC7C6B18EC794D00A617FB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 26AC7C6A18EC794D00A617FB /* Foundation.framework */; }; 26AC7C6E18EC794D00A617FB /* StringArrayId.m in Sources */ = {isa = PBXBuildFile; fileRef = 26AC7C6D18EC794D00A617FB /* StringArrayId.m */; }; 26AC7C7218EC794D00A617FB /* StingArrayId.1 in CopyFiles */ = {isa = PBXBuildFile; fileRef = 26AC7C7118EC794D00A617FB /* StingArrayId.1 */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ 26AC7C6518EC794D00A617FB /* CopyFiles */ = { isa = PBXCopyFilesBuildPhase; buildActionMask = 2147483647; dstPath = /usr/share/man/man1/; dstSubfolderSpec = 0; files = ( 26AC7C7218EC794D00A617FB /* StingArrayId.1 in CopyFiles */, ); runOnlyForDeploymentPostprocessing = 1; }; /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ 26AC7C6718EC794D00A617FB /* StingArrayId */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = StingArrayId; sourceTree = BUILT_PRODUCTS_DIR; }; 26AC7C6A18EC794D00A617FB /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 26AC7C6D18EC794D00A617FB /* StringArrayId.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StringArrayId.m; sourceTree = "<group>"; }; 26AC7C7018EC794D00A617FB /* StingArrayId-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "StingArrayId-Prefix.pch"; sourceTree = "<group>"; }; 26AC7C7118EC794D00A617FB /* StingArrayId.1 */ = {isa = PBXFileReference; lastKnownFileType = text.man; path = StingArrayId.1; sourceTree = "<group>"; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ 26AC7C6418EC794D00A617FB /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( 26AC7C6B18EC794D00A617FB /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ 26AC7C5E18EC794D00A617FB = { isa = PBXGroup; children = ( 26AC7C6C18EC794D00A617FB /* StingArrayId */, 26AC7C6918EC794D00A617FB /* Frameworks */, 26AC7C6818EC794D00A617FB /* Products */, ); sourceTree = "<group>"; }; 26AC7C6818EC794D00A617FB /* Products */ = { isa = PBXGroup; children = ( 26AC7C6718EC794D00A617FB /* StingArrayId */, ); name = Products; sourceTree = "<group>"; }; 26AC7C6918EC794D00A617FB /* Frameworks */ = { isa = PBXGroup; children = ( 26AC7C6A18EC794D00A617FB /* Foundation.framework */, ); name = Frameworks; sourceTree = "<group>"; }; 26AC7C6C18EC794D00A617FB /* StingArrayId */ = { isa = PBXGroup; children = ( 26AC7C6D18EC794D00A617FB /* StringArrayId.m */, 26AC7C7118EC794D00A617FB /* StingArrayId.1 */, 26AC7C6F18EC794D00A617FB /* Supporting Files */, ); path = StingArrayId; sourceTree = "<group>"; }; 26AC7C6F18EC794D00A617FB /* Supporting Files */ = { isa = PBXGroup; children = ( 26AC7C7018EC794D00A617FB /* StingArrayId-Prefix.pch */, ); name = "Supporting Files"; sourceTree = "<group>"; }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ 26AC7C6618EC794D00A617FB /* StingArrayId */ = { isa = PBXNativeTarget; buildConfigurationList = 26AC7C7518EC794D00A617FB /* Build configuration list for PBXNativeTarget "StingArrayId" */; buildPhases = ( 26AC7C6318EC794D00A617FB /* Sources */, 26AC7C6418EC794D00A617FB /* Frameworks */, 26AC7C6518EC794D00A617FB /* CopyFiles */, ); buildRules = ( ); dependencies = ( ); name = StingArrayId; productName = StingArrayId; productReference = 26AC7C6718EC794D00A617FB /* StingArrayId */; productType = "com.apple.product-type.tool"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ 26AC7C5F18EC794D00A617FB /* Project object */ = { isa = PBXProject; attributes = { LastUpgradeCheck = 0510; ORGANIZATIONNAME = SOU; }; buildConfigurationList = 26AC7C6218EC794D00A617FB /* Build configuration list for PBXProject "StingArrayId" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( en, ); mainGroup = 26AC7C5E18EC794D00A617FB; productRefGroup = 26AC7C6818EC794D00A617FB /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( 26AC7C6618EC794D00A617FB /* StingArrayId */, ); }; /* End PBXProject section */ /* Begin PBXSourcesBuildPhase section */ 26AC7C6318EC794D00A617FB /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( 26AC7C6E18EC794D00A617FB /* StringArrayId.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin XCBuildConfiguration section */ 26AC7C7318EC794D00A617FB /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 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_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; MACOSX_DEPLOYMENT_TARGET = 10.8; ONLY_ACTIVE_ARCH = YES; SDKROOT = macosx; }; name = Debug; }; 26AC7C7418EC794D00A617FB /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = YES; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_NS_ASSERTIONS = NO; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_ENABLE_OBJC_EXCEPTIONS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; MACOSX_DEPLOYMENT_TARGET = 10.8; SDKROOT = macosx; }; name = Release; }; 26AC7C7618EC794D00A617FB /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "StingArrayId/StingArrayId-Prefix.pch"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; }; 26AC7C7718EC794D00A617FB /* Release */ = { isa = XCBuildConfiguration; buildSettings = { GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "StingArrayId/StingArrayId-Prefix.pch"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ 26AC7C6218EC794D00A617FB /* Build configuration list for PBXProject "StingArrayId" */ = { isa = XCConfigurationList; buildConfigurations = ( 26AC7C7318EC794D00A617FB /* Debug */, 26AC7C7418EC794D00A617FB /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; 26AC7C7518EC794D00A617FB /* Build configuration list for PBXNativeTarget "StingArrayId" */ = { isa = XCConfigurationList; buildConfigurations = ( 26AC7C7618EC794D00A617FB /* Debug */, 26AC7C7718EC794D00A617FB /* Release */, ); defaultConfigurationIsVisible = 0; }; /* End XCConfigurationList section */ }; rootObject = 26AC7C5F18EC794D00A617FB /* Project object */; }
StingArrayId/StingArrayId.xcodeproj/project.xcworkspace/contents.xcworkspacedata
StingArrayId/StingArrayId.xcodeproj/project.xcworkspace/xcuserdata/sahrk.xcuserdatad/UserInterfaceState.xcuserstate
StingArrayId/StingArrayId.xcodeproj/xcuserdata/sahrk.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
StingArrayId/StingArrayId.xcodeproj/xcuserdata/sahrk.xcuserdatad/xcschemes/StingArrayId.xcscheme
StingArrayId/StingArrayId.xcodeproj/xcuserdata/sahrk.xcuserdatad/xcschemes/xcschememanagement.plist
SchemeUserState StingArrayId.xcscheme orderHint 0 SuppressBuildableAutocreation 26AC7C6618EC794D00A617FB primary