diff --git a/CocoaAMF-Info.plist b/CocoaAMF-Info.plist index f577413..c96c193 100644 --- a/CocoaAMF-Info.plist +++ b/CocoaAMF-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - com.nesium.${PRODUCT_NAME:rfc1034identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType diff --git a/CocoaAMF.xcodeproj/project.pbxproj b/CocoaAMF.xcodeproj/project.pbxproj index b5238b0..38e3d06 100644 --- a/CocoaAMF.xcodeproj/project.pbxproj +++ b/CocoaAMF.xcodeproj/project.pbxproj @@ -7,92 +7,95 @@ objects = { /* Begin PBXBuildFile section */ - 2C07908A0FAB3B9B00100142 /* AMFDebugUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C0790890FAB3B9B00100142 /* AMFDebugUnarchiver.m */; }; - 2C0792630FAB7E0900100142 /* AMFDebugUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C0790890FAB3B9B00100142 /* AMFDebugUnarchiver.m */; }; - 2C0792D40FAB90E000100142 /* AMFDebugUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C0790890FAB3B9B00100142 /* AMFDebugUnarchiver.m */; }; - 2C0792D60FAB90ED00100142 /* AMF.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C1879B40F76FC8200DF747D /* AMF.m */; }; - 2C109BA40EE347B600AF1643 /* NSString+URLEncode.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C109BA30EE347B600AF1643 /* NSString+URLEncode.m */; }; - 2C109BDD0EE34E0800AF1643 /* AMFClient.scriptSuite in Resources */ = {isa = PBXBuildFile; fileRef = 2C109BDB0EE34E0800AF1643 /* AMFClient.scriptSuite */; }; - 2C109BDE0EE34E0800AF1643 /* AMFClient.scriptTerminology in Resources */ = {isa = PBXBuildFile; fileRef = 2C109BDC0EE34E0800AF1643 /* AMFClient.scriptTerminology */; }; - 2C109BE10EE34EA000AF1643 /* AMFClientGetURLScriptCommand.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C109BE00EE34EA000AF1643 /* AMFClientGetURLScriptCommand.m */; }; - 2C10B1AE0FAE0ED100D4985E /* SCObjCGenerator.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C10B1AD0FAE0ED100D4985E /* SCObjCGenerator.m */; }; - 2C18798C0F76FAA000DF747D /* AMFArchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C80A67F0F1C1FA700D761BB /* AMFArchiver.m */; }; - 2C1879B50F76FC8200DF747D /* AMF.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C1879B40F76FC8200DF747D /* AMF.m */; }; - 2C2E750211714019009D94C8 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; - 2C2E750511714032009D94C8 /* AMF.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C35A4660EA401CB000B2452 /* AMF.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C2E750611714034009D94C8 /* AMF.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C1879B40F76FC8200DF747D /* AMF.m */; }; - 2C2E750711714034009D94C8 /* AMFActionMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C35A46F0EA401CB000B2452 /* AMFActionMessage.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C2E750811714035009D94C8 /* AMFActionMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4700EA401CB000B2452 /* AMFActionMessage.m */; }; - 2C2E750911714036009D94C8 /* AMFArchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C80A67E0F1C1FA700D761BB /* AMFArchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C2E750A11714036009D94C8 /* AMFArchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C80A67F0F1C1FA700D761BB /* AMFArchiver.m */; }; - 2C2E750B11714037009D94C8 /* AMFDebugUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C0790880FAB3B9B00100142 /* AMFDebugUnarchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C2E750C11714037009D94C8 /* AMFDebugUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C0790890FAB3B9B00100142 /* AMFDebugUnarchiver.m */; }; - 2C2E75111171403F009D94C8 /* AMFRemotingCall.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C73A8EB0F1954E100EA16AD /* AMFRemotingCall.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C2E751211714040009D94C8 /* AMFRemotingCall.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C73A8EC0F1954E100EA16AD /* AMFRemotingCall.m */; }; - 2C2E751311714040009D94C8 /* AMFUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C8500E30EDF42DF0058EBE0 /* AMFUnarchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C2E751411714041009D94C8 /* AMFUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500E60EDF42DF0058EBE0 /* AMFUnarchiver.m */; }; - 2C2E751511714042009D94C8 /* ASObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C35A4810EA401CB000B2452 /* ASObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C2E751611714042009D94C8 /* ASObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4820EA401CB000B2452 /* ASObject.m */; }; - 2C2E751711714045009D94C8 /* FlexDataTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C35542D0F7846B5003A31C4 /* FlexDataTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C2E751811714045009D94C8 /* FlexDataTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35542E0F7846B5003A31C4 /* FlexDataTypes.m */; }; - 2C2E752411714084009D94C8 /* CocoaAMF.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C2E752311714084009D94C8 /* CocoaAMF.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 2C2F9A360FACA18E00764AA8 /* NSOutlineView+ContextMenu.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C2F9A350FACA18E00764AA8 /* NSOutlineView+ContextMenu.m */; }; - 2C2F9A460FACA64700764AA8 /* SCActionscriptGenerator.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C2F9A450FACA64700764AA8 /* SCActionscriptGenerator.m */; }; - 2C2F9A490FACA67B00764AA8 /* SCGenerator.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C2F9A480FACA67B00764AA8 /* SCGenerator.m */; }; - 2C3554540F784C45003A31C4 /* FlexDataTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35542E0F7846B5003A31C4 /* FlexDataTypes.m */; }; - 2C3554610F784C8B003A31C4 /* FlexDataTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35542E0F7846B5003A31C4 /* FlexDataTypes.m */; }; - 2C3554640F784C9C003A31C4 /* FlexDataTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35542E0F7846B5003A31C4 /* FlexDataTypes.m */; }; - 2C3554690F784CB3003A31C4 /* FlexDataTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35542E0F7846B5003A31C4 /* FlexDataTypes.m */; }; - 2C35A4870EA401CB000B2452 /* AMFActionMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4700EA401CB000B2452 /* AMFActionMessage.m */; }; - 2C35A4900EA401CB000B2452 /* ASObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4820EA401CB000B2452 /* ASObject.m */; }; - 2C38B4A30EE4A04A0083BCF5 /* CAMFFieldEditor.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C38B4A20EE4A04A0083BCF5 /* CAMFFieldEditor.m */; }; - 2C73A90B0F19681200EA16AD /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C73A90A0F19681200EA16AD /* main.m */; }; - 2C73A90F0F19687F00EA16AD /* AMFActionMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4700EA401CB000B2452 /* AMFActionMessage.m */; }; - 2C73A9100F19688000EA16AD /* AMFUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500E60EDF42DF0058EBE0 /* AMFUnarchiver.m */; }; - 2C73A9120F19688200EA16AD /* AMFRemotingCall.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C73A8EC0F1954E100EA16AD /* AMFRemotingCall.m */; }; - 2C73A9130F19688300EA16AD /* ASObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4820EA401CB000B2452 /* ASObject.m */; }; - 2C80A6800F1C1FA700D761BB /* AMFArchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C80A67F0F1C1FA700D761BB /* AMFArchiver.m */; }; - 2C8500A40EDF39AE0058EBE0 /* ASObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4820EA401CB000B2452 /* ASObject.m */; }; - 2C8500A60EDF39BB0058EBE0 /* AMFActionMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4700EA401CB000B2452 /* AMFActionMessage.m */; }; - 2C8500AA0EDF39EF0058EBE0 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2C8500A90EDF39EF0058EBE0 /* MainMenu.xib */; }; - 2C8500AE0EDF3B650058EBE0 /* Controller.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500AD0EDF3B650058EBE0 /* Controller.m */; }; - 2C8500C70EDF41890058EBE0 /* CDataScanner.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500B60EDF41890058EBE0 /* CDataScanner.m */; }; - 2C8500C80EDF41890058EBE0 /* CDataScanner_Extensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500B90EDF41890058EBE0 /* CDataScanner_Extensions.m */; }; - 2C8500C90EDF41890058EBE0 /* NSCharacterSet_Extensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500BB0EDF41890058EBE0 /* NSCharacterSet_Extensions.m */; }; - 2C8500CA0EDF41890058EBE0 /* NSDictionary_JSONExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500BD0EDF41890058EBE0 /* NSDictionary_JSONExtensions.m */; }; - 2C8500CB0EDF41890058EBE0 /* NSScanner_Extensions.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500BF0EDF41890058EBE0 /* NSScanner_Extensions.m */; }; - 2C8500CC0EDF41890058EBE0 /* CJSONDeserializer.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500C20EDF41890058EBE0 /* CJSONDeserializer.m */; }; - 2C8500CD0EDF41890058EBE0 /* CJSONScanner.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500C40EDF41890058EBE0 /* CJSONScanner.m */; }; - 2C8500CE0EDF41890058EBE0 /* CJSONSerializer.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500C60EDF41890058EBE0 /* CJSONSerializer.m */; }; - 2C8500EA0EDF42DF0058EBE0 /* AMFUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500E60EDF42DF0058EBE0 /* AMFUnarchiver.m */; }; - 2C8500EE0EDF42DF0058EBE0 /* AMFUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500E60EDF42DF0058EBE0 /* AMFUnarchiver.m */; }; - 2C8500FC0EDF43380058EBE0 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; - 2C85010D0EDF43D10058EBE0 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C85010C0EDF43D10058EBE0 /* main.m */; }; - 2CA3CA2C0F8793B6007E68E0 /* AMF.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C1879B40F76FC8200DF747D /* AMF.m */; }; - 2CB5B4970F16C89300C71818 /* AMF0Test.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C47403F0F16C2890062D1FD /* AMF0Test.m */; }; - 2CB5B4C70F16D24E00C71818 /* AbstractAMFTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 2CB5B4B10F16CF5D00C71818 /* AbstractAMFTest.m */; }; - 2CB5B4CC0F16D27000C71818 /* AMFActionMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4700EA401CB000B2452 /* AMFActionMessage.m */; }; - 2CB5B4CD0F16D27200C71818 /* AMFUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500E60EDF42DF0058EBE0 /* AMFUnarchiver.m */; }; - 2CB5B4CF0F16D27500C71818 /* ASObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4820EA401CB000B2452 /* ASObject.m */; }; - 490EA8400FCFDCCD000CCD65 /* AMFDebugUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C0790890FAB3B9B00100142 /* AMFDebugUnarchiver.m */; }; - 490EA8420FCFDCD4000CCD65 /* AMF.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C1879B40F76FC8200DF747D /* AMF.m */; }; - 49A46C2A0F4C23FB008ADED3 /* AMFArchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C80A67F0F1C1FA700D761BB /* AMFArchiver.m */; }; - 49A46FB40F4EBA3F008ADED3 /* AMF3Test.m in Sources */ = {isa = PBXBuildFile; fileRef = 49A46FB30F4EBA3F008ADED3 /* AMF3Test.m */; }; - 49A471370F52E579008ADED3 /* AMFArchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C80A67F0F1C1FA700D761BB /* AMFArchiver.m */; }; - 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */; }; + ED17597421932E4A00FB6017 /* CocoaAMF.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED17596B21932E4A00FB6017 /* CocoaAMF.framework */; }; + ED17597B21932E4A00FB6017 /* CocoaAMF.h in Headers */ = {isa = PBXBuildFile; fileRef = ED17596D21932E4A00FB6017 /* CocoaAMF.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ED17598221932E6B00FB6017 /* AMF.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C35A4660EA401CB000B2452 /* AMF.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ED17598321932E6B00FB6017 /* AMF.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C1879B40F76FC8200DF747D /* AMF.m */; }; + ED17598421932E6B00FB6017 /* AMFUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C8500E30EDF42DF0058EBE0 /* AMFUnarchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ED17598521932E6B00FB6017 /* AMFUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C8500E60EDF42DF0058EBE0 /* AMFUnarchiver.m */; }; + ED17598621932E6B00FB6017 /* AMFArchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C80A67E0F1C1FA700D761BB /* AMFArchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ED17598721932E6B00FB6017 /* AMFArchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C80A67F0F1C1FA700D761BB /* AMFArchiver.m */; }; + ED17598821932E6B00FB6017 /* AMFActionMessage.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C35A46F0EA401CB000B2452 /* AMFActionMessage.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ED17598921932E6B00FB6017 /* AMFActionMessage.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4700EA401CB000B2452 /* AMFActionMessage.m */; }; + ED17598C21932E6B00FB6017 /* ASObject.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C35A4810EA401CB000B2452 /* ASObject.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ED17598D21932E6B00FB6017 /* ASObject.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35A4820EA401CB000B2452 /* ASObject.m */; }; + ED17598E21932E6B00FB6017 /* FlexDataTypes.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C35542D0F7846B5003A31C4 /* FlexDataTypes.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ED17598F21932E6B00FB6017 /* FlexDataTypes.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C35542E0F7846B5003A31C4 /* FlexDataTypes.m */; }; + ED17599021932E6B00FB6017 /* AMFDebugUnarchiver.h in Headers */ = {isa = PBXBuildFile; fileRef = 2C0790880FAB3B9B00100142 /* AMFDebugUnarchiver.h */; settings = {ATTRIBUTES = (Public, ); }; }; + ED17599121932E6B00FB6017 /* AMFDebugUnarchiver.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C0790890FAB3B9B00100142 /* AMFDebugUnarchiver.m */; }; + ED17599221932F6700FB6017 /* AMF0Test.m in Sources */ = {isa = PBXBuildFile; fileRef = 2C47403F0F16C2890062D1FD /* AMF0Test.m */; }; + ED17599321932F6A00FB6017 /* AMF3Test.m in Sources */ = {isa = PBXBuildFile; fileRef = 49A46FB30F4EBA3F008ADED3 /* AMF3Test.m */; }; + ED17599421932F6C00FB6017 /* AbstractAMFTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 2CB5B4B10F16CF5D00C71818 /* AbstractAMFTest.m */; }; + ED17599A219330DF00FB6017 /* NSObject-AMFExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = ED175996219330DF00FB6017 /* NSObject-AMFExtensions.m */; }; + ED17599B219330DF00FB6017 /* NSObject-iPhoneExtensions.m in Sources */ = {isa = PBXBuildFile; fileRef = ED175997219330DF00FB6017 /* NSObject-iPhoneExtensions.m */; }; + ED17599C219330DF00FB6017 /* NSObject-iPhoneExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = ED175998219330DF00FB6017 /* NSObject-iPhoneExtensions.h */; }; + ED17599D219330DF00FB6017 /* NSObject-AMFExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = ED175999219330DF00FB6017 /* NSObject-AMFExtensions.h */; }; + ED175AB7219334B200FB6017 /* array_0.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759C9219332E700FB6017 /* array_0.amf3 */; }; + ED175AB8219334B200FB6017 /* boolean_0.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759D8219332E700FB6017 /* boolean_0.amf3 */; }; + ED175AB9219334B200FB6017 /* boolean_1.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759D4219332E700FB6017 /* boolean_1.amf3 */; }; + ED175ABA219334B200FB6017 /* bytearray_0.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759D2219332E700FB6017 /* bytearray_0.amf3 */; }; + ED175ABB219334B200FB6017 /* dictionary_0.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759C6219332E700FB6017 /* dictionary_0.amf3 */; }; + ED175ABC219334B200FB6017 /* dictionary_1.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759C2219332E700FB6017 /* dictionary_1.amf3 */; }; + ED175ABD219334B200FB6017 /* externalizabledata.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759D1219332E700FB6017 /* externalizabledata.amf3 */; }; + ED175ABE219334B200FB6017 /* flexdatatypes_0.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759BE219332E700FB6017 /* flexdatatypes_0.amf3 */; }; + ED175ABF219334B200FB6017 /* null_0.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759C8219332E700FB6017 /* null_0.amf3 */; }; + ED175AC0219334B200FB6017 /* number_0.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759C7219332E700FB6017 /* number_0.amf3 */; }; + ED175AC1219334B200FB6017 /* number_1.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759C1219332E700FB6017 /* number_1.amf3 */; }; + ED175AC2219334B200FB6017 /* number_2.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759CF219332E700FB6017 /* number_2.amf3 */; }; + ED175AC3219334B200FB6017 /* number_3.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759CA219332E700FB6017 /* number_3.amf3 */; }; + ED175AC4219334B200FB6017 /* number_4.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759D7219332E700FB6017 /* number_4.amf3 */; }; + ED175AC5219334B200FB6017 /* number_5.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759D6219332E700FB6017 /* number_5.amf3 */; }; + ED175AC6219334B200FB6017 /* number_6.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759BF219332E700FB6017 /* number_6.amf3 */; }; + ED175AC7219334B200FB6017 /* number_7.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759BD219332E700FB6017 /* number_7.amf3 */; }; + ED175AC8219334B200FB6017 /* number_8.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759D9219332E700FB6017 /* number_8.amf3 */; }; + ED175AC9219334B200FB6017 /* number_9.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759D3219332E700FB6017 /* number_9.amf3 */; }; + ED175ACA219334B200FB6017 /* number_10.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759DA219332E700FB6017 /* number_10.amf3 */; }; + ED175ACB219334B200FB6017 /* number_11.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759D0219332E700FB6017 /* number_11.amf3 */; }; + ED175ACC219334B200FB6017 /* number_12.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759C0219332E700FB6017 /* number_12.amf3 */; }; + ED175ACD219334B200FB6017 /* number_13.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759BB219332E700FB6017 /* number_13.amf3 */; }; + ED175ACE219334B200FB6017 /* number_14.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759C5219332E700FB6017 /* number_14.amf3 */; }; + ED175ACF219334B200FB6017 /* number_15.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759C3219332E700FB6017 /* number_15.amf3 */; }; + ED175AD0219334B200FB6017 /* number_16.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759CD219332E700FB6017 /* number_16.amf3 */; }; + ED175AD1219334B200FB6017 /* number_17.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759CC219332E700FB6017 /* number_17.amf3 */; }; + ED175AD2219334B200FB6017 /* plainstringexternalizable_0.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759D5219332E700FB6017 /* plainstringexternalizable_0.amf3 */; }; + ED175AD3219334B200FB6017 /* string_0.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759CB219332E700FB6017 /* string_0.amf3 */; }; + ED175AD4219334B200FB6017 /* string_1.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759CE219332E700FB6017 /* string_1.amf3 */; }; + ED175AD5219334B200FB6017 /* string_2.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759C4219332E700FB6017 /* string_2.amf3 */; }; + ED175AD6219334B200FB6017 /* typedobject_0.amf3 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759BC219332E700FB6017 /* typedobject_0.amf3 */; }; + ED175AD7219334B600FB6017 /* array_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759A4219332E700FB6017 /* array_0.amf0 */; }; + ED175AD8219334B600FB6017 /* array_1.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759A7219332E700FB6017 /* array_1.amf0 */; }; + ED175AD9219334B600FB6017 /* array_2.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759B3219332E700FB6017 /* array_2.amf0 */; }; + ED175ADA219334B600FB6017 /* array_3.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759B9219332E700FB6017 /* array_3.amf0 */; }; + ED175ADB219334B600FB6017 /* array_4.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759B1219332E700FB6017 /* array_4.amf0 */; }; + ED175ADC219334B600FB6017 /* boolean_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759AE219332E700FB6017 /* boolean_0.amf0 */; }; + ED175ADD219334B600FB6017 /* boolean_1.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759AA219332E700FB6017 /* boolean_1.amf0 */; }; + ED175ADE219334B600FB6017 /* date_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759B0219332E700FB6017 /* date_0.amf0 */; }; + ED175ADF219334B600FB6017 /* dictionary_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759B6219332E700FB6017 /* dictionary_0.amf0 */; }; + ED175AE0219334B600FB6017 /* forceamf3_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759AB219332E700FB6017 /* forceamf3_0.amf0 */; }; + ED175AE1219334B600FB6017 /* null_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759B7219332E700FB6017 /* null_0.amf0 */; }; + ED175AE2219334B600FB6017 /* number_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759B8219332E700FB6017 /* number_0.amf0 */; }; + ED175AE3219334B600FB6017 /* number_1.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759B4219332E700FB6017 /* number_1.amf0 */; }; + ED175AE4219334B600FB6017 /* number_2.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759A8219332E700FB6017 /* number_2.amf0 */; }; + ED175AE5219334B600FB6017 /* number_3.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759A3219332E700FB6017 /* number_3.amf0 */; }; + ED175AE6219334B600FB6017 /* number_4.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759AD219332E700FB6017 /* number_4.amf0 */; }; + ED175AE7219334B600FB6017 /* number_5.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759AC219332E700FB6017 /* number_5.amf0 */; }; + ED175AE8219334B600FB6017 /* object_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759A9219332E700FB6017 /* object_0.amf0 */; }; + ED175AE9219334B600FB6017 /* string_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759A5219332E700FB6017 /* string_0.amf0 */; }; + ED175AEA219334B600FB6017 /* string_1.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759A6219332E700FB6017 /* string_1.amf0 */; }; + ED175AEB219334B600FB6017 /* string_2.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759B5219332E700FB6017 /* string_2.amf0 */; }; + ED175AEC219334B600FB6017 /* typedobject_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759AF219332E700FB6017 /* typedobject_0.amf0 */; }; + ED175AED219334B600FB6017 /* undefined_0.amf0 in Resources */ = {isa = PBXBuildFile; fileRef = ED1759B2219332E700FB6017 /* undefined_0.amf0 */; }; /* End PBXBuildFile section */ -/* Begin PBXCopyFilesBuildPhase section */ - 2CB078660EE0E3500059C799 /* CopyFiles */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ +/* Begin PBXContainerItemProxy section */ + ED17597521932E4A00FB6017 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 29B97313FDCFA39411CA2CEA /* Project object */; + proxyType = 1; + remoteGlobalIDString = ED17596A21932E4A00FB6017; + remoteInfo = CocoaAMF; + }; +/* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ 1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = ""; }; @@ -101,24 +104,9 @@ 29B97325FDCFA39411CA2CEA /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = /System/Library/Frameworks/Foundation.framework; sourceTree = ""; }; 2C0790880FAB3B9B00100142 /* AMFDebugUnarchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AMFDebugUnarchiver.h; sourceTree = ""; }; 2C0790890FAB3B9B00100142 /* AMFDebugUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AMFDebugUnarchiver.m; sourceTree = ""; }; - 2C109BA20EE347B600AF1643 /* NSString+URLEncode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+URLEncode.h"; sourceTree = ""; }; - 2C109BA30EE347B600AF1643 /* NSString+URLEncode.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+URLEncode.m"; sourceTree = ""; }; - 2C109BDB0EE34E0800AF1643 /* AMFClient.scriptSuite */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.scriptSuite; path = AMFClient.scriptSuite; sourceTree = ""; }; - 2C109BDC0EE34E0800AF1643 /* AMFClient.scriptTerminology */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.scriptTerminology; path = AMFClient.scriptTerminology; sourceTree = ""; }; - 2C109BDF0EE34EA000AF1643 /* AMFClientGetURLScriptCommand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AMFClientGetURLScriptCommand.h; sourceTree = ""; }; - 2C109BE00EE34EA000AF1643 /* AMFClientGetURLScriptCommand.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AMFClientGetURLScriptCommand.m; sourceTree = ""; }; - 2C10B1AC0FAE0ED100D4985E /* SCObjCGenerator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCObjCGenerator.h; sourceTree = ""; }; - 2C10B1AD0FAE0ED100D4985E /* SCObjCGenerator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCObjCGenerator.m; sourceTree = ""; }; 2C1879B40F76FC8200DF747D /* AMF.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AMF.m; sourceTree = ""; }; - 2C2E74CE117138BE009D94C8 /* CocoaAMF.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CocoaAMF.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 2C2E74CF117138BE009D94C8 /* CocoaAMF-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "CocoaAMF-Info.plist"; sourceTree = ""; }; 2C2E752311714084009D94C8 /* CocoaAMF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CocoaAMF.h; sourceTree = ""; }; - 2C2F9A340FACA18E00764AA8 /* NSOutlineView+ContextMenu.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSOutlineView+ContextMenu.h"; sourceTree = ""; }; - 2C2F9A350FACA18E00764AA8 /* NSOutlineView+ContextMenu.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSOutlineView+ContextMenu.m"; sourceTree = ""; }; - 2C2F9A440FACA64700764AA8 /* SCActionscriptGenerator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCActionscriptGenerator.h; sourceTree = ""; }; - 2C2F9A450FACA64700764AA8 /* SCActionscriptGenerator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCActionscriptGenerator.m; sourceTree = ""; }; - 2C2F9A470FACA67B00764AA8 /* SCGenerator.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SCGenerator.h; sourceTree = ""; }; - 2C2F9A480FACA67B00764AA8 /* SCGenerator.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SCGenerator.m; sourceTree = ""; }; 2C35542D0F7846B5003A31C4 /* FlexDataTypes.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FlexDataTypes.h; sourceTree = ""; }; 2C35542E0F7846B5003A31C4 /* FlexDataTypes.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FlexDataTypes.m; sourceTree = ""; }; 2C35A4660EA401CB000B2452 /* AMF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AMF.h; sourceTree = ""; }; @@ -126,86 +114,100 @@ 2C35A4700EA401CB000B2452 /* AMFActionMessage.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AMFActionMessage.m; sourceTree = ""; }; 2C35A4810EA401CB000B2452 /* ASObject.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ASObject.h; sourceTree = ""; }; 2C35A4820EA401CB000B2452 /* ASObject.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ASObject.m; sourceTree = ""; }; - 2C38B4A10EE4A04A0083BCF5 /* CAMFFieldEditor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CAMFFieldEditor.h; sourceTree = ""; }; - 2C38B4A20EE4A04A0083BCF5 /* CAMFFieldEditor.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CAMFFieldEditor.m; sourceTree = ""; }; 2C47403E0F16C2890062D1FD /* AMF0Test.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AMF0Test.h; sourceTree = ""; }; 2C47403F0F16C2890062D1FD /* AMF0Test.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AMF0Test.m; sourceTree = ""; }; 2C73A82F0F193EC000EA16AD /* Tests-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; - 2C73A8EB0F1954E100EA16AD /* AMFRemotingCall.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AMFRemotingCall.h; sourceTree = ""; }; - 2C73A8EC0F1954E100EA16AD /* AMFRemotingCall.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AMFRemotingCall.m; sourceTree = ""; }; - 2C73A9060F1967E200EA16AD /* SimpleRemotingCallExample */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SimpleRemotingCallExample; sourceTree = BUILT_PRODUCTS_DIR; }; - 2C73A90A0F19681200EA16AD /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 2C80A67E0F1C1FA700D761BB /* AMFArchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AMFArchiver.h; sourceTree = ""; }; 2C80A67F0F1C1FA700D761BB /* AMFArchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AMFArchiver.m; sourceTree = ""; }; - 2C8500920EDF39560058EBE0 /* AMFClient.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = AMFClient.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 2C8500940EDF39560058EBE0 /* AMFClient-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "AMFClient-Info.plist"; sourceTree = ""; }; - 2C8500A90EDF39EF0058EBE0 /* MainMenu.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainMenu.xib; sourceTree = ""; }; - 2C8500AC0EDF3B650058EBE0 /* Controller.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Controller.h; sourceTree = ""; }; - 2C8500AD0EDF3B650058EBE0 /* Controller.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = Controller.m; sourceTree = ""; }; - 2C8500B50EDF41890058EBE0 /* CDataScanner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDataScanner.h; sourceTree = ""; }; - 2C8500B60EDF41890058EBE0 /* CDataScanner.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CDataScanner.m; sourceTree = ""; }; - 2C8500B80EDF41890058EBE0 /* CDataScanner_Extensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CDataScanner_Extensions.h; sourceTree = ""; }; - 2C8500B90EDF41890058EBE0 /* CDataScanner_Extensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CDataScanner_Extensions.m; sourceTree = ""; }; - 2C8500BA0EDF41890058EBE0 /* NSCharacterSet_Extensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSCharacterSet_Extensions.h; sourceTree = ""; }; - 2C8500BB0EDF41890058EBE0 /* NSCharacterSet_Extensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSCharacterSet_Extensions.m; sourceTree = ""; }; - 2C8500BC0EDF41890058EBE0 /* NSDictionary_JSONExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSDictionary_JSONExtensions.h; sourceTree = ""; }; - 2C8500BD0EDF41890058EBE0 /* NSDictionary_JSONExtensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSDictionary_JSONExtensions.m; sourceTree = ""; }; - 2C8500BE0EDF41890058EBE0 /* NSScanner_Extensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = NSScanner_Extensions.h; sourceTree = ""; }; - 2C8500BF0EDF41890058EBE0 /* NSScanner_Extensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = NSScanner_Extensions.m; sourceTree = ""; }; - 2C8500C10EDF41890058EBE0 /* CJSONDeserializer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CJSONDeserializer.h; sourceTree = ""; }; - 2C8500C20EDF41890058EBE0 /* CJSONDeserializer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CJSONDeserializer.m; sourceTree = ""; }; - 2C8500C30EDF41890058EBE0 /* CJSONScanner.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CJSONScanner.h; sourceTree = ""; }; - 2C8500C40EDF41890058EBE0 /* CJSONScanner.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CJSONScanner.m; sourceTree = ""; }; - 2C8500C50EDF41890058EBE0 /* CJSONSerializer.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = CJSONSerializer.h; sourceTree = ""; }; - 2C8500C60EDF41890058EBE0 /* CJSONSerializer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = CJSONSerializer.m; sourceTree = ""; }; 2C8500E30EDF42DF0058EBE0 /* AMFUnarchiver.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AMFUnarchiver.h; sourceTree = ""; }; 2C8500E60EDF42DF0058EBE0 /* AMFUnarchiver.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AMFUnarchiver.m; sourceTree = ""; }; - 2C85010C0EDF43D10058EBE0 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - 2CB5B48C0F16C7D200C71818 /* Tests.octest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.octest; sourceTree = BUILT_PRODUCTS_DIR; }; 2CB5B4B00F16CF5D00C71818 /* AbstractAMFTest.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AbstractAMFTest.h; sourceTree = ""; }; 2CB5B4B10F16CF5D00C71818 /* AbstractAMFTest.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AbstractAMFTest.m; sourceTree = ""; }; 49A46CC20F4C2B99008ADED3 /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 49A46FB20F4EBA3F008ADED3 /* AMF3Test.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AMF3Test.h; sourceTree = ""; }; 49A46FB30F4EBA3F008ADED3 /* AMF3Test.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AMF3Test.m; sourceTree = ""; }; - 8D1107320486CEB800E47090 /* CocoaAMF.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = CocoaAMF.app; sourceTree = BUILT_PRODUCTS_DIR; }; + ED17595621932CA300FB6017 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Platforms/MacOSX.platform/Developer/Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; + ED17596021932D2B00FB6017 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + ED17596B21932E4A00FB6017 /* CocoaAMF.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = CocoaAMF.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + ED17596D21932E4A00FB6017 /* CocoaAMF.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = CocoaAMF.h; sourceTree = ""; }; + ED17596E21932E4A00FB6017 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + ED17597321932E4A00FB6017 /* CocoaAMFTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = CocoaAMFTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + ED17597821932E4A00FB6017 /* CocoaAMFTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CocoaAMFTests.swift; sourceTree = ""; }; + ED17597A21932E4A00FB6017 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + ED175996219330DF00FB6017 /* NSObject-AMFExtensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject-AMFExtensions.m"; sourceTree = ""; }; + ED175997219330DF00FB6017 /* NSObject-iPhoneExtensions.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSObject-iPhoneExtensions.m"; sourceTree = ""; }; + ED175998219330DF00FB6017 /* NSObject-iPhoneExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject-iPhoneExtensions.h"; sourceTree = ""; }; + ED175999219330DF00FB6017 /* NSObject-AMFExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSObject-AMFExtensions.h"; sourceTree = ""; }; + ED1759A3219332E700FB6017 /* number_3.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_3.amf0; sourceTree = ""; }; + ED1759A4219332E700FB6017 /* array_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = array_0.amf0; sourceTree = ""; }; + ED1759A5219332E700FB6017 /* string_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = string_0.amf0; sourceTree = ""; }; + ED1759A6219332E700FB6017 /* string_1.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = string_1.amf0; sourceTree = ""; }; + ED1759A7219332E700FB6017 /* array_1.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = array_1.amf0; sourceTree = ""; }; + ED1759A8219332E700FB6017 /* number_2.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_2.amf0; sourceTree = ""; }; + ED1759A9219332E700FB6017 /* object_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = object_0.amf0; sourceTree = ""; }; + ED1759AA219332E700FB6017 /* boolean_1.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = boolean_1.amf0; sourceTree = ""; }; + ED1759AB219332E700FB6017 /* forceamf3_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = forceamf3_0.amf0; sourceTree = ""; }; + ED1759AC219332E700FB6017 /* number_5.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_5.amf0; sourceTree = ""; }; + ED1759AD219332E700FB6017 /* number_4.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_4.amf0; sourceTree = ""; }; + ED1759AE219332E700FB6017 /* boolean_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = boolean_0.amf0; sourceTree = ""; }; + ED1759AF219332E700FB6017 /* typedobject_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = typedobject_0.amf0; sourceTree = ""; }; + ED1759B0219332E700FB6017 /* date_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = date_0.amf0; sourceTree = ""; }; + ED1759B1219332E700FB6017 /* array_4.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = array_4.amf0; sourceTree = ""; }; + ED1759B2219332E700FB6017 /* undefined_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = undefined_0.amf0; sourceTree = ""; }; + ED1759B3219332E700FB6017 /* array_2.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = array_2.amf0; sourceTree = ""; }; + ED1759B4219332E700FB6017 /* number_1.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_1.amf0; sourceTree = ""; }; + ED1759B5219332E700FB6017 /* string_2.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = string_2.amf0; sourceTree = ""; }; + ED1759B6219332E700FB6017 /* dictionary_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = dictionary_0.amf0; sourceTree = ""; }; + ED1759B7219332E700FB6017 /* null_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = null_0.amf0; sourceTree = ""; }; + ED1759B8219332E700FB6017 /* number_0.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_0.amf0; sourceTree = ""; }; + ED1759B9219332E700FB6017 /* array_3.amf0 */ = {isa = PBXFileReference; lastKnownFileType = file; path = array_3.amf0; sourceTree = ""; }; + ED1759BB219332E700FB6017 /* number_13.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_13.amf3; sourceTree = ""; }; + ED1759BC219332E700FB6017 /* typedobject_0.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = typedobject_0.amf3; sourceTree = ""; }; + ED1759BD219332E700FB6017 /* number_7.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_7.amf3; sourceTree = ""; }; + ED1759BE219332E700FB6017 /* flexdatatypes_0.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = flexdatatypes_0.amf3; sourceTree = ""; }; + ED1759BF219332E700FB6017 /* number_6.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_6.amf3; sourceTree = ""; }; + ED1759C0219332E700FB6017 /* number_12.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_12.amf3; sourceTree = ""; }; + ED1759C1219332E700FB6017 /* number_1.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_1.amf3; sourceTree = ""; }; + ED1759C2219332E700FB6017 /* dictionary_1.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = dictionary_1.amf3; sourceTree = ""; }; + ED1759C3219332E700FB6017 /* number_15.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_15.amf3; sourceTree = ""; }; + ED1759C4219332E700FB6017 /* string_2.amf3 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = string_2.amf3; sourceTree = ""; }; + ED1759C5219332E700FB6017 /* number_14.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_14.amf3; sourceTree = ""; }; + ED1759C6219332E700FB6017 /* dictionary_0.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = dictionary_0.amf3; sourceTree = ""; }; + ED1759C7219332E700FB6017 /* number_0.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_0.amf3; sourceTree = ""; }; + ED1759C8219332E700FB6017 /* null_0.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = null_0.amf3; sourceTree = ""; }; + ED1759C9219332E700FB6017 /* array_0.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = array_0.amf3; sourceTree = ""; }; + ED1759CA219332E700FB6017 /* number_3.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_3.amf3; sourceTree = ""; }; + ED1759CB219332E700FB6017 /* string_0.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = string_0.amf3; sourceTree = ""; }; + ED1759CC219332E700FB6017 /* number_17.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_17.amf3; sourceTree = ""; }; + ED1759CD219332E700FB6017 /* number_16.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_16.amf3; sourceTree = ""; }; + ED1759CE219332E700FB6017 /* string_1.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = string_1.amf3; sourceTree = ""; }; + ED1759CF219332E700FB6017 /* number_2.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_2.amf3; sourceTree = ""; }; + ED1759D0219332E700FB6017 /* number_11.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_11.amf3; sourceTree = ""; }; + ED1759D1219332E700FB6017 /* externalizabledata.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = externalizabledata.amf3; sourceTree = ""; }; + ED1759D2219332E700FB6017 /* bytearray_0.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = bytearray_0.amf3; sourceTree = ""; }; + ED1759D3219332E700FB6017 /* number_9.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_9.amf3; sourceTree = ""; }; + ED1759D4219332E700FB6017 /* boolean_1.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = boolean_1.amf3; sourceTree = ""; }; + ED1759D5219332E700FB6017 /* plainstringexternalizable_0.amf3 */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = plainstringexternalizable_0.amf3; sourceTree = ""; }; + ED1759D6219332E700FB6017 /* number_5.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_5.amf3; sourceTree = ""; }; + ED1759D7219332E700FB6017 /* number_4.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_4.amf3; sourceTree = ""; }; + ED1759D8219332E700FB6017 /* boolean_0.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = boolean_0.amf3; sourceTree = ""; }; + ED1759D9219332E700FB6017 /* number_8.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_8.amf3; sourceTree = ""; }; + ED1759DA219332E700FB6017 /* number_10.amf3 */ = {isa = PBXFileReference; lastKnownFileType = file; path = number_10.amf3; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 2C2E74CC117138BE009D94C8 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 2C2E750211714019009D94C8 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 2C73A9040F1967E200EA16AD /* Frameworks */ = { + ED17596821932E4A00FB6017 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( ); runOnlyForDeploymentPostprocessing = 0; }; - 2C8500900EDF39560058EBE0 /* Frameworks */ = { + ED17597021932E4A00FB6017 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 2C8500FC0EDF43380058EBE0 /* Cocoa.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 2CB5B4890F16C7D200C71818 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8D11072E0486CEB800E47090 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 8D11072F0486CEB800E47090 /* Cocoa.framework in Frameworks */, + ED17597421932E4A00FB6017 /* CocoaAMF.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -233,11 +235,8 @@ 19C28FACFE9D520D11CA2CBB /* Products */ = { isa = PBXGroup; children = ( - 8D1107320486CEB800E47090 /* CocoaAMF.app */, - 2C8500920EDF39560058EBE0 /* AMFClient.app */, - 2CB5B48C0F16C7D200C71818 /* Tests.octest */, - 2C73A9060F1967E200EA16AD /* SimpleRemotingCallExample */, - 2C2E74CE117138BE009D94C8 /* CocoaAMF.framework */, + ED17596B21932E4A00FB6017 /* CocoaAMF.framework */, + ED17597321932E4A00FB6017 /* CocoaAMFTests.xctest */, ); name = Products; sourceTree = ""; @@ -247,7 +246,9 @@ children = ( 2C35A4650EA401CB000B2452 /* CocoaAMF */, 2C47403C0F16C2050062D1FD /* Tests */, - 2C73A8350F193EFA00EA16AD /* Examples */, + ED17595D21932D2B00FB6017 /* Tests */, + ED17596C21932E4A00FB6017 /* CocoaAMF */, + ED17597721932E4A00FB6017 /* CocoaAMFTests */, 29B97323FDCFA39411CA2CEA /* Frameworks */, 19C28FACFE9D520D11CA2CBB /* Products */, 2C2E74CF117138BE009D94C8 /* CocoaAMF-Info.plist */, @@ -258,6 +259,7 @@ 29B97323FDCFA39411CA2CEA /* Frameworks */ = { isa = PBXGroup; children = ( + ED17595621932CA300FB6017 /* XCTest.framework */, 1058C7A0FEA54F0111CA2CBB /* Linked Frameworks */, 1058C7A2FEA54F0111CA2CBB /* Other Frameworks */, ); @@ -273,48 +275,6 @@ name = Debug; sourceTree = ""; }; - 2C2F9A2F0FACA11C00764AA8 /* Categories */ = { - isa = PBXGroup; - children = ( - 2C109BA20EE347B600AF1643 /* NSString+URLEncode.h */, - 2C109BA30EE347B600AF1643 /* NSString+URLEncode.m */, - 2C2F9A340FACA18E00764AA8 /* NSOutlineView+ContextMenu.h */, - 2C2F9A350FACA18E00764AA8 /* NSOutlineView+ContextMenu.m */, - ); - name = Categories; - sourceTree = ""; - }; - 2C2F9A300FACA13000764AA8 /* Scripting Support */ = { - isa = PBXGroup; - children = ( - 2C109BDF0EE34EA000AF1643 /* AMFClientGetURLScriptCommand.h */, - 2C109BE00EE34EA000AF1643 /* AMFClientGetURLScriptCommand.m */, - ); - name = "Scripting Support"; - sourceTree = ""; - }; - 2C2F9A330FACA15300764AA8 /* Utils */ = { - isa = PBXGroup; - children = ( - 2C38B4A10EE4A04A0083BCF5 /* CAMFFieldEditor.h */, - 2C38B4A20EE4A04A0083BCF5 /* CAMFFieldEditor.m */, - ); - name = Utils; - sourceTree = ""; - }; - 2C2F9A430FACA61C00764AA8 /* StubCode Generators */ = { - isa = PBXGroup; - children = ( - 2C2F9A470FACA67B00764AA8 /* SCGenerator.h */, - 2C2F9A480FACA67B00764AA8 /* SCGenerator.m */, - 2C2F9A440FACA64700764AA8 /* SCActionscriptGenerator.h */, - 2C2F9A450FACA64700764AA8 /* SCActionscriptGenerator.m */, - 2C10B1AC0FAE0ED100D4985E /* SCObjCGenerator.h */, - 2C10B1AD0FAE0ED100D4985E /* SCObjCGenerator.m */, - ); - name = "StubCode Generators"; - sourceTree = ""; - }; 2C3554280F784551003A31C4 /* Core */ = { isa = PBXGroup; children = ( @@ -342,20 +302,11 @@ name = Datatypes; sourceTree = ""; }; - 2C35542A0F784579003A31C4 /* Connection Classes */ = { - isa = PBXGroup; - children = ( - 2C73A8EB0F1954E100EA16AD /* AMFRemotingCall.h */, - 2C73A8EC0F1954E100EA16AD /* AMFRemotingCall.m */, - ); - name = "Connection Classes"; - sourceTree = ""; - }; 2C35A4650EA401CB000B2452 /* CocoaAMF */ = { isa = PBXGroup; children = ( + ED175995219330D500FB6017 /* New Group */, 2C3554280F784551003A31C4 /* Core */, - 2C35542A0F784579003A31C4 /* Connection Classes */, 2C3554290F784568003A31C4 /* Datatypes */, 2C0790870FAB3B7000100142 /* Debug */, ); @@ -365,6 +316,7 @@ 2C47403C0F16C2050062D1FD /* Tests */ = { isa = PBXGroup; children = ( + ED1759A1219332E700FB6017 /* data */, 2C73A82F0F193EC000EA16AD /* Tests-Info.plist */, 2C47403E0F16C2890062D1FD /* AMF0Test.h */, 2C47403F0F16C2890062D1FD /* AMF0Test.m */, @@ -377,137 +329,152 @@ path = Tests; sourceTree = ""; }; - 2C73A8350F193EFA00EA16AD /* Examples */ = { - isa = PBXGroup; - children = ( - 2C85008D0EDF39490058EBE0 /* AMFClient */, - 2C73A9020F1967C600EA16AD /* SimpleRemotingCallExample */, - ); - name = Examples; - sourceTree = ""; - }; - 2C73A9020F1967C600EA16AD /* SimpleRemotingCallExample */ = { + ED17595D21932D2B00FB6017 /* Tests */ = { isa = PBXGroup; children = ( - 2C73A90A0F19681200EA16AD /* main.m */, + ED17596021932D2B00FB6017 /* Info.plist */, ); - name = SimpleRemotingCallExample; - path = Examples/SimpleRemotingCallExample; - sourceTree = ""; - }; - 2C85008D0EDF39490058EBE0 /* AMFClient */ = { - isa = PBXGroup; - children = ( - 2C8500980EDF39690058EBE0 /* Classes */, - 2C8500B30EDF41890058EBE0 /* Libraries */, - 2C8500990EDF39700058EBE0 /* Resources */, - ); - name = AMFClient; - path = Examples/AMFClient; + path = Tests; sourceTree = ""; }; - 2C8500980EDF39690058EBE0 /* Classes */ = { + ED17596C21932E4A00FB6017 /* CocoaAMF */ = { isa = PBXGroup; children = ( - 2C8500AC0EDF3B650058EBE0 /* Controller.h */, - 2C8500AD0EDF3B650058EBE0 /* Controller.m */, - 2C85010C0EDF43D10058EBE0 /* main.m */, - 2C2F9A430FACA61C00764AA8 /* StubCode Generators */, - 2C2F9A2F0FACA11C00764AA8 /* Categories */, - 2C2F9A330FACA15300764AA8 /* Utils */, - 2C2F9A300FACA13000764AA8 /* Scripting Support */, + ED17596D21932E4A00FB6017 /* CocoaAMF.h */, + ED17596E21932E4A00FB6017 /* Info.plist */, ); - name = Classes; + path = CocoaAMF; sourceTree = ""; }; - 2C8500990EDF39700058EBE0 /* Resources */ = { + ED17597721932E4A00FB6017 /* CocoaAMFTests */ = { isa = PBXGroup; children = ( - 2C109BDB0EE34E0800AF1643 /* AMFClient.scriptSuite */, - 2C109BDC0EE34E0800AF1643 /* AMFClient.scriptTerminology */, - 2C8500940EDF39560058EBE0 /* AMFClient-Info.plist */, - 2C8500A90EDF39EF0058EBE0 /* MainMenu.xib */, + ED17597821932E4A00FB6017 /* CocoaAMFTests.swift */, + ED17597A21932E4A00FB6017 /* Info.plist */, ); - name = Resources; + path = CocoaAMFTests; sourceTree = ""; }; - 2C8500B30EDF41890058EBE0 /* Libraries */ = { + ED175995219330D500FB6017 /* New Group */ = { isa = PBXGroup; children = ( - 2C8500B40EDF41890058EBE0 /* JSON */, + ED175999219330DF00FB6017 /* NSObject-AMFExtensions.h */, + ED175996219330DF00FB6017 /* NSObject-AMFExtensions.m */, + ED175998219330DF00FB6017 /* NSObject-iPhoneExtensions.h */, + ED175997219330DF00FB6017 /* NSObject-iPhoneExtensions.m */, ); - path = Libraries; + name = "New Group"; sourceTree = ""; }; - 2C8500B40EDF41890058EBE0 /* JSON */ = { + ED1759A1219332E700FB6017 /* data */ = { isa = PBXGroup; children = ( - 2C8500B50EDF41890058EBE0 /* CDataScanner.h */, - 2C8500B60EDF41890058EBE0 /* CDataScanner.m */, - 2C8500B70EDF41890058EBE0 /* Extensions */, - 2C8500C00EDF41890058EBE0 /* JSON */, + ED1759A2219332E700FB6017 /* amf0 */, + ED1759BA219332E700FB6017 /* amf3 */, ); - path = JSON; + path = data; sourceTree = ""; }; - 2C8500B70EDF41890058EBE0 /* Extensions */ = { + ED1759A2219332E700FB6017 /* amf0 */ = { isa = PBXGroup; children = ( - 2C8500B80EDF41890058EBE0 /* CDataScanner_Extensions.h */, - 2C8500B90EDF41890058EBE0 /* CDataScanner_Extensions.m */, - 2C8500BA0EDF41890058EBE0 /* NSCharacterSet_Extensions.h */, - 2C8500BB0EDF41890058EBE0 /* NSCharacterSet_Extensions.m */, - 2C8500BC0EDF41890058EBE0 /* NSDictionary_JSONExtensions.h */, - 2C8500BD0EDF41890058EBE0 /* NSDictionary_JSONExtensions.m */, - 2C8500BE0EDF41890058EBE0 /* NSScanner_Extensions.h */, - 2C8500BF0EDF41890058EBE0 /* NSScanner_Extensions.m */, - ); - path = Extensions; + ED1759A4219332E700FB6017 /* array_0.amf0 */, + ED1759A7219332E700FB6017 /* array_1.amf0 */, + ED1759B3219332E700FB6017 /* array_2.amf0 */, + ED1759B9219332E700FB6017 /* array_3.amf0 */, + ED1759B1219332E700FB6017 /* array_4.amf0 */, + ED1759AE219332E700FB6017 /* boolean_0.amf0 */, + ED1759AA219332E700FB6017 /* boolean_1.amf0 */, + ED1759B0219332E700FB6017 /* date_0.amf0 */, + ED1759B6219332E700FB6017 /* dictionary_0.amf0 */, + ED1759AB219332E700FB6017 /* forceamf3_0.amf0 */, + ED1759B7219332E700FB6017 /* null_0.amf0 */, + ED1759B8219332E700FB6017 /* number_0.amf0 */, + ED1759B4219332E700FB6017 /* number_1.amf0 */, + ED1759A8219332E700FB6017 /* number_2.amf0 */, + ED1759A3219332E700FB6017 /* number_3.amf0 */, + ED1759AD219332E700FB6017 /* number_4.amf0 */, + ED1759AC219332E700FB6017 /* number_5.amf0 */, + ED1759A9219332E700FB6017 /* object_0.amf0 */, + ED1759A5219332E700FB6017 /* string_0.amf0 */, + ED1759A6219332E700FB6017 /* string_1.amf0 */, + ED1759B5219332E700FB6017 /* string_2.amf0 */, + ED1759AF219332E700FB6017 /* typedobject_0.amf0 */, + ED1759B2219332E700FB6017 /* undefined_0.amf0 */, + ); + path = amf0; sourceTree = ""; }; - 2C8500C00EDF41890058EBE0 /* JSON */ = { + ED1759BA219332E700FB6017 /* amf3 */ = { isa = PBXGroup; children = ( - 2C8500C10EDF41890058EBE0 /* CJSONDeserializer.h */, - 2C8500C20EDF41890058EBE0 /* CJSONDeserializer.m */, - 2C8500C30EDF41890058EBE0 /* CJSONScanner.h */, - 2C8500C40EDF41890058EBE0 /* CJSONScanner.m */, - 2C8500C50EDF41890058EBE0 /* CJSONSerializer.h */, - 2C8500C60EDF41890058EBE0 /* CJSONSerializer.m */, - ); - path = JSON; + ED1759C9219332E700FB6017 /* array_0.amf3 */, + ED1759D8219332E700FB6017 /* boolean_0.amf3 */, + ED1759D4219332E700FB6017 /* boolean_1.amf3 */, + ED1759D2219332E700FB6017 /* bytearray_0.amf3 */, + ED1759C6219332E700FB6017 /* dictionary_0.amf3 */, + ED1759C2219332E700FB6017 /* dictionary_1.amf3 */, + ED1759D1219332E700FB6017 /* externalizabledata.amf3 */, + ED1759BE219332E700FB6017 /* flexdatatypes_0.amf3 */, + ED1759C8219332E700FB6017 /* null_0.amf3 */, + ED1759C7219332E700FB6017 /* number_0.amf3 */, + ED1759C1219332E700FB6017 /* number_1.amf3 */, + ED1759CF219332E700FB6017 /* number_2.amf3 */, + ED1759CA219332E700FB6017 /* number_3.amf3 */, + ED1759D7219332E700FB6017 /* number_4.amf3 */, + ED1759D6219332E700FB6017 /* number_5.amf3 */, + ED1759BF219332E700FB6017 /* number_6.amf3 */, + ED1759BD219332E700FB6017 /* number_7.amf3 */, + ED1759D9219332E700FB6017 /* number_8.amf3 */, + ED1759D3219332E700FB6017 /* number_9.amf3 */, + ED1759DA219332E700FB6017 /* number_10.amf3 */, + ED1759D0219332E700FB6017 /* number_11.amf3 */, + ED1759C0219332E700FB6017 /* number_12.amf3 */, + ED1759BB219332E700FB6017 /* number_13.amf3 */, + ED1759C5219332E700FB6017 /* number_14.amf3 */, + ED1759C3219332E700FB6017 /* number_15.amf3 */, + ED1759CD219332E700FB6017 /* number_16.amf3 */, + ED1759CC219332E700FB6017 /* number_17.amf3 */, + ED1759D5219332E700FB6017 /* plainstringexternalizable_0.amf3 */, + ED1759CB219332E700FB6017 /* string_0.amf3 */, + ED1759CE219332E700FB6017 /* string_1.amf3 */, + ED1759C4219332E700FB6017 /* string_2.amf3 */, + ED1759BC219332E700FB6017 /* typedobject_0.amf3 */, + ); + path = amf3; sourceTree = ""; }; /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 2C2E74C9117138BE009D94C8 /* Headers */ = { + ED17596621932E4A00FB6017 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 2C2E750511714032009D94C8 /* AMF.h in Headers */, - 2C2E750711714034009D94C8 /* AMFActionMessage.h in Headers */, - 2C2E750911714036009D94C8 /* AMFArchiver.h in Headers */, - 2C2E750B11714037009D94C8 /* AMFDebugUnarchiver.h in Headers */, - 2C2E75111171403F009D94C8 /* AMFRemotingCall.h in Headers */, - 2C2E751311714040009D94C8 /* AMFUnarchiver.h in Headers */, - 2C2E751511714042009D94C8 /* ASObject.h in Headers */, - 2C2E751711714045009D94C8 /* FlexDataTypes.h in Headers */, - 2C2E752411714084009D94C8 /* CocoaAMF.h in Headers */, + ED17598221932E6B00FB6017 /* AMF.h in Headers */, + ED17598421932E6B00FB6017 /* AMFUnarchiver.h in Headers */, + ED17598621932E6B00FB6017 /* AMFArchiver.h in Headers */, + ED17598821932E6B00FB6017 /* AMFActionMessage.h in Headers */, + ED17597B21932E4A00FB6017 /* CocoaAMF.h in Headers */, + ED17599D219330DF00FB6017 /* NSObject-AMFExtensions.h in Headers */, + ED17598E21932E6B00FB6017 /* FlexDataTypes.h in Headers */, + ED17598C21932E6B00FB6017 /* ASObject.h in Headers */, + ED17599021932E6B00FB6017 /* AMFDebugUnarchiver.h in Headers */, + ED17599C219330DF00FB6017 /* NSObject-iPhoneExtensions.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 2C2E74CD117138BE009D94C8 /* CocoaAMF */ = { + ED17596A21932E4A00FB6017 /* CocoaAMF */ = { isa = PBXNativeTarget; - buildConfigurationList = 2C2E74D2117138BF009D94C8 /* Build configuration list for PBXNativeTarget "CocoaAMF" */; + buildConfigurationList = ED17597C21932E4A00FB6017 /* Build configuration list for PBXNativeTarget "CocoaAMF" */; buildPhases = ( - 2C2E74C9117138BE009D94C8 /* Headers */, - 2C2E74CA117138BE009D94C8 /* Resources */, - 2C2E74CB117138BE009D94C8 /* Sources */, - 2C2E74CC117138BE009D94C8 /* Frameworks */, + ED17596621932E4A00FB6017 /* Headers */, + ED17596721932E4A00FB6017 /* Sources */, + ED17596821932E4A00FB6017 /* Frameworks */, + ED17596921932E4A00FB6017 /* Resources */, ); buildRules = ( ); @@ -515,78 +482,26 @@ ); name = CocoaAMF; productName = CocoaAMF; - productReference = 2C2E74CE117138BE009D94C8 /* CocoaAMF.framework */; + productReference = ED17596B21932E4A00FB6017 /* CocoaAMF.framework */; productType = "com.apple.product-type.framework"; }; - 2C73A9050F1967E200EA16AD /* SimpleRemotingCallExample */ = { + ED17597221932E4A00FB6017 /* CocoaAMFTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 2C73A90C0F19681300EA16AD /* Build configuration list for PBXNativeTarget "SimpleRemotingCallExample" */; + buildConfigurationList = ED17597F21932E4A00FB6017 /* Build configuration list for PBXNativeTarget "CocoaAMFTests" */; buildPhases = ( - 2C73A9030F1967E200EA16AD /* Sources */, - 2C73A9040F1967E200EA16AD /* Frameworks */, + ED17596F21932E4A00FB6017 /* Sources */, + ED17597021932E4A00FB6017 /* Frameworks */, + ED17597121932E4A00FB6017 /* Resources */, ); buildRules = ( ); dependencies = ( + ED17597621932E4A00FB6017 /* PBXTargetDependency */, ); - name = SimpleRemotingCallExample; - productName = SimpleRemotingCallExample; - productReference = 2C73A9060F1967E200EA16AD /* SimpleRemotingCallExample */; - productType = "com.apple.product-type.tool"; - }; - 2C8500910EDF39560058EBE0 /* AMFClient */ = { - isa = PBXNativeTarget; - buildConfigurationList = 2C8500970EDF395E0058EBE0 /* Build configuration list for PBXNativeTarget "AMFClient" */; - buildPhases = ( - 2C85008E0EDF39560058EBE0 /* Resources */, - 2C85008F0EDF39560058EBE0 /* Sources */, - 2C8500900EDF39560058EBE0 /* Frameworks */, - 2CB078660EE0E3500059C799 /* CopyFiles */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = AMFClient; - productName = AMFClient; - productReference = 2C8500920EDF39560058EBE0 /* AMFClient.app */; - productType = "com.apple.product-type.application"; - }; - 2CB5B48B0F16C7D200C71818 /* Tests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 2CB5B4920F16C7D700C71818 /* Build configuration list for PBXNativeTarget "Tests" */; - buildPhases = ( - 2CB5B4870F16C7D200C71818 /* Resources */, - 2CB5B4880F16C7D200C71818 /* Sources */, - 2CB5B4890F16C7D200C71818 /* Frameworks */, - 2CB5B48A0F16C7D200C71818 /* ShellScript */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Tests; - productName = Tests; - productReference = 2CB5B48C0F16C7D200C71818 /* Tests.octest */; - productType = "com.apple.product-type.bundle"; - }; - 8D1107260486CEB800E47090 /* SharedObject Browser */ = { - isa = PBXNativeTarget; - buildConfigurationList = C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "SharedObject Browser" */; - buildPhases = ( - 8D1107290486CEB800E47090 /* Resources */, - 8D11072C0486CEB800E47090 /* Sources */, - 8D11072E0486CEB800E47090 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "SharedObject Browser"; - productInstallPath = "$(HOME)/Applications"; - productName = CocoaAMF; - productReference = 8D1107320486CEB800E47090 /* CocoaAMF.app */; - productType = "com.apple.product-type.application"; + name = CocoaAMFTests; + productName = CocoaAMFTests; + productReference = ED17597321932E4A00FB6017 /* CocoaAMFTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ @@ -594,7 +509,18 @@ 29B97313FDCFA39411CA2CEA /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0420; + LastSwiftUpdateCheck = 1010; + LastUpgradeCheck = 1010; + TargetAttributes = { + ED17596A21932E4A00FB6017 = { + CreatedOnToolsVersion = 10.1; + ProvisioningStyle = Automatic; + }; + ED17597221932E4A00FB6017 = { + CreatedOnToolsVersion = 10.1; + ProvisioningStyle = Automatic; + }; + }; }; buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "CocoaAMF" */; compatibilityVersion = "Xcode 3.2"; @@ -610,468 +536,398 @@ projectDirPath = ""; projectRoot = ""; targets = ( - 2C8500910EDF39560058EBE0 /* AMFClient */, - 2CB5B48B0F16C7D200C71818 /* Tests */, - 2C73A9050F1967E200EA16AD /* SimpleRemotingCallExample */, - 8D1107260486CEB800E47090 /* SharedObject Browser */, - 2C2E74CD117138BE009D94C8 /* CocoaAMF */, + ED17596A21932E4A00FB6017 /* CocoaAMF */, + ED17597221932E4A00FB6017 /* CocoaAMFTests */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 2C2E74CA117138BE009D94C8 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 2C85008E0EDF39560058EBE0 /* Resources */ = { + ED17596921932E4A00FB6017 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2C8500AA0EDF39EF0058EBE0 /* MainMenu.xib in Resources */, - 2C109BDD0EE34E0800AF1643 /* AMFClient.scriptSuite in Resources */, - 2C109BDE0EE34E0800AF1643 /* AMFClient.scriptTerminology in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 2CB5B4870F16C7D200C71818 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8D1107290486CEB800E47090 /* Resources */ = { + ED17597121932E4A00FB6017 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + ED175AC6219334B200FB6017 /* number_6.amf3 in Resources */, + ED175ACD219334B200FB6017 /* number_13.amf3 in Resources */, + ED175AD1219334B200FB6017 /* number_17.amf3 in Resources */, + ED175AC7219334B200FB6017 /* number_7.amf3 in Resources */, + ED175AE5219334B600FB6017 /* number_3.amf0 in Resources */, + ED175ADF219334B600FB6017 /* dictionary_0.amf0 in Resources */, + ED175AE0219334B600FB6017 /* forceamf3_0.amf0 in Resources */, + ED175AE8219334B600FB6017 /* object_0.amf0 in Resources */, + ED175AD9219334B600FB6017 /* array_2.amf0 in Resources */, + ED175AC2219334B200FB6017 /* number_2.amf3 in Resources */, + ED175ADD219334B600FB6017 /* boolean_1.amf0 in Resources */, + ED175AC9219334B200FB6017 /* number_9.amf3 in Resources */, + ED175AB9219334B200FB6017 /* boolean_1.amf3 in Resources */, + ED175AE2219334B600FB6017 /* number_0.amf0 in Resources */, + ED175AE3219334B600FB6017 /* number_1.amf0 in Resources */, + ED175AC4219334B200FB6017 /* number_4.amf3 in Resources */, + ED175ADE219334B600FB6017 /* date_0.amf0 in Resources */, + ED175AD7219334B600FB6017 /* array_0.amf0 in Resources */, + ED175AEA219334B600FB6017 /* string_1.amf0 in Resources */, + ED175ABF219334B200FB6017 /* null_0.amf3 in Resources */, + ED175AD5219334B200FB6017 /* string_2.amf3 in Resources */, + ED175AD8219334B600FB6017 /* array_1.amf0 in Resources */, + ED175ACE219334B200FB6017 /* number_14.amf3 in Resources */, + ED175AC1219334B200FB6017 /* number_1.amf3 in Resources */, + ED175AD4219334B200FB6017 /* string_1.amf3 in Resources */, + ED175AB8219334B200FB6017 /* boolean_0.amf3 in Resources */, + ED175ADB219334B600FB6017 /* array_4.amf0 in Resources */, + ED175AEB219334B600FB6017 /* string_2.amf0 in Resources */, + ED175AC5219334B200FB6017 /* number_5.amf3 in Resources */, + ED175ABD219334B200FB6017 /* externalizabledata.amf3 in Resources */, + ED175AED219334B600FB6017 /* undefined_0.amf0 in Resources */, + ED175AE6219334B600FB6017 /* number_4.amf0 in Resources */, + ED175AE9219334B600FB6017 /* string_0.amf0 in Resources */, + ED175AD2219334B200FB6017 /* plainstringexternalizable_0.amf3 in Resources */, + ED175ADC219334B600FB6017 /* boolean_0.amf0 in Resources */, + ED175ACB219334B200FB6017 /* number_11.amf3 in Resources */, + ED175AD3219334B200FB6017 /* string_0.amf3 in Resources */, + ED175AD6219334B200FB6017 /* typedobject_0.amf3 in Resources */, + ED175AC3219334B200FB6017 /* number_3.amf3 in Resources */, + ED175ACA219334B200FB6017 /* number_10.amf3 in Resources */, + ED175ACC219334B200FB6017 /* number_12.amf3 in Resources */, + ED175ABB219334B200FB6017 /* dictionary_0.amf3 in Resources */, + ED175AC8219334B200FB6017 /* number_8.amf3 in Resources */, + ED175AB7219334B200FB6017 /* array_0.amf3 in Resources */, + ED175AE4219334B600FB6017 /* number_2.amf0 in Resources */, + ED175AEC219334B600FB6017 /* typedobject_0.amf0 in Resources */, + ED175AD0219334B200FB6017 /* number_16.amf3 in Resources */, + ED175AC0219334B200FB6017 /* number_0.amf3 in Resources */, + ED175ABC219334B200FB6017 /* dictionary_1.amf3 in Resources */, + ED175ACF219334B200FB6017 /* number_15.amf3 in Resources */, + ED175AE1219334B600FB6017 /* null_0.amf0 in Resources */, + ED175ABE219334B200FB6017 /* flexdatatypes_0.amf3 in Resources */, + ED175ABA219334B200FB6017 /* bytearray_0.amf3 in Resources */, + ED175AE7219334B600FB6017 /* number_5.amf0 in Resources */, + ED175ADA219334B600FB6017 /* array_3.amf0 in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ -/* Begin PBXShellScriptBuildPhase section */ - 2CB5B48A0F16C7D200C71818 /* ShellScript */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "# Run the unit tests in this test bundle.\n\"${SYSTEM_DEVELOPER_DIR}/Tools/RunUnitTests\"\n"; - }; -/* End PBXShellScriptBuildPhase section */ - /* Begin PBXSourcesBuildPhase section */ - 2C2E74CB117138BE009D94C8 /* Sources */ = { + ED17596721932E4A00FB6017 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2C2E750611714034009D94C8 /* AMF.m in Sources */, - 2C2E750811714035009D94C8 /* AMFActionMessage.m in Sources */, - 2C2E750A11714036009D94C8 /* AMFArchiver.m in Sources */, - 2C2E750C11714037009D94C8 /* AMFDebugUnarchiver.m in Sources */, - 2C2E751211714040009D94C8 /* AMFRemotingCall.m in Sources */, - 2C2E751411714041009D94C8 /* AMFUnarchiver.m in Sources */, - 2C2E751611714042009D94C8 /* ASObject.m in Sources */, - 2C2E751811714045009D94C8 /* FlexDataTypes.m in Sources */, + ED17598D21932E6B00FB6017 /* ASObject.m in Sources */, + ED17599121932E6B00FB6017 /* AMFDebugUnarchiver.m in Sources */, + ED17598F21932E6B00FB6017 /* FlexDataTypes.m in Sources */, + ED17598921932E6B00FB6017 /* AMFActionMessage.m in Sources */, + ED17599A219330DF00FB6017 /* NSObject-AMFExtensions.m in Sources */, + ED17598321932E6B00FB6017 /* AMF.m in Sources */, + ED17598721932E6B00FB6017 /* AMFArchiver.m in Sources */, + ED17598521932E6B00FB6017 /* AMFUnarchiver.m in Sources */, + ED17599B219330DF00FB6017 /* NSObject-iPhoneExtensions.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 2C73A9030F1967E200EA16AD /* Sources */ = { + ED17596F21932E4A00FB6017 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2C73A90B0F19681200EA16AD /* main.m in Sources */, - 2C73A90F0F19687F00EA16AD /* AMFActionMessage.m in Sources */, - 2C73A9100F19688000EA16AD /* AMFUnarchiver.m in Sources */, - 2C73A9120F19688200EA16AD /* AMFRemotingCall.m in Sources */, - 2C73A9130F19688300EA16AD /* ASObject.m in Sources */, - 49A471370F52E579008ADED3 /* AMFArchiver.m in Sources */, - 2C3554640F784C9C003A31C4 /* FlexDataTypes.m in Sources */, - 2C0792D40FAB90E000100142 /* AMFDebugUnarchiver.m in Sources */, - 2C0792D60FAB90ED00100142 /* AMF.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 2C85008F0EDF39560058EBE0 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 2C8500A40EDF39AE0058EBE0 /* ASObject.m in Sources */, - 2C8500A60EDF39BB0058EBE0 /* AMFActionMessage.m in Sources */, - 2C8500AE0EDF3B650058EBE0 /* Controller.m in Sources */, - 2C8500C70EDF41890058EBE0 /* CDataScanner.m in Sources */, - 2C8500C80EDF41890058EBE0 /* CDataScanner_Extensions.m in Sources */, - 2C8500C90EDF41890058EBE0 /* NSCharacterSet_Extensions.m in Sources */, - 2C8500CA0EDF41890058EBE0 /* NSDictionary_JSONExtensions.m in Sources */, - 2C8500CB0EDF41890058EBE0 /* NSScanner_Extensions.m in Sources */, - 2C8500CC0EDF41890058EBE0 /* CJSONDeserializer.m in Sources */, - 2C8500CD0EDF41890058EBE0 /* CJSONScanner.m in Sources */, - 2C8500CE0EDF41890058EBE0 /* CJSONSerializer.m in Sources */, - 2C8500EA0EDF42DF0058EBE0 /* AMFUnarchiver.m in Sources */, - 2C85010D0EDF43D10058EBE0 /* main.m in Sources */, - 2C109BA40EE347B600AF1643 /* NSString+URLEncode.m in Sources */, - 2C109BE10EE34EA000AF1643 /* AMFClientGetURLScriptCommand.m in Sources */, - 2C38B4A30EE4A04A0083BCF5 /* CAMFFieldEditor.m in Sources */, - 2C80A6800F1C1FA700D761BB /* AMFArchiver.m in Sources */, - 2C3554690F784CB3003A31C4 /* FlexDataTypes.m in Sources */, - 2CA3CA2C0F8793B6007E68E0 /* AMF.m in Sources */, - 2C07908A0FAB3B9B00100142 /* AMFDebugUnarchiver.m in Sources */, - 2C2F9A360FACA18E00764AA8 /* NSOutlineView+ContextMenu.m in Sources */, - 2C2F9A460FACA64700764AA8 /* SCActionscriptGenerator.m in Sources */, - 2C2F9A490FACA67B00764AA8 /* SCGenerator.m in Sources */, - 2C10B1AE0FAE0ED100D4985E /* SCObjCGenerator.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 2CB5B4880F16C7D200C71818 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 2CB5B4970F16C89300C71818 /* AMF0Test.m in Sources */, - 2CB5B4C70F16D24E00C71818 /* AbstractAMFTest.m in Sources */, - 2CB5B4CC0F16D27000C71818 /* AMFActionMessage.m in Sources */, - 2CB5B4CD0F16D27200C71818 /* AMFUnarchiver.m in Sources */, - 2CB5B4CF0F16D27500C71818 /* ASObject.m in Sources */, - 49A46C2A0F4C23FB008ADED3 /* AMFArchiver.m in Sources */, - 49A46FB40F4EBA3F008ADED3 /* AMF3Test.m in Sources */, - 2C3554610F784C8B003A31C4 /* FlexDataTypes.m in Sources */, - 490EA8400FCFDCCD000CCD65 /* AMFDebugUnarchiver.m in Sources */, - 490EA8420FCFDCD4000CCD65 /* AMF.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 8D11072C0486CEB800E47090 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 2C35A4870EA401CB000B2452 /* AMFActionMessage.m in Sources */, - 2C35A4900EA401CB000B2452 /* ASObject.m in Sources */, - 2C8500EE0EDF42DF0058EBE0 /* AMFUnarchiver.m in Sources */, - 2C18798C0F76FAA000DF747D /* AMFArchiver.m in Sources */, - 2C1879B50F76FC8200DF747D /* AMF.m in Sources */, - 2C3554540F784C45003A31C4 /* FlexDataTypes.m in Sources */, - 2C0792630FAB7E0900100142 /* AMFDebugUnarchiver.m in Sources */, + ED17599421932F6C00FB6017 /* AbstractAMFTest.m in Sources */, + ED17599221932F6700FB6017 /* AMF0Test.m in Sources */, + ED17599321932F6A00FB6017 /* AMF3Test.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ +/* Begin PBXTargetDependency section */ + ED17597621932E4A00FB6017 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = ED17596A21932E4A00FB6017 /* CocoaAMF */; + targetProxy = ED17597521932E4A00FB6017 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + /* Begin XCBuildConfiguration section */ - 2C2E74D0117138BF009D94C8 /* Debug */ = { + C01FCF4F08A954540054247B /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; - COPY_PHASE_STRIP = NO; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - FRAMEWORK_VERSION = A; - GCC_DYNAMIC_NO_PIC = NO; - GCC_MODEL_TUNING = G5; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - INFOPLIST_FILE = "CocoaAMF-Info.plist"; - INSTALL_PATH = "@rpath"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PRODUCT_NAME = CocoaAMF; + GCC_TREAT_WARNINGS_AS_ERRORS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = macosx; }; name = Debug; }; - 2C2E74D1117138BF009D94C8 /* Release */ = { + C01FCF5008A954540054247B /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - FRAMEWORK_VERSION = A; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - INFOPLIST_FILE = "CocoaAMF-Info.plist"; - INSTALL_PATH = "@rpath"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PRODUCT_NAME = CocoaAMF; - ZERO_LINK = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = c99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + SDKROOT = macosx; }; name = Release; }; - 2C73A9080F1967E700EA16AD /* Debug */ = { + ED17597D21932E4A00FB6017 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = NO; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_VERSION = A; + GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - INSTALL_PATH = /usr/local/bin; - OTHER_CFLAGS = "-DCAMFDEBUG"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PRODUCT_NAME = SimpleRemotingCallExample; - }; - name = Debug; - }; - 2C73A9090F1967E700EA16AD /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - INSTALL_PATH = /usr/local/bin; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PRODUCT_NAME = SimpleRemotingCallExample; - ZERO_LINK = NO; - }; - name = Release; - }; - 2C8500950EDF395E0058EBE0 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = NO; - FRAMEWORK_SEARCH_PATHS = ( + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", "$(inherited)", - "\"$(SRCROOT)/Examples/AMFClient/Frameworks\"", - ); - GCC_DYNAMIC_NO_PIC = NO; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - INFOPLIST_FILE = "Examples/AMFClient/AMFClient-Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, ); - PRODUCT_NAME = AMFClient; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INFOPLIST_FILE = CocoaAMF/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yourcompany.AMFClient.CocoaAMF; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.2; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; }; name = Debug; }; - 2C8500960EDF395E0058EBE0 /* Release */ = { + ED17597E21932E4A00FB6017 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = YES; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = NO; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "\"$(SRCROOT)/Examples/AMFClient/Frameworks\"", - ); - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/AppKit.framework/Headers/AppKit.h"; - INFOPLIST_FILE = "Examples/AMFClient/AMFClient-Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - OTHER_LDFLAGS = ( - "-framework", - Foundation, - "-framework", - AppKit, - ); - PRODUCT_NAME = AMFClient; - ZERO_LINK = NO; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_NS_ASSERTIONS = NO; + FRAMEWORK_VERSION = A; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INFOPLIST_FILE = CocoaAMF/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yourcompany.AMFClient.CocoaAMF; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + SKIP_INSTALL = YES; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.2; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; }; name = Release; }; - 2CB5B4900F16C7D700C71818 /* Debug */ = { + ED17598021932E4A00FB6017 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = NO; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; - FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks"; + DEBUG_INFORMATION_FORMAT = dwarf; + GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Cocoa.framework/Headers/Cocoa.h"; - INFOPLIST_FILE = "Tests/Tests-Info.plist"; - INSTALL_PATH = "$(USER_LIBRARY_DIR)/Bundles"; - OTHER_LDFLAGS = ( - "-framework", - Cocoa, - "-framework", - SenTestingKit, + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", ); - PRODUCT_NAME = Tests; - WRAPPER_EXTENSION = octest; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INFOPLIST_FILE = CocoaAMFTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yourcompany.AMFClient.CocoaAMFTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.2; }; name = Debug; }; - 2CB5B4910F16C7D700C71818 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - COPY_PHASE_STRIP = YES; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - FRAMEWORK_SEARCH_PATHS = "$(DEVELOPER_LIBRARY_DIR)/Frameworks"; - GCC_ENABLE_OBJC_EXCEPTIONS = YES; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "$(SYSTEM_LIBRARY_DIR)/Frameworks/Cocoa.framework/Headers/Cocoa.h"; - INFOPLIST_FILE = "Tests/Tests-Info.plist"; - INSTALL_PATH = "$(USER_LIBRARY_DIR)/Bundles"; - OTHER_LDFLAGS = ( - "-framework", - Cocoa, - "-framework", - SenTestingKit, - ); - PRODUCT_NAME = Tests; - VALID_ARCHS = i386; - WRAPPER_EXTENSION = octest; - ZERO_LINK = NO; - }; - name = Release; - }; - C01FCF4B08A954540054247B /* Debug */ = { + ED17598121932E4A00FB6017 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = NO; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "-"; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; - GCC_DYNAMIC_NO_PIC = NO; - GCC_MODEL_TUNING = G5; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = "Examples/SharedObject Browser/CocoaAMF_Prefix.pch"; - INFOPLIST_FILE = "Examples/SharedObject Browser/Info.plist"; - INSTALL_PATH = "$(HOME)/Applications"; - PRODUCT_NAME = CocoaAMF; - }; - name = Debug; - }; - C01FCF4C08A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - GCC_MODEL_TUNING = G5; - GCC_PRECOMPILE_PREFIX_HEADER = YES; - GCC_PREFIX_HEADER = DemoApplication/CocoaAMF_Prefix.pch; - INFOPLIST_FILE = DemoApplication/Info.plist; - INSTALL_PATH = "$(HOME)/Applications"; - PRODUCT_NAME = CocoaAMF; - }; - name = Release; - }; - C01FCF4F08A954540054247B /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_TREAT_WARNINGS_AS_ERRORS = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = macosx; - }; - name = Debug; - }; - C01FCF5008A954540054247B /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ARCHS = "$(ARCHS_STANDARD_32_BIT)"; - GCC_C_LANGUAGE_STANDARD = c99; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - SDKROOT = macosx; + ENABLE_NS_ASSERTIONS = NO; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INFOPLIST_FILE = CocoaAMFTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/../Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.14; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.yourcompany.AMFClient.CocoaAMFTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.2; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 2C2E74D2117138BF009D94C8 /* Build configuration list for PBXNativeTarget "CocoaAMF" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 2C2E74D0117138BF009D94C8 /* Debug */, - 2C2E74D1117138BF009D94C8 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 2C73A90C0F19681300EA16AD /* Build configuration list for PBXNativeTarget "SimpleRemotingCallExample" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 2C73A9080F1967E700EA16AD /* Debug */, - 2C73A9090F1967E700EA16AD /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 2C8500970EDF395E0058EBE0 /* Build configuration list for PBXNativeTarget "AMFClient" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 2C8500950EDF395E0058EBE0 /* Debug */, - 2C8500960EDF395E0058EBE0 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 2CB5B4920F16C7D700C71818 /* Build configuration list for PBXNativeTarget "Tests" */ = { + C01FCF4E08A954540054247B /* Build configuration list for PBXProject "CocoaAMF" */ = { isa = XCConfigurationList; buildConfigurations = ( - 2CB5B4900F16C7D700C71818 /* Debug */, - 2CB5B4910F16C7D700C71818 /* Release */, + C01FCF4F08A954540054247B /* Debug */, + C01FCF5008A954540054247B /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - C01FCF4A08A954540054247B /* Build configuration list for PBXNativeTarget "SharedObject Browser" */ = { + ED17597C21932E4A00FB6017 /* Build configuration list for PBXNativeTarget "CocoaAMF" */ = { isa = XCConfigurationList; buildConfigurations = ( - C01FCF4B08A954540054247B /* Debug */, - C01FCF4C08A954540054247B /* Release */, + ED17597D21932E4A00FB6017 /* Debug */, + ED17597E21932E4A00FB6017 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - C01FCF4E08A954540054247B /* Build configuration list for PBXProject "CocoaAMF" */ = { + ED17597F21932E4A00FB6017 /* Build configuration list for PBXNativeTarget "CocoaAMFTests" */ = { isa = XCConfigurationList; buildConfigurations = ( - C01FCF4F08A954540054247B /* Debug */, - C01FCF5008A954540054247B /* Release */, + ED17598021932E4A00FB6017 /* Debug */, + ED17598121932E4A00FB6017 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; diff --git a/CocoaAMF.xcodeproj/project.xcworkspace/xcuserdata/jameshartt.xcuserdatad/UserInterfaceState.xcuserstate b/CocoaAMF.xcodeproj/project.xcworkspace/xcuserdata/jameshartt.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..b2b7392 Binary files /dev/null and b/CocoaAMF.xcodeproj/project.xcworkspace/xcuserdata/jameshartt.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/CocoaAMF.xcodeproj/xcshareddata/xcschemes/CocoaAMF.xcscheme b/CocoaAMF.xcodeproj/xcshareddata/xcschemes/CocoaAMF.xcscheme new file mode 100644 index 0000000..c1bb670 --- /dev/null +++ b/CocoaAMF.xcodeproj/xcshareddata/xcschemes/CocoaAMF.xcscheme @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CocoaAMF.xcodeproj/xcshareddata/xcschemes/CocoaAMFTests.xcscheme b/CocoaAMF.xcodeproj/xcshareddata/xcschemes/CocoaAMFTests.xcscheme new file mode 100644 index 0000000..1532425 --- /dev/null +++ b/CocoaAMF.xcodeproj/xcshareddata/xcschemes/CocoaAMFTests.xcscheme @@ -0,0 +1,56 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CocoaAMF.xcodeproj/xcuserdata/jameshartt.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/CocoaAMF.xcodeproj/xcuserdata/jameshartt.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist new file mode 100644 index 0000000..404911e --- /dev/null +++ b/CocoaAMF.xcodeproj/xcuserdata/jameshartt.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -0,0 +1,23 @@ + + + + + + + + + diff --git a/CocoaAMF/AMFActionMessage.m b/CocoaAMF/AMFActionMessage.m index dd48853..3ba5dd9 100644 --- a/CocoaAMF/AMFActionMessage.m +++ b/CocoaAMF/AMFActionMessage.m @@ -73,7 +73,7 @@ - (NSData *)data{ [headerBa encodeUnsignedChar:kAMF0AVMPlusObjectType]; } [headerBa encodeObject:header.data]; - [ba encodeUnsignedInt:[headerBa.data length]]; + [ba encodeUnsignedInt:(uint32_t)[headerBa.data length]]; [ba encodeDataObject:headerBa.data]; [headerBa release]; } @@ -87,7 +87,7 @@ - (NSData *)data{ [bodyBa encodeUnsignedChar:kAMF0AVMPlusObjectType]; } [bodyBa encodeObject:body.data]; - [ba encodeUnsignedInt:[bodyBa.data length]]; + [ba encodeUnsignedInt:(uint32_t)[bodyBa.data length]]; [ba encodeDataObject:bodyBa.data]; [bodyBa release]; } @@ -136,8 +136,8 @@ - (void)mergeActionMessage:(AMFActionMessage *)message{ } - (NSString *)description{ - return [NSString stringWithFormat:@"<%@ = 0x%08X | version: %d | headers: %d bodies: %d>\nheaders:\n%@\nbodies:\n%@", - [self class], (long)self, m_version, [m_headers count], [m_bodies count], + return [NSString stringWithFormat:@"<%@ = 0x%08lX | version: %d | headers: %lu bodies: %lu>\nheaders:\n%@\nbodies:\n%@", + [self class], (long)self, m_version, (unsigned long)[m_headers count], (unsigned long)[m_bodies count], m_headers, m_bodies]; } @@ -223,7 +223,7 @@ - (void)dealloc{ } - (NSString *)description{ - return [NSString stringWithFormat:@"<%@ = 0x%08X | name: %@ | mustUnderstand: %d>\n%@", + return [NSString stringWithFormat:@"<%@ = 0x%08lX | name: %@ | mustUnderstand: %d>\n%@", [self class], (long)self, m_name, m_mustUnderstand, m_data]; } @@ -261,8 +261,8 @@ - (void)dealloc{ } - (NSString *)description{ - return [NSString stringWithFormat:@"<%@ = 0x%08X | targetURI: %@ | responseURI: %@>\n%@", + return [NSString stringWithFormat:@"<%@ = 0x%08lX | targetURI: %@ | responseURI: %@>\n%@", [self class], (long)self, m_targetURI, m_responseURI, m_data]; } -@end \ No newline at end of file +@end diff --git a/CocoaAMF/AMFArchiver.m b/CocoaAMF/AMFArchiver.m index 3d12e0d..25a82d7 100644 --- a/CocoaAMF/AMFArchiver.m +++ b/CocoaAMF/AMFArchiver.m @@ -164,7 +164,7 @@ - (void)setClassName:(NSString *)codedName forClass:(Class)cls{ if (codedName == nil) [m_registeredClasses removeObjectForKey:cls]; else - [m_registeredClasses setObject:codedName forKey:cls]; + [m_registeredClasses setObject:codedName forKey:(id _Nonnull)cls]; } + (void)setClassName:(NSString *)codedName forClass:(Class)cls{ @@ -172,7 +172,7 @@ + (void)setClassName:(NSString *)codedName forClass:(Class)cls{ if (codedName == nil) [g_registeredClasses removeObjectForKey:cls]; else - [g_registeredClasses setObject:codedName forKey:cls]; + [g_registeredClasses setObject:codedName forKey:(id _Nonnull)cls]; } - (NSString *)classNameForClass:(Class)cls{ @@ -257,7 +257,7 @@ - (void)encodeDataObject:(NSData *)value{ } [m_data appendData:value]; m_bytes = [m_data mutableBytes]; - m_position = [m_data length]; + m_position = (uint32_t)[m_data length]; } - (void)encodeDouble:(double)value{ @@ -400,7 +400,7 @@ - (void)encodeObject:(NSObject *)value{ } [self encodeUnsignedChar:kAMF3ByteArrayType]; NSData *d = [(_AMFPlainData *)value data]; - [self encodeUnsignedInt29:(([d length] << 1) | 1)]; + [self encodeUnsignedInt29:(((uint32_t)[d length] << 1) | 1)]; [self encodeDataObject:d]; }else if ([value isKindOfClass:[_AMFNumber class]]){ if (m_currentObjectToSerialize != nil){ @@ -412,7 +412,7 @@ - (void)encodeObject:(NSObject *)value{ }else if ([value isKindOfClass:[NSData class]] && m_currentObjectToSerialize == nil){ [self encodeUnsignedChar:kAMF3ByteArrayType]; NSData *d = (NSData *)value; - [self encodeUnsignedInt29:(([d length] << 1) | 1)]; + [self encodeUnsignedInt29:(((uint32_t)[d length] << 1) | 1)]; [self encodeDataObject:d]; }else{ if (m_currentObjectToSerialize != nil){ @@ -603,7 +603,7 @@ - (void)_encodeCustomObject:(id)value{ } - (void)_appendBytes:(const void*)bytes length:(NSUInteger)length{ - [self _ensureLength:length]; + [self _ensureLength:(uint32_t)length]; uint8_t *chars = (uint8_t *)bytes; for (NSUInteger i = 0; i < length; i++) m_bytes[m_position++] = chars[i]; @@ -636,7 +636,7 @@ - (void)encodeUTF:(NSString *)value{ } NSData *data = [value dataUsingEncoding:NSUTF8StringEncoding]; if ([data length] > 0xFFFF){ - [self encodeUnsignedInt:[data length]]; + [self encodeUnsignedInt:(uint32_t)[data length]]; }else{ [self encodeUnsignedShort:[data length]]; } @@ -659,7 +659,7 @@ - (void)_encodeString:(NSString *)value omitType:(BOOL)omitType{ NSData *stringData = [value dataUsingEncoding:NSUTF8StringEncoding]; if ([stringData length] > 0xFFFF){ omitType ?: [self encodeUnsignedChar:kAMF0LongStringType]; - [self encodeUnsignedInt:[stringData length]]; + [self encodeUnsignedInt:(uint32_t)[stringData length]]; }else{ omitType ?: [self encodeUnsignedChar:kAMF0StringType]; [self encodeUnsignedShort:[stringData length]]; @@ -675,7 +675,7 @@ - (void)_encodeArray:(NSArray *)value{ } [m_objectTable addObject:value]; [self encodeUnsignedChar:kAMF0StrictArrayType]; - [self encodeUnsignedInt:[value count]]; + [self encodeUnsignedInt:(uint32_t)[value count]]; for (id obj in value){ [self encodeObject:obj]; } @@ -783,7 +783,7 @@ - (void)encodeUTF:(NSString *)value{ return; } NSData *data = [value dataUsingEncoding:NSUTF8StringEncoding]; - [self encodeUnsignedInt29:[data length]]; + [self encodeUnsignedInt29:(uint32_t)[data length]]; [self encodeDataObject:data]; } @@ -812,11 +812,11 @@ - (void)_encodeCustomObject:(id)value{ - (void)_encodeArray:(NSArray *)value{ [self encodeUnsignedChar:kAMF3ArrayType]; if ([m_objectTable indexOfObjectIdenticalTo:value] != NSNotFound){ - [self encodeUnsignedInt29:([m_objectTable indexOfObject:value] << 1)]; + [self encodeUnsignedInt29:((uint32_t)[m_objectTable indexOfObject:value] << 1)]; return; } [m_objectTable addObject:value]; - [self encodeUnsignedInt29:(([value count] << 1) | 1)]; + [self encodeUnsignedInt29:(((uint32_t)[value count] << 1) | 1)]; [self encodeUnsignedChar:((0 << 1) | 1)]; for (NSObject *obj in value){ [self encodeObject:obj]; @@ -832,12 +832,12 @@ - (void)_encodeString:(NSString *)value omitType:(BOOL)omitType{ return; } if ([m_stringTable containsObject:value]){ - [self encodeUnsignedInt29:([m_stringTable indexOfObject:value] << 1)]; + [self encodeUnsignedInt29:((uint32_t)[m_stringTable indexOfObject:value] << 1)]; return; } [m_stringTable addObject:value]; NSData *data = [value dataUsingEncoding:NSUTF8StringEncoding]; - [self encodeUnsignedInt29:(([data length] << 1) | 1)]; + [self encodeUnsignedInt29:(((uint32_t)[data length] << 1) | 1)]; [self encodeDataObject:data]; } @@ -854,7 +854,7 @@ - (void)_encodeDictionary:(NSDictionary *)value{ - (void)_encodeMixedArray:(NSDictionary *)value{ [self encodeUnsignedChar:kAMF3ArrayType]; if ([m_objectTable indexOfObjectIdenticalTo:value] != NSNotFound){ - [self encodeUnsignedInt29:([m_objectTable indexOfObject:value] << 1)]; + [self encodeUnsignedInt29:((uint32_t)[m_objectTable indexOfObject:value] << 1)]; return; } @@ -869,7 +869,7 @@ - (void)_encodeMixedArray:(NSDictionary *)value{ [NSException raise:NSInternalInconsistencyException format:@"Cannot encode dictionary with key of class %@", [key className]]; } - [self encodeUnsignedInt29:(([numericKeys count] << 1) | 1)]; + [self encodeUnsignedInt29:(((uint32_t)[numericKeys count] << 1) | 1)]; for (NSString *key in stringKeys){ [self _encodeString:key omitType:YES]; [self encodeObject:[value objectForKey:key]]; @@ -883,7 +883,7 @@ - (void)_encodeMixedArray:(NSDictionary *)value{ - (void)_encodeDate:(NSDate *)value{ [self encodeUnsignedChar:kAMF3DateType]; if ([m_objectTable indexOfObjectIdenticalTo:value] != NSNotFound){ - [self encodeUnsignedInt29:([m_objectTable indexOfObject:value] << 1)]; + [self encodeUnsignedInt29:((uint32_t)[m_objectTable indexOfObject:value] << 1)]; return; } [m_objectTable addObject:value]; @@ -893,7 +893,7 @@ - (void)_encodeDate:(NSDate *)value{ - (void)_encodeData:(NSData *)value{ if ([m_objectTable indexOfObjectIdenticalTo:value] != NSNotFound){ - [self encodeUnsignedInt29:([m_objectTable indexOfObject:value] << 1)]; + [self encodeUnsignedInt29:((uint32_t)[m_objectTable indexOfObject:value] << 1)]; return; } [m_objectTable addObject:value]; @@ -928,7 +928,7 @@ - (void)_encodeNumber:(NSNumber *)value omitType:(BOOL)omitType{ - (void)_encodeASObject:(ASObject *)value{ [self encodeUnsignedChar:kAMF3ObjectType]; if ([m_objectTable indexOfObjectIdenticalTo:value] != NSNotFound){ - [self encodeUnsignedInt29:([m_objectTable indexOfObject:value] << 1)]; + [self encodeUnsignedInt29:((int32_t)[m_objectTable indexOfObject:value] << 1)]; return; } [m_objectTable addObject:value]; @@ -967,7 +967,7 @@ - (void)_encodeASObject:(ASObject *)value{ - (void)_encodeTraits:(AMF3TraitsInfo *)traits{ if ([m_traitsTable containsObject:traits]){ - [self encodeUnsignedInt29:(([m_traitsTable indexOfObject:traits] << 2) | 1)]; + [self encodeUnsignedInt29:(((int32_t)[m_traitsTable indexOfObject:traits] << 2) | 1)]; return; } [m_traitsTable addObject:traits]; @@ -1034,4 +1034,4 @@ - (void)dealloc{ [value release]; [super dealloc]; } -@end \ No newline at end of file +@end diff --git a/CocoaAMF/AMFDebugUnarchiver.m b/CocoaAMF/AMFDebugUnarchiver.m index dcf60f7..cade207 100644 --- a/CocoaAMF/AMFDebugUnarchiver.m +++ b/CocoaAMF/AMFDebugUnarchiver.m @@ -150,8 +150,8 @@ - (void)dealloc{ } - (NSString *)description{ - return [NSString stringWithFormat:@"<%@ = 0x%08x> version: %d type: %@ name: %@ data: %@, children: %@", + return [NSString stringWithFormat:@"<%@ = 0x%08lx> version: %d type: %@ name: %@ data: %@, children: %@", [self className], (long)self, version, [self AMFClassName], name, data, children]; } -@end \ No newline at end of file +@end diff --git a/CocoaAMF/AMFRemotingCall.h b/CocoaAMF/AMFRemotingCall.h deleted file mode 100644 index 08519e3..0000000 --- a/CocoaAMF/AMFRemotingCall.h +++ /dev/null @@ -1,70 +0,0 @@ -// -// AMFRemotingCall.h -// CocoaAMF -// -// Created by Marc Bauer on 10.01.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - -#import -#import -#import "AMF.h" -#import "AMFActionMessage.h" - -#define kAMFRemotingCallErrorDomain @"AMFRemotingCallErrorDomain" -#define kAMFServerStatusCodeKey @"statusCode" - -#define kAMFInvalidResponseErrorCode 1 -#define kAMFServerErrorErrorCode 2 - -@protocol AMFRemotingCallDelegate; - -@interface AMFRemotingCall : NSObject{ - NSURLConnection *m_connection; - NSMutableURLRequest *m_request; - NSString *m_service; - NSString *m_method; - NSObject *m_arguments; - AMFEncoding m_amfVersion; - NSMutableData *m_receivedData; - BOOL m_isLoading; - NSError *m_error; - NSObject *m_delegate; - NSMutableDictionary *m_amfHeaders; -} - -@property (nonatomic, retain) NSURL *URL; -@property (nonatomic, retain) NSString *service; -@property (nonatomic, retain) NSString *method; -@property (nonatomic, retain) NSObject *arguments; -@property (nonatomic, assign) NSObject *delegate; -@property (nonatomic, assign) AMFEncoding amfVersion; // AMF3 is used by default - -+ (AMFRemotingCall *)remotingCallWithURL:(NSURL *)url service:(NSString *)service - method:(NSString *)method arguments:(NSObject *)arguments; -- (id)initWithURL:(NSURL *)url service:(NSString *)service method:(NSString *)method - arguments:(NSObject *)arguments; - -- (void)start; // starts the request - -- (void)addValue:(NSString *)value forHTTPHeaderField:(NSString *)field; -- (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field; -- (NSString *)valueForHTTPHeaderField:(NSString *)field; -- (void)setValue:(NSObject *)value forAMFHeaderField:(NSString *)field - mustUnderstand:(BOOL)mustUnderstand; -@end - - -@protocol AMFRemotingCallDelegate - -@optional -- (void)remotingCall:(AMFRemotingCall *)remotingCall didReceiveResponse:(NSURLResponse *)response; -- (void)remotingCall:(AMFRemotingCall *)remotingCall didReceiveData:(NSData *)data; -- (NSURLRequest *)remotingCall:(AMFRemotingCall *)remotingCall - willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse; - -@required -- (void)remotingCallDidFinishLoading:(AMFRemotingCall *)remotingCall - receivedObject:(NSObject *)object; -- (void)remotingCall:(AMFRemotingCall *)remotingCall didFailWithError:(NSError *)error; -@end \ No newline at end of file diff --git a/CocoaAMF/AMFRemotingCall.m b/CocoaAMF/AMFRemotingCall.m deleted file mode 100644 index 428063c..0000000 --- a/CocoaAMF/AMFRemotingCall.m +++ /dev/null @@ -1,218 +0,0 @@ -// -// AMFRemotingCall.m -// CocoaAMF -// -// Created by Marc Bauer on 10.01.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - -#import "AMFRemotingCall.h" - -@interface AMFRemotingCall (Private) -- (NSString *)_nextResponseURI; -- (void)_cleanup; -@end - - -@implementation AMFRemotingCall - -@synthesize service=m_service, method=m_method, arguments=m_arguments, amfVersion=m_amfVersion, - delegate=m_delegate; - -static uint32_t g_responseCount = 1; - -#pragma mark - -#pragma mark Initialization & Deallocation - -- (id)init{ - if (self = [super init]){ - m_receivedData = nil; - m_connection = nil; - m_delegate = nil; - m_isLoading = NO; - m_amfVersion = kAMF3Encoding; - m_error = nil; - m_amfHeaders = nil; - - m_request = [[NSMutableURLRequest alloc] init]; - [m_request setHTTPMethod:@"POST"]; - [m_request setValue:@"application/x-amf" forHTTPHeaderField:@"Content-Type"]; - [m_request setValue:@"CocoaAMF" forHTTPHeaderField:@"User-Agent"]; - } - return self; -} - -- (id)initWithURL:(NSURL *)url service:(NSString *)service method:(NSString *)method - arguments:(NSObject *)arguments{ - if (self = [self init]){ - self.URL = url; - self.service = service; - self.method = method; - self.arguments = arguments; - } - return self; -} - -+ (AMFRemotingCall *)remotingCallWithURL:(NSURL *)url service:(NSString *)service - method:(NSString *)method arguments:(NSObject *)arguments{ - AMFRemotingCall *remotingCall = [[AMFRemotingCall alloc] initWithURL:url service:service - method:method arguments:arguments]; - return [remotingCall autorelease]; -} - -- (void)dealloc{ - [m_connection release]; - [m_request release]; - [m_service release]; - [m_method release]; - [m_arguments release]; - [m_error release]; - [m_amfHeaders release]; - [super dealloc]; -} - - - -#pragma mark - -#pragma mark Public methods - -- (void)start{ - if (m_isLoading){ - return; - } - - AMFActionMessage *message = [[AMFActionMessage alloc] init]; - message.version = m_amfVersion; - NSString *targetURI = @"null"; - if (m_service != nil && m_method != nil) - targetURI = [NSString stringWithFormat:@"%@.%@", m_service, m_method]; - [message addBodyWithTargetURI:targetURI responseURI:[self _nextResponseURI] data:m_arguments]; - if (m_amfHeaders != nil) - message.headers = [m_amfHeaders allValues]; - - [m_request setHTTPBody:[message data]]; - [message release]; - - m_error = nil; - m_receivedData = [[NSMutableData alloc] init]; - m_connection = [[NSURLConnection alloc] initWithRequest:m_request delegate:self]; - - m_isLoading = YES; -} - -- (void)setURL:(NSURL *)url{ - [m_request setURL:url]; -} - -- (NSURL *)URL{ - return [m_request URL]; -} - -- (void)addValue:(NSString *)value forHTTPHeaderField:(NSString *)field{ - [m_request addValue:value forHTTPHeaderField:field]; -} - -- (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field{ - [m_request setValue:value forHTTPHeaderField:field]; -} - -- (NSString *)valueForHTTPHeaderField:(NSString *)field{ - return [m_request valueForHTTPHeaderField:field]; -} - -- (void)setValue:(NSObject *)value forAMFHeaderField:(NSString *)field - mustUnderstand:(BOOL)mustUnderstand{ - if (m_amfHeaders == nil) - m_amfHeaders = [[NSMutableDictionary alloc] init]; - [m_amfHeaders setValue:[AMFMessageHeader messageHeaderWithName:field data:value - mustUnderstand:mustUnderstand] forKey:field]; -} - - - -#pragma mark - -#pragma mark Private methods - -- (NSString *)_nextResponseURI{ - return [NSString stringWithFormat:@"/%d", g_responseCount++]; -} - -- (void)_cleanup{ - [m_connection release]; - m_connection = nil; - [m_receivedData release]; - m_receivedData = nil; - [m_error release]; - m_error = nil; -} - - - -#pragma mark - -#pragma mark NSURLConnection Delegate methods - -- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response{ - if ([[[(NSHTTPURLResponse *)response allHeaderFields] objectForKey:@"Content-Type"] - rangeOfString:@"application/x-amf"].location == NSNotFound){ - m_error = [[NSError errorWithDomain:kAMFRemotingCallErrorDomain - code:kAMFInvalidResponseErrorCode userInfo:[NSDictionary dictionaryWithObject: - [NSString stringWithFormat:@"The server returned no application/x-amf data at URL %@.", - [[response URL] absoluteString]] forKey:NSLocalizedDescriptionKey]] retain]; - }else if ([(NSHTTPURLResponse *)response statusCode] != 200){ - m_error = [[NSError errorWithDomain:kAMFRemotingCallErrorDomain - code:kAMFServerErrorErrorCode userInfo:[NSDictionary dictionaryWithObjectsAndKeys: - [NSString stringWithFormat:@"The server returned status code %d at URL %@.", - [(NSHTTPURLResponse *)response statusCode], [[response URL] absoluteString]], - NSLocalizedDescriptionKey, [NSNumber numberWithInt: - [(NSHTTPURLResponse *)response statusCode]], kAMFServerStatusCodeKey, nil]] retain]; - } - - if ([m_delegate respondsToSelector:@selector(remotingCall:didReceiveResponse:)]){ - objc_msgSend(m_delegate, @selector(remotingCall:didReceiveResponse:), self, response); - } -} - -- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data{ - [m_receivedData appendData:data]; - if ([m_delegate respondsToSelector:@selector(remotingCall:didReceiveData:)]){ - objc_msgSend(m_delegate, @selector(remotingCall:didReceiveData:), self, data); - } -} - -- (void)connectionDidFinishLoading:(NSURLConnection *)connection{ - if (!m_error && [m_receivedData length] == 0){ - m_error = [[NSError errorWithDomain:kAMFRemotingCallErrorDomain - code:kAMFInvalidResponseErrorCode userInfo:[NSDictionary dictionaryWithObject: - @"The server returned zero bytes of data" forKey:NSLocalizedDescriptionKey]] retain]; - } - - if (m_error){ - objc_msgSend(m_delegate, @selector(remotingCall:didFailWithError:), self, m_error); - }else{ - AMFActionMessage *message = [[AMFActionMessage alloc] initWithData:m_receivedData]; - NSObject *data = [[message.bodies objectAtIndex:0] data]; - objc_msgSend(m_delegate, @selector(remotingCallDidFinishLoading:receivedObject:), - self, data); - [message release]; - } - [self _cleanup]; - m_isLoading = NO; -} - -- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error{ - objc_msgSend(m_delegate, @selector(remotingCall:didFailWithError:), self, error); - [self _cleanup]; - m_isLoading = NO; -} - -- (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request - redirectResponse:(NSURLResponse *)redirectResponse{ - if ([m_delegate respondsToSelector:@selector(remotingCall:willSendRequest:redirectResponse:)]){ - return (NSURLRequest *)objc_msgSend(m_delegate, - @selector(remotingCall:willSendRequest:redirectResponse:), self, request, - redirectResponse); - } - return request; -} - -@end \ No newline at end of file diff --git a/CocoaAMF/AMFUnarchiver.m b/CocoaAMF/AMFUnarchiver.m index 4864b57..5fa2990 100644 --- a/CocoaAMF/AMFUnarchiver.m +++ b/CocoaAMF/AMFUnarchiver.m @@ -454,8 +454,8 @@ - (NSNumber *)_decodeNumberForKey:(NSString *)key{ - (void)_ensureLength:(unsigned)length{ if (m_position + length > [m_data length]){ [NSException raise:@"NSUnarchiverBadArchiveException" - format:@"%@ attempt to read beyond length. Position: %d, Requested Length: %d, Total Length: %d", - [self className], m_position, length, [m_data length]]; + format:@"%@ attempt to read beyond length. Position: %d, Requested Length: %d, Total Length: %lu", + [self className], m_position, length, (unsigned long)[m_data length]]; } } @@ -1040,9 +1040,9 @@ - (BOOL)isEqual:(id)anObject{ } - (NSString *)description{ - return [NSString stringWithFormat:@"<%@ = 0x%08X | className: %@ | dynamic: %d \ -| externalizable: %d | count: %d>", - [self class], (long)self, m_className, m_dynamic, m_externalizable, m_count]; + return [NSString stringWithFormat:@"<%@ = 0x%08lX | className: %@ | dynamic: %d \ + | externalizable: %d | count: %lu>", + [self class], (long)self, m_className, m_dynamic, m_externalizable, (unsigned long)m_count]; } -@end \ No newline at end of file +@end diff --git a/CocoaAMF/ASObject.m b/CocoaAMF/ASObject.m index 54f87bc..c789fb5 100644 --- a/CocoaAMF/ASObject.m +++ b/CocoaAMF/ASObject.m @@ -81,8 +81,8 @@ - (NSUInteger)count{ } - (NSString *)description{ - return [NSString stringWithFormat:@"<%@ = 0x%08X | type: %@>\n%@\ndata: %@", + return [NSString stringWithFormat:@"<%@ = 0x%08lX | type: %@>\n%@\ndata: %@", [self class], (long)self, m_type, m_properties, m_data]; } -@end \ No newline at end of file +@end diff --git a/CocoaAMF/CocoaAMF.h b/CocoaAMF/CocoaAMF.h index 7472a7d..a4dd24f 100644 --- a/CocoaAMF/CocoaAMF.h +++ b/CocoaAMF/CocoaAMF.h @@ -1,17 +1,24 @@ -/* - * CocoaAMF.h - * CocoaAMF - * - * Created by Marc Bauer on 11.04.10. - * Copyright 2010 nesiumdotcom. All rights reserved. - * - */ +// +// CocoaAMF.h +// CocoaAMF +// +// Created by James Hartt on 07/11/2018. +// + +#import + +//! Project version number for CocoaAMF. +FOUNDATION_EXPORT double CocoaAMFVersionNumber; + +//! Project version string for CocoaAMF. +FOUNDATION_EXPORT const unsigned char CocoaAMFVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import #import "AMF.h" -#import "AMFUnarchiver.h" -#import "AMFArchiver.h" #import "AMFActionMessage.h" -#import "AMFRemotingCall.h" +#import "AMFArchiver.h" +#import "AMFDebugUnarchiver.h" +#import "AMFUnarchiver.h" #import "ASObject.h" #import "FlexDataTypes.h" -#import "NSObject-AMFExtensions.h" \ No newline at end of file diff --git a/CocoaAMF/FlexDataTypes.m b/CocoaAMF/FlexDataTypes.m index f8f5bc5..79b22a7 100644 --- a/CocoaAMF/FlexDataTypes.m +++ b/CocoaAMF/FlexDataTypes.m @@ -50,7 +50,7 @@ - (NSUInteger)count{ } - (NSString *)description{ - return [NSString stringWithFormat:@"<%@ = 0x%08x> %@", [self className], (long)self, source]; + return [NSString stringWithFormat:@"<%@ = 0x%08lx> %@", [self className], (long)self, source]; } @end @@ -141,7 +141,7 @@ - (void)encodeWithCoder:(NSCoder *)coder{ } - (NSString *)description{ - return [NSString stringWithFormat:@"<%@ = 0x%08x> clientId: %@, destination: %@, messageId: %@ \ + return [NSString stringWithFormat:@"<%@ = 0x%08lx> clientId: %@, destination: %@, messageId: %@ \ timeToLive: %f, timestamp: %f,\nheaders:\n%@,\nbody:\n%@", [self className], (long)self, clientId, destination, messageId, timeToLive, timestamp, headers, body]; } @@ -241,7 +241,7 @@ + (NSString *)AMFClassAlias{ + (FlexErrorMessage *)errorMessageWithError:(NSError *)error{ FlexErrorMessage *errorMsg = [[FlexErrorMessage alloc] init]; - errorMsg.faultCode = [NSString stringWithFormat:@"%d", [error code]]; + errorMsg.faultCode = [NSString stringWithFormat:@"%ld", (long)[error code]]; errorMsg.faultString = [error domain]; errorMsg.faultDetail = [error localizedDescription]; errorMsg.extendedData = [error userInfo]; @@ -278,7 +278,7 @@ - (void)dealloc{ } - (NSString *)description{ - return [NSString stringWithFormat:@"<%@ = 0x%08x> faultCode: %@, faultDetail: %@, faultString: %@", + return [NSString stringWithFormat:@"<%@ = 0x%08lx> faultCode: %@, faultDetail: %@, faultString: %@", [self className], (long)self, faultCode, faultDetail, faultString]; } @@ -318,9 +318,9 @@ - (void)dealloc{ - (NSString *)description { - return [NSString stringWithFormat:@"<%@ = 0x%08x> clientId: %@, destination: %@, operation: %@, messageId: %@ \ + return [NSString stringWithFormat:@"<%@ = 0x%08lx> clientId: %@, destination: %@, operation: %@, messageId: %@ \ timeToLive: %f, timestamp: %f,\nheaders:\n%@,\nbody:\n%@", [self className], (long)self, clientId, destination, operation, messageId, timeToLive, timestamp, headers, body]; } -@end \ No newline at end of file +@end diff --git a/CocoaAMF/Info.plist b/CocoaAMF/Info.plist new file mode 100644 index 0000000..e1fe4cf --- /dev/null +++ b/CocoaAMF/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + + diff --git a/CocoaAMFTests/CocoaAMFTests.swift b/CocoaAMFTests/CocoaAMFTests.swift new file mode 100644 index 0000000..b811947 --- /dev/null +++ b/CocoaAMFTests/CocoaAMFTests.swift @@ -0,0 +1,33 @@ +// +// CocoaAMFTests.swift +// CocoaAMFTests +// +// Created by James Hartt on 07/11/2018. +// + +import XCTest +@testable import CocoaAMF + +class CocoaAMFTests: XCTestCase { + + override func setUp() { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/CocoaAMFTests/Info.plist b/CocoaAMFTests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/CocoaAMFTests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/Examples/AMFClient/AMFClient-Info.plist b/Examples/AMFClient/AMFClient-Info.plist deleted file mode 100644 index c9bdeba..0000000 --- a/Examples/AMFClient/AMFClient-Info.plist +++ /dev/null @@ -1,35 +0,0 @@ - - - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - ${EXECUTABLE_NAME} - CFBundleIdentifier - com.yourcompany.${PRODUCT_NAME:identifier} - CFBundleInfoDictionaryVersion - 6.0 - CFBundlePackageType - APPL - CFBundleSignature - ???? - CFBundleVersion - 1.0 - NSMainNibFile - MainMenu - NSPrincipalClass - NSApplication - NSAppleScriptEnabled - YES - CFBundleURLTypes - - - CFBundleURLSchemes - - amfclient - - - - - diff --git a/Examples/AMFClient/AMFClient.scriptSuite b/Examples/AMFClient/AMFClient.scriptSuite deleted file mode 100644 index ac4e0fb..0000000 --- a/Examples/AMFClient/AMFClient.scriptSuite +++ /dev/null @@ -1,12 +0,0 @@ -{ - Name = AMFClient; - AppleEventCode = "AMFC"; - - Commands = { - "GetURL" = { - CommandClass = AMFClientGetURLScriptCommand; - AppleEventCode = GURL; - AppleEventClassCode = GURL; - }; - }; -} \ No newline at end of file diff --git a/Examples/AMFClient/AMFClient.scriptTerminology b/Examples/AMFClient/AMFClient.scriptTerminology deleted file mode 100644 index 8058be2..0000000 --- a/Examples/AMFClient/AMFClient.scriptTerminology +++ /dev/null @@ -1,11 +0,0 @@ -{ - Name = "AMFClient suite"; - Description = "AppleScript commands for AMFClient"; - - Commands = { - "GetURL" = { - "Name" = "get URL"; - "Description" = "Open a URL"; - }; - }; -} \ No newline at end of file diff --git a/Examples/AMFClient/AMFClientGetURLScriptCommand.h b/Examples/AMFClient/AMFClientGetURLScriptCommand.h deleted file mode 100644 index aec0aa4..0000000 --- a/Examples/AMFClient/AMFClientGetURLScriptCommand.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// AMFClientGetURLScriptCommand.h -// CocoaAMF -// -// Created by Marc Bauer on 30.11.08. -// Copyright 2008 nesiumdotcom. All rights reserved. -// - -#import - - -@interface AMFClientGetURLScriptCommand : NSScriptCommand -{ - -} - -@end \ No newline at end of file diff --git a/Examples/AMFClient/AMFClientGetURLScriptCommand.m b/Examples/AMFClient/AMFClientGetURLScriptCommand.m deleted file mode 100644 index a0ac46f..0000000 --- a/Examples/AMFClient/AMFClientGetURLScriptCommand.m +++ /dev/null @@ -1,20 +0,0 @@ -// -// AMFClientGetURLScriptCommand.m -// CocoaAMF -// -// Created by Marc Bauer on 30.11.08. -// Copyright 2008 nesiumdotcom. All rights reserved. -// - -#import "AMFClientGetURLScriptCommand.h" - - -@implementation AMFClientGetURLScriptCommand - -- (id)performDefaultImplementation -{ - [[NSApp delegate] performSelector:@selector(setURLString:) withObject:[self directParameter]]; - return nil; -} - -@end \ No newline at end of file diff --git a/Examples/AMFClient/CAMFFieldEditor.h b/Examples/AMFClient/CAMFFieldEditor.h deleted file mode 100644 index 743caa2..0000000 --- a/Examples/AMFClient/CAMFFieldEditor.h +++ /dev/null @@ -1,19 +0,0 @@ -// -// CAMFFieldEditor.h -// CocoaAMF -// -// Created by Marc Bauer on 01.12.08. -// Copyright 2008 nesiumdotcom. All rights reserved. -// - -#import - - -@interface CAMFFieldEditor : NSTextView -{ -} -@end - -@interface NSObject (FieldEditorDelegateExtensions) -- (BOOL)fieldEditor:(NSTextView *)aView willPasteText:(NSString *)text; -@end \ No newline at end of file diff --git a/Examples/AMFClient/CAMFFieldEditor.m b/Examples/AMFClient/CAMFFieldEditor.m deleted file mode 100644 index b9b4ac9..0000000 --- a/Examples/AMFClient/CAMFFieldEditor.m +++ /dev/null @@ -1,33 +0,0 @@ -// -// CAMFFieldEditor.m -// CocoaAMF -// -// Created by Marc Bauer on 01.12.08. -// Copyright 2008 nesiumdotcom. All rights reserved. -// - -#import "CAMFFieldEditor.h" - - -@implementation CAMFFieldEditor - -- (BOOL)readSelectionFromPasteboard:(NSPasteboard *)pboard type:(NSString *)type -{ - BOOL delegatePerformedAction = NO; - NSString *text = [[NSPasteboard generalPasteboard] stringForType:NSStringPboardType]; - if (![text isKindOfClass:[NSString class]]) - { - return NO; - } - if ([[[self delegate] delegate] respondsToSelector:@selector(fieldEditor:willPasteText:)]) - { - delegatePerformedAction = [[[self delegate] delegate] fieldEditor:self willPasteText:text]; - } - if (!delegatePerformedAction) - { - [self insertText:text]; - } - return !delegatePerformedAction; -} - -@end \ No newline at end of file diff --git a/Examples/AMFClient/Controller.h b/Examples/AMFClient/Controller.h deleted file mode 100644 index de3dd08..0000000 --- a/Examples/AMFClient/Controller.h +++ /dev/null @@ -1,62 +0,0 @@ -// -// Controller.h -// CocoaAMF -// -// Created by Marc Bauer on 27.11.08. -// Copyright 2008 nesiumdotcom. All rights reserved. -// - -#import -#import "AMF.h" -#import "AMFActionMessage.h" -#import "CJSONDeserializer.h" -#import "CJSONSerializer.h" -#import "NSString+URLEncode.h" -#import "OutlineViewDataSource.h" -#import "CAMFFieldEditor.h" -#import "NSOutlineView+ContextMenu.h" -#import "AMFDebugUnarchiver.h" -#import "SCGenerator.h" -#import "SCActionscriptGenerator.h" -#import "SCObjCGenerator.h" - - -@interface Controller : NSObject -{ - IBOutlet NSTextField *m_gatewayTextField; - IBOutlet NSTextField *m_serviceTextField; - IBOutlet NSTextView *m_dataTextView; - IBOutlet NSTextView *m_resultTextView; - IBOutlet NSPopUpButton *m_amfTypePopUpButton; - IBOutlet NSButton *m_gzipCheckbox; - IBOutlet NSOutlineView *m_objectOutlineView; - IBOutlet NSPanel *m_detailViewHUDPanel; - IBOutlet NSTextView *m_detailTextView; - IBOutlet NSArrayController *m_sentHeadersArrayController; - IBOutlet NSArrayController *m_receivedHeadersArrayController; - IBOutlet NSTabView *m_tabView; - IBOutlet NSProgressIndicator *m_progressIndicator; - IBOutlet NSButton *m_executeButton; - - BOOL m_isLoading; - NSMutableArray *m_sentHeaders; - NSMutableArray *m_receivedHeaders; - NSURLConnection *m_connection; - NSMutableData *m_receivedData; - OutlineViewDataSource *m_outlineViewDataSource; - NSString *m_errorDescription; - BOOL m_error; - CAMFFieldEditor *m_fieldEditor; -} - -- (IBAction)query:(id)sender; -- (IBAction)copyURL:(id)sender; -- (IBAction)focusGatewayTextField:(id)sender; -- (IBAction)focusServiceTextField:(id)sender; -- (IBAction)focusDataTextView:(id)sender; -- (IBAction)selectNextTab:(id)sender; -- (IBAction)selectPreviousTab:(id)sender; - -- (BOOL)setURLString:(NSString *)urlString; - -@end \ No newline at end of file diff --git a/Examples/AMFClient/Controller.m b/Examples/AMFClient/Controller.m deleted file mode 100644 index 958abdf..0000000 --- a/Examples/AMFClient/Controller.m +++ /dev/null @@ -1,450 +0,0 @@ -// -// Controller.m -// CocoaAMF -// -// Created by Marc Bauer on 27.11.08. -// Copyright 2008 nesiumdotcom. All rights reserved. -// - -#import "Controller.h" - -@interface Controller (Private) -- (void)setIsLoading:(BOOL)bFlag; -@end - - -@implementation Controller - -+ (void)initialize -{ - NSMutableDictionary *dict = [NSMutableDictionary dictionary]; - [dict setObject:@"http://www.nesium.com/amfdemo/gateway.php" forKey:@"LastGateway"]; - [dict setObject:@"ExampleService.returnArrayCollection" forKey:@"LastService"]; - [dict setObject:@"[]" forKey:@"LastParams"]; - [[NSUserDefaultsController sharedUserDefaultsController] setInitialValues:dict]; -} - -- (void)awakeFromNib -{ - NSObject *generator = [[SCActionscriptGenerator alloc] init]; - [[SCGenerator sharedGenerator] registerGenerator:generator forLanguage:@"Actionscript"]; - [generator release]; - generator = [[SCObjCGenerator alloc] init]; - [[SCGenerator sharedGenerator] registerGenerator:generator forLanguage:@"Objective-C"]; - [generator release]; - - m_isLoading = NO; - m_fieldEditor = [[CAMFFieldEditor alloc] init]; - [m_fieldEditor setFieldEditor:YES]; - [m_gatewayTextField setDelegate:self]; - m_sentHeaders = nil; - m_receivedHeaders = nil; - m_outlineViewDataSource = [[OutlineViewDataSource alloc] init]; - [m_objectOutlineView setDataSource:m_outlineViewDataSource]; - [m_objectOutlineView setDelegate:self]; - [m_dataTextView setFont:[NSFont fontWithName:@"Monaco" size:10.0]]; - [m_resultTextView setFont:[NSFont fontWithName:@"Monaco" size:10.0]]; -} - -- (BOOL)setURLString:(NSString *)urlString -{ - NSURL *url = [NSURL URLWithString:urlString]; - - if (url == nil) - { - return NO; - } - - NSMutableString *gatewayURL; - NSString *service, *args; - - NSArray *params = [[url query] componentsSeparatedByString:@"&"]; - NSMutableArray *unusedParams = [NSMutableArray array]; - for (NSString *param in params) - { - NSArray *kv = [param componentsSeparatedByString:@"="]; - NSString *key = [kv objectAtIndex:0]; - NSString *value = [kv objectAtIndex:1]; - if ([key isEqualToString:@"s"]) - { - service = [value stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; - } - else if ([key isEqualToString:@"d"]) - { - args = [value stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding]; - } - else - { - [unusedParams addObject:param]; - } - } - - gatewayURL = [NSMutableString stringWithFormat:@"http://%@", [url host]]; - if ([url port] != nil) [gatewayURL appendFormat:@":%@", [url port]]; - if ([url path] != nil) [gatewayURL appendString:[url path]]; - if ([unusedParams count]) - [gatewayURL appendFormat:@"?%@", gatewayURL, [unusedParams componentsJoinedByString:@"&"]]; - [m_gatewayTextField setStringValue:gatewayURL]; - [m_serviceTextField setStringValue:service]; - [m_dataTextView setString:args]; - return YES; -} - -- (IBAction)query:(id)sender -{ - if (m_isLoading) - { - return; - } - - NSURL *gatewayURL = [NSURL URLWithString:[m_gatewayTextField stringValue]]; - if (gatewayURL == nil) - { - NSBeginAlertSheet(@"Your URL is invalid", @"OK", nil, nil, [NSApp mainWindow], self, - NULL, NULL, nil, @"%@ is not a valid URL.", [m_gatewayTextField stringValue]); - } - NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:gatewayURL]; - [request setHTTPMethod:@"POST"]; - [request setValue:@"application/x-amf" forHTTPHeaderField:@"Content-Type"]; - [request setValue:@"AMFClient" forHTTPHeaderField:@"User-Agent"]; - - if ([m_gzipCheckbox state] == NSOffState) - { - [request setValue:@"" forHTTPHeaderField:@"Accept-Encoding"]; - } - - NSError *error = nil; - NSObject *obj; - @try - { - obj = [[CJSONDeserializer deserializer] - deserialize:[[m_dataTextView string] dataUsingEncoding:NSUTF8StringEncoding] - error:&error]; - } - @catch (NSException *e) - { - obj = nil; - } - if (obj == nil) - { - NSBeginAlertSheet(@"Your JSON is invalid", @"OK", nil, nil, [NSApp mainWindow], self, - NULL, NULL, nil, [error localizedDescription]); - return; - } - - m_error = NO; - m_errorDescription = nil; - - AMFActionMessage *message = [[AMFActionMessage alloc] init]; - AMFMessageBody *body = [[AMFMessageBody alloc] init]; - body.data = obj; - body.responseURI = @"/1"; - body.targetURI = [m_serviceTextField stringValue]; - message.version = [m_amfTypePopUpButton selectedTag]; - message.bodies = [NSArray arrayWithObject:body]; - - [request setHTTPBody:[message data]]; - m_connection = [[NSURLConnection alloc] initWithRequest:request delegate:self]; - m_receivedData = [[NSMutableData alloc] init]; - [body release]; - [message release]; - [self setIsLoading:YES]; -} - -- (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response -{ - [m_receivedHeadersArrayController setContent:nil]; - [m_receivedHeaders release]; - m_receivedHeaders = [[NSMutableArray alloc] init]; - NSEnumerator *headerEnum = [[(NSHTTPURLResponse *)response allHeaderFields] keyEnumerator]; - NSString *headerName; - while (headerName = [headerEnum nextObject]) - { - [m_receivedHeaders addObject:[NSDictionary dictionaryWithObjectsAndKeys: - headerName, @"name", [[(NSHTTPURLResponse *)response allHeaderFields] - objectForKey:headerName], @"value", nil]]; - } - [m_receivedHeadersArrayController setContent:m_receivedHeaders]; - - if ([[[(NSHTTPURLResponse *)response allHeaderFields] objectForKey:@"Content-Type"] - rangeOfString:@"application/x-amf"].location == NSNotFound) - { - m_error = YES; - m_errorDescription = [[NSString stringWithFormat:@"The server returned no application/x-amf data at URL %@.", - [[response URL] absoluteString]] retain]; - return; - } - - if ([(NSHTTPURLResponse *)response statusCode] != 200) - { - m_error = YES; - m_errorDescription = [[NSString stringWithFormat:@"The server returned status code %d at URL %@.", - [(NSHTTPURLResponse *)response statusCode], [[response URL] absoluteString]] retain]; - } -} - -- (IBAction)copyURL:(id)sender -{ - NSURL *gatewayURL = [NSURL URLWithString:[m_gatewayTextField stringValue]]; - if (gatewayURL == nil) - { - NSBeginAlertSheet(@"Your URL is invalid", @"OK", nil, nil, [NSApp mainWindow], self, - NULL, NULL, nil, @"%@ is not a valid URL.", [m_gatewayTextField stringValue]); - } - NSMutableString *url = [NSMutableString stringWithString:[[gatewayURL absoluteString] - stringByReplacingCharactersInRange:(NSRange){0, [[gatewayURL scheme] length]} - withString:@"amfclient"]]; - [url appendFormat:@"?s=%@", [[m_serviceTextField stringValue] URLEncodedString]]; - [url appendFormat:@"&d=%@", [[m_dataTextView string] URLEncodedString]]; - [[NSPasteboard generalPasteboard] declareTypes:[NSArray arrayWithObjects:NSStringPboardType, - nil] owner:nil]; - [[NSPasteboard generalPasteboard] setString:url forType:NSStringPboardType]; -} - -- (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data -{ - [m_receivedData appendData:data]; -} - -- (void)connectionDidFinishLoading:(NSURLConnection *)connection -{ - AMFActionMessage *debugMessage = nil; - AMFActionMessage *message = nil; - - if (!m_error && [m_receivedData length] == 0) - { - m_error = YES; - m_errorDescription = @"The server returned zero bytes of data"; - } - - if (m_error) - { - NSBeginAlertSheet(@"Error querying webservice", @"OK", nil, nil, [NSApp mainWindow], self, - NULL, NULL, nil, m_errorDescription); - goto bailout; - } - - debugMessage = [AMFActionMessage alloc]; - message = [AMFActionMessage alloc]; - @try - { - debugMessage = [debugMessage initWithDataUsingDebugUnarchiver:m_receivedData]; - message = [message initWithData:m_receivedData]; - } - @catch (NSException *e) - { - NSBeginAlertSheet(@"Could not deserialize response", @"OK", nil, nil, [NSApp mainWindow], - self, NULL, NULL, nil, [e reason]); - goto bailout; - } - - NSObject *debugData = [[debugMessage.bodies objectAtIndex:0] data]; - NSObject *data = [[message.bodies objectAtIndex:0] data]; - m_outlineViewDataSource.rootObject = debugData; - [m_objectOutlineView reloadData]; - [m_objectOutlineView expandItem:[m_objectOutlineView itemAtRow:0]]; - - NSString *jsonString = @""; - @try - { - jsonString = [[CJSONSerializer serializer] serializeObject:data]; - } - @catch (NSException *e) - { - jsonString = @"Could not create JSON representation of response data"; - } - [m_resultTextView setString:jsonString]; - [[NSApp mainWindow] makeFirstResponder:m_objectOutlineView]; - [m_objectOutlineView selectRow:0 byExtendingSelection:NO]; - - bailout: - [m_errorDescription release]; - [m_connection release]; - [message release]; - [debugMessage release]; - [self setIsLoading:NO]; -} - -- (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error -{ - NSBeginAlertSheet(@"Error querying webservice", @"OK", nil, nil, [NSApp mainWindow], self, - NULL, NULL, nil, [error localizedDescription]); - [self setIsLoading:NO]; -} - -- (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request - redirectResponse:(NSURLResponse *)redirectResponse -{ - [m_sentHeadersArrayController setContent:nil]; - [m_sentHeaders release]; - m_sentHeaders = [[NSMutableArray alloc] init]; - NSEnumerator *headerEnum = [[request allHTTPHeaderFields] keyEnumerator]; - NSString *headerName; - while (headerName = [headerEnum nextObject]) - { - [m_sentHeaders addObject:[NSDictionary dictionaryWithObjectsAndKeys: - headerName, @"name", [request valueForHTTPHeaderField:headerName], @"value", nil]]; - } - [m_sentHeadersArrayController setContent:m_sentHeaders]; - return request; -} - -- (BOOL)outlineView:(NSOutlineView *)outlineView shouldTypeSelectForEvent:(NSEvent *)event - withCurrentSearchString:(NSString *)searchString -{ - if ([[event charactersIgnoringModifiers] characterAtIndex:0] == ' ') - { - if ([m_objectOutlineView selectedRow] != -1) - { - if ([m_detailViewHUDPanel isVisible]) - { - [m_detailViewHUDPanel orderOut:self]; - } - else - { - NSString *value = [m_outlineViewDataSource - valueForObject:[m_objectOutlineView - itemAtRow:[m_objectOutlineView selectedRow]]]; - [m_detailTextView setString:(value == nil || [value length] == 0) - ? @"(empty)" : value]; - [m_detailViewHUDPanel orderFront:self]; - } - return NO; - } - } - return YES; -} - -- (BOOL)outlineView:(NSOutlineView *)outlineView shouldSelectItem:(id)item -{ - if ([m_detailViewHUDPanel isVisible]) - { - NSString *value = [m_outlineViewDataSource - valueForObject:item]; - [m_detailTextView setString:(value == nil || [value length] == 0) - ? @"(empty)" : value]; - } - return YES; -} - -- (id)windowWillReturnFieldEditor:(NSWindow *)sender toObject:(id)anObject -{ - if (anObject == m_gatewayTextField) - { - return m_fieldEditor; - } - return nil; -} - -- (BOOL)fieldEditor:(NSTextView *)fieldEditor willPasteText:(NSString *)text -{ - if ([[[text substringToIndex:[@"amfclient://" length]] lowercaseString] - isEqualToString:@"amfclient://"]) - { - return [self setURLString:text]; - } - return NO; -} - -- (IBAction)focusGatewayTextField:(id)sender -{ - [[NSApp mainWindow] makeFirstResponder:m_gatewayTextField]; -} - -- (IBAction)focusServiceTextField:(id)sender -{ - [[NSApp mainWindow] makeFirstResponder:m_serviceTextField]; -} - -- (IBAction)focusDataTextView:(id)sender -{ - [[NSApp mainWindow] makeFirstResponder:m_dataTextView]; - [m_dataTextView setSelectedRange:(NSRange){0, [[m_dataTextView string] length]}]; -} - -- (IBAction)selectNextTab:(id)sender -{ - NSInteger index = [m_tabView indexOfTabViewItem:[m_tabView selectedTabViewItem]] + 1; - if (index == [m_tabView numberOfTabViewItems]) - { - index = 0; - } - [m_tabView selectTabViewItemAtIndex:index]; -} - -- (IBAction)selectPreviousTab:(id)sender -{ - NSInteger index = [m_tabView indexOfTabViewItem:[m_tabView selectedTabViewItem]] - 1; - if (index == -1) - { - index = [m_tabView numberOfTabViewItems] - 1; - } - [m_tabView selectTabViewItemAtIndex:index]; -} - -- (void)setIsLoading:(BOOL)bFlag -{ - m_isLoading = bFlag; - [m_executeButton setEnabled:!bFlag]; - if (bFlag) - { - [m_progressIndicator startAnimation:self]; - } - else - { - [m_progressIndicator stopAnimation:self]; - } -} - - -#pragma mark - -#pragma mark OutlineView Delegate methods - -- (NSMenu *)outlineView:(NSOutlineView *)outlineView contextMenuForItem:(id)item -{ - NSString *objectClassName = [(AMFDebugDataNode *)item objectClassName]; - if (objectClassName == nil) - { - return nil; - } - NSMenu *menu = [[[NSMenu alloc] init] autorelease]; - NSMenuItem *subMenuItem = [[NSMenuItem alloc] - initWithTitle:[NSString stringWithFormat:@"Copy stub code for %@ ...", objectClassName] - action:NULL keyEquivalent:@""]; - NSMenu *subMenu = [[NSMenu alloc] init]; - [subMenuItem setSubmenu:subMenu]; - NSArray *languages = [[SCGenerator sharedGenerator] languageNames]; - int i = 0; - for (NSString *languageName in languages) - { - NSMenuItem *menuItem = [[NSMenuItem alloc] - initWithTitle:[NSString stringWithFormat:@"in %@", languageName] - action:@selector(copyStubCode:) keyEquivalent:@""]; - [menuItem setTag:i++]; - [menuItem setTarget:self]; - [menuItem setRepresentedObject:item]; - [subMenu addItem:menuItem]; - [menuItem release]; - } - [menu addItem:subMenuItem]; - [subMenuItem release]; - [subMenu release]; - return menu; -} - - -#pragma mark ContextMenu action methods - -- (void)copyStubCode:(NSMenuItem *)sender -{ - AMFDebugDataNode *node = (AMFDebugDataNode *)[sender representedObject]; - NSString *languageName = [[[SCGenerator sharedGenerator] languageNames] - objectAtIndex:[sender tag]]; - [[NSPasteboard generalPasteboard] declareTypes:[NSArray arrayWithObjects:NSStringPboardType, - nil] owner:nil]; - [[NSPasteboard generalPasteboard] - setString:[[SCGenerator sharedGenerator] stubCodeForDataNode:node languageName:languageName] - forType:NSStringPboardType]; -} - -@end \ No newline at end of file diff --git a/Examples/AMFClient/Libraries/JSON/CDataScanner.h b/Examples/AMFClient/Libraries/JSON/CDataScanner.h deleted file mode 100644 index f76bf2b..0000000 --- a/Examples/AMFClient/Libraries/JSON/CDataScanner.h +++ /dev/null @@ -1,47 +0,0 @@ -// -// CDataScanner.h -// TouchJSON -// -// Created by Jonathan Wight on 04/16/08. -// Copyright 2008 Toxic Software. All rights reserved. -// - -#import - -// NSScanner - -@interface CDataScanner : NSObject { - NSData *data; - - u_int8_t *start; - u_int8_t *end; - u_int8_t *current; - NSUInteger length; - - NSCharacterSet *doubleCharacters; -} - -@property (readwrite, nonatomic, retain) NSData *data; -@property (readwrite, nonatomic, assign) NSUInteger scanLocation; -@property (readonly, nonatomic, assign) BOOL isAtEnd; - -+ (id)scannerWithData:(NSData *)inData; - -- (unichar)currentCharacter; -- (unichar)scanCharacter; -- (BOOL)scanCharacter:(unichar)inCharacter; - -- (BOOL)scanUTF8String:(const char *)inString intoString:(NSString **)outValue; -- (BOOL)scanString:(NSString *)inString intoString:(NSString **)outValue; -- (BOOL)scanCharactersFromSet:(NSCharacterSet *)inSet intoString:(NSString **)outValue; // inSet must only contain 7-bit ASCII characters - -- (BOOL)scanUpToString:(NSString *)string intoString:(NSString **)outValue; -- (BOOL)scanUpToCharactersFromSet:(NSCharacterSet *)set intoString:(NSString **)outValue; // inSet must only contain 7-bit ASCII characters - -- (BOOL)scanNumber:(NSNumber **)outValue; - -- (void)skipWhitespace; - -- (NSString *)remainingString; - -@end diff --git a/Examples/AMFClient/Libraries/JSON/CDataScanner.m b/Examples/AMFClient/Libraries/JSON/CDataScanner.m deleted file mode 100644 index a002cd9..0000000 --- a/Examples/AMFClient/Libraries/JSON/CDataScanner.m +++ /dev/null @@ -1,249 +0,0 @@ -// -// CDataScanner.m -// TouchJSON -// -// Created by Jonathan Wight on 04/16/08. -// Copyright 2008 Toxic Software. All rights reserved. -// - -#import "CDataScanner.h" - -#import "CDataScanner_Extensions.h" - -@interface CDataScanner () -@property (readwrite, nonatomic, retain) NSCharacterSet *doubleCharacters; -@end - -#pragma mark - - -inline static unichar CharacterAtPointer(void *start, void *end) -{ -#pragma unused(end) - -const u_int8_t theByte = *(u_int8_t *)start; -if (theByte & 0x80) - { - // TODO -- UNICODE!!!! (well in theory nothing todo here) - } -const unichar theCharacter = theByte; -return(theCharacter); -} - -@implementation CDataScanner - -@dynamic data; -@dynamic scanLocation; -@dynamic isAtEnd; -@synthesize doubleCharacters; - -+ (id)scannerWithData:(NSData *)inData -{ -CDataScanner *theScanner = [[[self alloc] init] autorelease]; -theScanner.data = inData; -return(theScanner); -} - -- (id)init -{ -if ((self = [super init]) != nil) - { - self.doubleCharacters = [NSCharacterSet characterSetWithCharactersInString:@"0123456789eE-."]; - } -return(self); -} - -- (void)dealloc -{ -self.data = NULL; -self.doubleCharacters = NULL; -// -[super dealloc]; -} - -- (NSUInteger)scanLocation -{ -return(current - start); -} - -- (NSData *)data -{ -return(data); -} - -- (void)setData:(NSData *)inData -{ -if (data != inData) - { - if (data) - { - [data release]; - data = NULL; - } - - if (inData) - { - data = [inData retain]; - // - start = (u_int8_t *)data.bytes; - end = start + data.length; - current = start; - length = data.length; - } - } -} - -- (void)setScanLocation:(NSUInteger)inScanLocation -{ -current = start + inScanLocation; -} - -- (BOOL)isAtEnd -{ -return(self.scanLocation >= length); -} - -- (unichar)currentCharacter -{ -return(CharacterAtPointer(current, end)); -} - -#pragma mark - - -- (unichar)scanCharacter -{ -const unichar theCharacter = CharacterAtPointer(current++, end); -return(theCharacter); -} - -- (BOOL)scanCharacter:(unichar)inCharacter -{ -unichar theCharacter = CharacterAtPointer(current, end); -if (theCharacter == inCharacter) - { - ++current; - return(YES); - } -else - return(NO); -} - -- (BOOL)scanUTF8String:(const char *)inString intoString:(NSString **)outValue; -{ -const size_t theLength = strlen(inString); -if ((size_t)(end - current) < theLength) - return(NO); -if (strncmp((char *)current, inString, theLength) == 0) - { - current += theLength; - if (outValue) - *outValue = [NSString stringWithUTF8String:inString]; - return(YES); - } -return(NO); -} - -- (BOOL)scanString:(NSString *)inString intoString:(NSString **)outValue -{ -if ((size_t)(end - current) < inString.length) - return(NO); -if (strncmp((char *)current, [inString UTF8String], inString.length) == 0) - { - current += inString.length; - if (outValue) - *outValue = inString; - return(YES); - } -return(NO); -} - -- (BOOL)scanCharactersFromSet:(NSCharacterSet *)inSet intoString:(NSString **)outValue -{ -u_int8_t *P; -for (P = current; P < end && [inSet characterIsMember:*P] == YES; ++P) - ; - -if (P == current) - { - return(NO); - } - -if (outValue) - { - *outValue = [[[NSString alloc] initWithBytes:current length:P - current encoding:NSUTF8StringEncoding] autorelease]; - } - -current = P; - -return(YES); -} - -- (BOOL)scanUpToString:(NSString *)inString intoString:(NSString **)outValue -{ -const char *theToken = [inString UTF8String]; -const char *theResult = strnstr((char *)current, theToken, end - current); -if (theResult == NULL) - { - return(NO); - } - -if (outValue) - { - *outValue = [[[NSString alloc] initWithBytes:current length:theResult - (char *)current encoding:NSUTF8StringEncoding] autorelease]; - } - -current = (u_int8_t *)theResult; - -return(YES); -} - -- (BOOL)scanUpToCharactersFromSet:(NSCharacterSet *)inSet intoString:(NSString **)outValue -{ -u_int8_t *P; -for (P = current; P < end && [inSet characterIsMember:*P] == NO; ++P) - ; - -if (P == current) - { - return(NO); - } - -if (outValue) - { - *outValue = [[[NSString alloc] initWithBytes:current length:P - current encoding:NSUTF8StringEncoding] autorelease]; - } - -current = P; - -return(YES); -} - -- (BOOL)scanNumber:(NSNumber **)outValue -{ -// Replace all of this with a strtod call -NSString *theString = NULL; -if ([self scanCharactersFromSet:doubleCharacters intoString:&theString]) - { - if (outValue) - *outValue = [NSNumber numberWithDouble:[theString doubleValue]]; // TODO dont use doubleValue - return(YES); - } -return(NO); -} - -- (void)skipWhitespace -{ -u_int8_t *P; -for (P = current; P < end && (isspace(*P)); ++P) - ; - -current = P; -} - -- (NSString *)remainingString -{ -NSData *theRemainingData = [NSData dataWithBytes:current length:end - current]; -NSString *theString = [[[NSString alloc] initWithData:theRemainingData encoding:NSUTF8StringEncoding] autorelease]; -return(theString); -} - -@end diff --git a/Examples/AMFClient/Libraries/JSON/Extensions/CDataScanner_Extensions.h b/Examples/AMFClient/Libraries/JSON/Extensions/CDataScanner_Extensions.h deleted file mode 100644 index d8fa671..0000000 --- a/Examples/AMFClient/Libraries/JSON/Extensions/CDataScanner_Extensions.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// CDataScanner_Extensions.h -// TouchJSON -// -// Created by Jonathan Wight on 12/08/2005. -// Copyright 2005 Toxic Software. All rights reserved. -// - -#import "CDataScanner.h" - -@interface CDataScanner (CDataScanner_Extensions) - -- (BOOL)scanCStyleComment:(NSString **)outComment; -- (BOOL)scanCPlusPlusStyleComment:(NSString **)outComment; - -@end diff --git a/Examples/AMFClient/Libraries/JSON/Extensions/CDataScanner_Extensions.m b/Examples/AMFClient/Libraries/JSON/Extensions/CDataScanner_Extensions.m deleted file mode 100644 index 5f3f009..0000000 --- a/Examples/AMFClient/Libraries/JSON/Extensions/CDataScanner_Extensions.m +++ /dev/null @@ -1,59 +0,0 @@ -// -// NSScanner_Extensions.m -// TouchJSON -// -// Created by Jonathan Wight on 12/08/2005. -// Copyright 2005 Toxic Software. All rights reserved. -// - -#import "CDataScanner_Extensions.h" - -#import "NSCharacterSet_Extensions.h" - -@implementation CDataScanner (CDataScanner_Extensions) - -- (BOOL)scanCStyleComment:(NSString **)outComment -{ -if ([self scanString:@"/*" intoString:NULL] == YES) - { - NSString *theComment = NULL; - if ([self scanUpToString:@"*/" intoString:&theComment] == NO) - [NSException raise:NSGenericException format:@"Started to scan a C style comment but it wasn't terminated."]; - - if ([theComment rangeOfString:@"/*"].location != NSNotFound) - [NSException raise:NSGenericException format:@"C style comments should not be nested."]; - - if ([self scanString:@"*/" intoString:NULL] == NO) - [NSException raise:NSGenericException format:@"C style comment did not end correctly."]; - - if (outComment != NULL) - *outComment = theComment; - - return(YES); - } -else - { - return(NO); - } -} - -- (BOOL)scanCPlusPlusStyleComment:(NSString **)outComment -{ -if ([self scanString:@"//" intoString:NULL] == YES) - { - NSString *theComment = NULL; - [self scanUpToCharactersFromSet:[NSCharacterSet linebreaksCharacterSet] intoString:&theComment]; - [self scanCharactersFromSet:[NSCharacterSet linebreaksCharacterSet] intoString:NULL]; - - if (outComment != NULL) - *outComment = theComment; - - return(YES); - } -else - { - return(NO); - } -} - -@end diff --git a/Examples/AMFClient/Libraries/JSON/Extensions/NSCharacterSet_Extensions.h b/Examples/AMFClient/Libraries/JSON/Extensions/NSCharacterSet_Extensions.h deleted file mode 100644 index eea2067..0000000 --- a/Examples/AMFClient/Libraries/JSON/Extensions/NSCharacterSet_Extensions.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// NSCharacterSet_Extensions.h -// TouchJSON -// -// Created by Jonathan Wight on 12/08/2005. -// Copyright (c) 2005 Toxic Software. All rights reserved. -// - -#import - -@interface NSCharacterSet (NSCharacterSet_Extensions) - -+ (NSCharacterSet *)linebreaksCharacterSet; - -@end diff --git a/Examples/AMFClient/Libraries/JSON/Extensions/NSCharacterSet_Extensions.m b/Examples/AMFClient/Libraries/JSON/Extensions/NSCharacterSet_Extensions.m deleted file mode 100644 index 566676e..0000000 --- a/Examples/AMFClient/Libraries/JSON/Extensions/NSCharacterSet_Extensions.m +++ /dev/null @@ -1,27 +0,0 @@ -// -// NSCharacterSet_Extensions.m -// TouchJSON -// -// Created by Jonathan Wight on 12/08/2005. -// Copyright (c) 2005 Toxic Software. All rights reserved. -// - -#import "NSCharacterSet_Extensions.h" - -@implementation NSCharacterSet (NSCharacterSet_Extensions) - -#define LF 0x000a // Line Feed -#define FF 0x000c // Form Feed -#define CR 0x000d // Carriage Return -#define NEL 0x0085 // Next Line -#define LS 0x2028 // Line Separator -#define PS 0x2029 // Paragraph Separator - -+ (NSCharacterSet *)linebreaksCharacterSet -{ -unichar theCharacters[] = { LF, FF, CR, NEL, LS, PS, }; - -return([NSCharacterSet characterSetWithCharactersInString:[NSString stringWithCharacters:theCharacters length:sizeof(theCharacters) / sizeof(*theCharacters)]]); -} - -@end diff --git a/Examples/AMFClient/Libraries/JSON/Extensions/NSDictionary_JSONExtensions.h b/Examples/AMFClient/Libraries/JSON/Extensions/NSDictionary_JSONExtensions.h deleted file mode 100644 index b3da7d2..0000000 --- a/Examples/AMFClient/Libraries/JSON/Extensions/NSDictionary_JSONExtensions.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// NSDictionary_JSONExtensions.h -// TouchJSON -// -// Created by Jonathan Wight on 04/17/08. -// Copyright 2008 Toxic Software. All rights reserved. -// - -#import - -@interface NSDictionary (NSDictionary_JSONExtensions) - -+ (id)dictionaryWithJSONData:(NSData *)inData error:(NSError **)outError; - -@end diff --git a/Examples/AMFClient/Libraries/JSON/Extensions/NSDictionary_JSONExtensions.m b/Examples/AMFClient/Libraries/JSON/Extensions/NSDictionary_JSONExtensions.m deleted file mode 100644 index 132f70d..0000000 --- a/Examples/AMFClient/Libraries/JSON/Extensions/NSDictionary_JSONExtensions.m +++ /dev/null @@ -1,20 +0,0 @@ -// -// NSDictionary_JSONExtensions.m -// TouchJSON -// -// Created by Jonathan Wight on 04/17/08. -// Copyright 2008 Toxic Software. All rights reserved. -// - -#import "NSDictionary_JSONExtensions.h" - -#import "CJSONDeserializer.h" - -@implementation NSDictionary (NSDictionary_JSONExtensions) - -+ (id)dictionaryWithJSONData:(NSData *)inData error:(NSError **)outError -{ -return([[CJSONDeserializer deserializer] deserialize:inData error:outError]); -} - -@end diff --git a/Examples/AMFClient/Libraries/JSON/Extensions/NSScanner_Extensions.h b/Examples/AMFClient/Libraries/JSON/Extensions/NSScanner_Extensions.h deleted file mode 100644 index 0f23728..0000000 --- a/Examples/AMFClient/Libraries/JSON/Extensions/NSScanner_Extensions.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// NSScanner_Extensions.h -// CocoaJSON -// -// Created by Jonathan Wight on 12/08/2005. -// Copyright 2005 Toxic Software. All rights reserved. -// - -#import - -@interface NSScanner (NSScanner_Extensions) - -- (NSString *)remainingString; - -- (unichar)currentCharacter; -- (unichar)scanCharacter; -- (BOOL)scanCharacter:(unichar)inCharacter; -- (void)backtrack:(unsigned)inCount; - -- (BOOL)scanCStyleComment:(NSString **)outComment; -- (BOOL)scanCPlusPlusStyleComment:(NSString **)outComment; - -@end diff --git a/Examples/AMFClient/Libraries/JSON/Extensions/NSScanner_Extensions.m b/Examples/AMFClient/Libraries/JSON/Extensions/NSScanner_Extensions.m deleted file mode 100644 index 0fdbe13..0000000 --- a/Examples/AMFClient/Libraries/JSON/Extensions/NSScanner_Extensions.m +++ /dev/null @@ -1,97 +0,0 @@ -// -// NSScanner_Extensions.m -// CocoaJSON -// -// Created by Jonathan Wight on 12/08/2005. -// Copyright 2005 Toxic Software. All rights reserved. -// - -#import "NSScanner_Extensions.h" - -#import "NSCharacterSet_Extensions.h" - -@implementation NSScanner (NSScanner_Extensions) - -- (NSString *)remainingString -{ -return([[self string] substringFromIndex:[self scanLocation]]); -} - -- (unichar)currentCharacter -{ -return([[self string] characterAtIndex:[self scanLocation]]); -} - -- (unichar)scanCharacter -{ -unsigned theScanLocation = [self scanLocation]; -unichar theCharacter = [[self string] characterAtIndex:theScanLocation]; -[self setScanLocation:theScanLocation + 1]; -return(theCharacter); -} - -- (BOOL)scanCharacter:(unichar)inCharacter -{ -unsigned theScanLocation = [self scanLocation]; -if ([[self string] characterAtIndex:theScanLocation] == inCharacter) - { - [self setScanLocation:theScanLocation + 1]; - return(YES); - } -else - return(NO); -} - -- (void)backtrack:(unsigned)inCount -{ -unsigned theScanLocation = [self scanLocation]; -if (inCount > theScanLocation) - [NSException raise:NSGenericException format:@"Backtracked too far."]; -[self setScanLocation:theScanLocation - inCount]; -} - -- (BOOL)scanCStyleComment:(NSString **)outComment -{ -if ([self scanString:@"/*" intoString:NULL] == YES) - { - NSString *theComment = NULL; - if ([self scanUpToString:@"*/" intoString:&theComment] == NO) - [NSException raise:NSGenericException format:@"Started to scan a C style comment but it wasn't terminated."]; - - if ([theComment rangeOfString:@"/*"].location != NSNotFound) - [NSException raise:NSGenericException format:@"C style comments should not be nested."]; - - if ([self scanString:@"*/" intoString:NULL] == NO) - [NSException raise:NSGenericException format:@"C style comment did not end correctly."]; - - if (outComment != NULL) - *outComment = theComment; - - return(YES); - } -else - { - return(NO); - } -} - -- (BOOL)scanCPlusPlusStyleComment:(NSString **)outComment -{ -if ([self scanString:@"//" intoString:NULL] == YES) - { - NSString *theComment = NULL; - [self scanUpToCharactersFromSet:[NSCharacterSet linebreaksCharacterSet] intoString:&theComment]; - [self scanCharactersFromSet:[NSCharacterSet linebreaksCharacterSet] intoString:NULL]; - - if (outComment != NULL) - *outComment = theComment; - - return(YES); - } -else - { - return(NO); - } -} - -@end diff --git a/Examples/AMFClient/Libraries/JSON/JSON/CJSONDeserializer.h b/Examples/AMFClient/Libraries/JSON/JSON/CJSONDeserializer.h deleted file mode 100755 index f41b7a4..0000000 --- a/Examples/AMFClient/Libraries/JSON/JSON/CJSONDeserializer.h +++ /dev/null @@ -1,38 +0,0 @@ -// -// CJSONDeserializer.h -// TouchJSON -// -// Created by Jonathan Wight on 12/15/2005. -// Copyright 2005 Toxic Software. All rights reserved. -// - -#import - -extern NSString *const kJSONDeserializerErrorDomain /* = @"CJSONDeserializerErrorDomain" */; - -@protocol CDeserializerProtocol - -- (id)deserializeAsDictionary:(NSData *)inData error:(NSError **)outError; - -@end - -#pragma mark - - -@interface CJSONDeserializer : NSObject { - -} - -+ (id)deserializer; - -- (id)deserializeAsDictionary:(NSData *)inData error:(NSError **)outError; - -@end - -#pragma mark - - -@interface CJSONDeserializer (CJSONDeserializer_Deprecated) - -/// You should switch to using deserializeAsDictionary:error: instead. -- (id)deserialize:(NSData *)inData error:(NSError **)outError; - -@end diff --git a/Examples/AMFClient/Libraries/JSON/JSON/CJSONDeserializer.m b/Examples/AMFClient/Libraries/JSON/JSON/CJSONDeserializer.m deleted file mode 100755 index 6faab4f..0000000 --- a/Examples/AMFClient/Libraries/JSON/JSON/CJSONDeserializer.m +++ /dev/null @@ -1,63 +0,0 @@ -// -// CJSONDeserializer.m -// TouchJSON -// -// Created by Jonathan Wight on 12/15/2005. -// Copyright 2005 Toxic Software. All rights reserved. -// - -#import "CJSONDeserializer.h" - -#import "CJSONScanner.h" -#import "CDataScanner.h" - -NSString *const kJSONDeserializerErrorDomain /* = @"CJSONDeserializerErrorDomain" */; - -@implementation CJSONDeserializer - -+ (id)deserializer -{ -return([[[self alloc] init] autorelease]); -} - -- (id)deserializeAsDictionary:(NSData *)inData error:(NSError **)outError; -{ -if (inData == NULL || [inData length] == 0) - { - if (*outError) - *outError = [NSError errorWithDomain:kJSONDeserializerErrorDomain code:-1 userInfo:NULL]; - - return(NULL); - } -CJSONScanner *theScanner = [CJSONScanner scannerWithData:inData]; -id theDictionary = NULL; -if ([theScanner scanJSONDictionary:&theDictionary error:outError] == YES) - return(theDictionary); -else - return(NULL); -} - -@end - -#pragma mark - - -@implementation CJSONDeserializer (CJSONDeserializer_Deprecated) - -- (id)deserialize:(NSData *)inData error:(NSError **)outError -{ -if (inData == NULL || [inData length] == 0) - { - if (*outError) - *outError = [NSError errorWithDomain:kJSONDeserializerErrorDomain code:-1 userInfo:NULL]; - - return(NULL); - } -CJSONScanner *theScanner = [CJSONScanner scannerWithData:inData]; -id theObject = NULL; -if ([theScanner scanJSONObject:&theObject error:outError] == YES) - return(theObject); -else - return(NULL); -} - -@end diff --git a/Examples/AMFClient/Libraries/JSON/JSON/CJSONScanner.h b/Examples/AMFClient/Libraries/JSON/JSON/CJSONScanner.h deleted file mode 100644 index 3258717..0000000 --- a/Examples/AMFClient/Libraries/JSON/JSON/CJSONScanner.h +++ /dev/null @@ -1,23 +0,0 @@ -// -// CJSONScanner.h -// TouchJSON -// -// Created by Jonathan Wight on 12/07/2005. -// Copyright 2005 Toxic Software. All rights reserved. -// - -#import "CDataScanner.h" -#import "ASObject.h" - -@interface CJSONScanner : CDataScanner { -} - -- (BOOL)scanJSONObject:(id *)outObject error:(NSError **)outError; -- (BOOL)scanJSONDictionary:(NSDictionary **)outDictionary error:(NSError **)outError; -- (BOOL)scanJSONArray:(NSArray **)outArray error:(NSError **)outError; -- (BOOL)scanJSONStringConstant:(NSString **)outStringConstant error:(NSError **)outError; -- (BOOL)scanJSONNumberConstant:(NSNumber **)outNumberConstant error:(NSError **)outError; - -@end - -extern NSString *const kJSONScannerErrorDomain /* = @"CJSONScannerErrorDomain" */; diff --git a/Examples/AMFClient/Libraries/JSON/JSON/CJSONScanner.m b/Examples/AMFClient/Libraries/JSON/JSON/CJSONScanner.m deleted file mode 100644 index 9bd04cc..0000000 --- a/Examples/AMFClient/Libraries/JSON/JSON/CJSONScanner.m +++ /dev/null @@ -1,527 +0,0 @@ -// -// CJSONScanner.m -// TouchJSON -// -// Created by Jonathan Wight on 12/07/2005. -// Copyright 2005 Toxic Software. All rights reserved. -// - -#import "CJSONScanner.h" - -#import "NSCharacterSet_Extensions.h" -#import "CDataScanner_Extensions.h" - -#if !defined(TREAT_COMMENTS_AS_WHITESPACE) -#define TREAT_COMMENTS_AS_WHITESPACE 0 -#endif // !defined(TREAT_COMMENTS_AS_WHITESPACE) - -NSString *const kJSONScannerErrorDomain = @"CJSONScannerErrorDomain"; - -inline static int HexToInt(char inCharacter) -{ -int theValues[] = { 0x0 /* 48 '0' */, 0x1 /* 49 '1' */, 0x2 /* 50 '2' */, 0x3 /* 51 '3' */, 0x4 /* 52 '4' */, 0x5 /* 53 '5' */, 0x6 /* 54 '6' */, 0x7 /* 55 '7' */, 0x8 /* 56 '8' */, 0x9 /* 57 '9' */, -1 /* 58 ':' */, -1 /* 59 ';' */, -1 /* 60 '<' */, -1 /* 61 '=' */, -1 /* 62 '>' */, -1 /* 63 '?' */, -1 /* 64 '@' */, 0xa /* 65 'A' */, 0xb /* 66 'B' */, 0xc /* 67 'C' */, 0xd /* 68 'D' */, 0xe /* 69 'E' */, 0xf /* 70 'F' */, -1 /* 71 'G' */, -1 /* 72 'H' */, -1 /* 73 'I' */, -1 /* 74 'J' */, -1 /* 75 'K' */, -1 /* 76 'L' */, -1 /* 77 'M' */, -1 /* 78 'N' */, -1 /* 79 'O' */, -1 /* 80 'P' */, -1 /* 81 'Q' */, -1 /* 82 'R' */, -1 /* 83 'S' */, -1 /* 84 'T' */, -1 /* 85 'U' */, -1 /* 86 'V' */, -1 /* 87 'W' */, -1 /* 88 'X' */, -1 /* 89 'Y' */, -1 /* 90 'Z' */, -1 /* 91 '[' */, -1 /* 92 '\' */, -1 /* 93 ']' */, -1 /* 94 '^' */, -1 /* 95 '_' */, -1 /* 96 '`' */, 0xa /* 97 'a' */, 0xb /* 98 'b' */, 0xc /* 99 'c' */, 0xd /* 100 'd' */, 0xe /* 101 'e' */, 0xf /* 102 'f' */, }; -if (inCharacter >= '0' && inCharacter <= 'f') - return(theValues[inCharacter - '0']); -else - return(-1); -} - -@interface CJSONScanner () -- (BOOL)scanNotQuoteCharactersIntoString:(NSString **)outValue; -@end - -#pragma mark - - -@implementation CJSONScanner - -- (id)init -{ -if ((self = [super init]) != nil) - { - } -return(self); -} - -- (void)dealloc -{ -// -[super dealloc]; -} - -#pragma mark - - -- (void)setData:(NSData *)inData -{ -NSData *theData = inData; -if (theData && theData.length >= 4) - { - // This code is lame, but it works. Because the first character of any JSON string will always be a (ascii) control character we can work out the Unicode encoding by the bit pattern. See section 3 of http://www.ietf.org/rfc/rfc4627.txt - const char *theChars = theData.bytes; - NSStringEncoding theEncoding = NSUTF8StringEncoding; - if (theChars[0] != 0 && theChars[1] == 0) - { - if (theChars[2] != 0 && theChars[3] == 0) - theEncoding = NSUTF16LittleEndianStringEncoding; - else if (theChars[2] == 0 && theChars[3] == 0) - theEncoding = NSUTF32LittleEndianStringEncoding; - } - else if (theChars[0] == 0 && theChars[2] == 0 && theChars[3] != 0) - { - if (theChars[1] == 0) - theEncoding = NSUTF32BigEndianStringEncoding; - else if (theChars[1] != 0) - theEncoding = NSUTF16BigEndianStringEncoding; - } - - if (theEncoding != NSUTF8StringEncoding) - { - NSString *theString = [[NSString alloc] initWithData:theData encoding:theEncoding]; - theData = [theString dataUsingEncoding:NSUTF8StringEncoding]; - [theString release]; - } - } -[super setData:theData]; -} - -#pragma mark - - -- (BOOL)scanJSONObject:(id *)outObject error:(NSError **)outError -{ -[self skipWhitespace]; - -id theObject = NULL; - -const unichar C = [self currentCharacter]; -switch (C) - { - case 't': - if ([self scanUTF8String:"true" intoString:NULL]) - { - theObject = [NSNumber numberWithBool:YES]; - } - break; - case 'f': - if ([self scanUTF8String:"false" intoString:NULL]) - { - theObject = [NSNumber numberWithBool:NO]; - } - break; - case 'n': - if ([self scanUTF8String:"null" intoString:NULL]) - { - theObject = [NSNull null]; - } - break; - case '\"': - case '\'': - [self scanJSONStringConstant:&theObject error:outError]; - break; - case '0': - case '1': - case '2': - case '3': - case '4': - case '5': - case '6': - case '7': - case '8': - case '9': - case '-': - [self scanJSONNumberConstant:&theObject error:outError]; - break; - case '{': - [self scanJSONDictionary:&theObject error:outError]; - break; - case '[': - [self scanJSONArray:&theObject error:outError]; - break; - default: - - break; - } - -if (outObject != NULL) - *outObject = theObject; -return(YES); -} - -- (BOOL)scanJSONDictionary:(NSDictionary **)outDictionary error:(NSError **)outError -{ -NSUInteger theScanLocation = [self scanLocation]; - -if ([self scanCharacter:'{'] == NO) - { - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan dictionary. Dictionary that does not start with '{' character.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-1 userInfo:theUserInfo]; - } - return(NO); - } - -NSMutableDictionary *theDictionary = [[NSMutableDictionary alloc] init]; - -while ([self currentCharacter] != '}') - { - [self skipWhitespace]; - - if ([self currentCharacter] == '}') - break; - - NSString *theKey = NULL; - if ([self scanJSONStringConstant:&theKey error:outError] == NO) - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan dictionary. Failed to scan a key.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-2 userInfo:theUserInfo]; - } - [theDictionary release]; - return(NO); - } - - [self skipWhitespace]; - - if ([self scanCharacter:':'] == NO) - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan dictionary. Key was not terminated with a ':' character.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-3 userInfo:theUserInfo]; - } - [theDictionary release]; - return(NO); - } - - id theValue = NULL; - if ([self scanJSONObject:&theValue error:outError] == NO) - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan dictionary. Failed to scan a value.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-4 userInfo:theUserInfo]; - } - [theDictionary release]; - return(NO); - } - - [theDictionary setValue:theValue forKey:theKey]; - - [self skipWhitespace]; - if ([self scanCharacter:','] == NO) - { - if ([self currentCharacter] != '}') - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan dictionary. Key value pairs not delimited with a ',' character.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-5 userInfo:theUserInfo]; - } - [theDictionary release]; - return(NO); - } - break; - } - else - { - [self skipWhitespace]; - if ([self currentCharacter] == '}') - break; - } - } - -if ([self scanCharacter:'}'] == NO) - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan dictionary. Dictionary not terminated by a '}' character.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-6 userInfo:theUserInfo]; - } - [theDictionary release]; - return(NO); - } - -if (outDictionary != NULL) -{ - if ([theDictionary objectForKey:@"_type_"] != nil) - { - NSString *type = [theDictionary objectForKey:@"_type_"]; - [theDictionary removeObjectForKey:@"_type_"]; - *outDictionary = (id)[ASObject asObjectWithDictionary:(NSDictionary *)theDictionary]; - [(ASObject *)*outDictionary setType:type]; - } - else - { - *outDictionary = [[theDictionary copy] autorelease]; - } -} - -[theDictionary release]; - -return(YES); -} - -- (BOOL)scanJSONArray:(NSArray **)outArray error:(NSError **)outError -{ -NSUInteger theScanLocation = [self scanLocation]; - -if ([self scanCharacter:'['] == NO) - { - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan array. Array not started by a '{' character.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-7 userInfo:theUserInfo]; - } - return(NO); - } - -NSMutableArray *theArray = [[NSMutableArray alloc] init]; - -[self skipWhitespace]; -while ([self currentCharacter] != ']') - { - NSString *theValue = NULL; - if ([self scanJSONObject:&theValue error:outError] == NO) - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan array. Could not scan a value.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-8 userInfo:theUserInfo]; - } - [theArray release]; - return(NO); - } - - [theArray addObject:theValue]; - - [self skipWhitespace]; - if ([self scanCharacter:','] == NO) - { - [self skipWhitespace]; - if ([self currentCharacter] != ']') - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan array. Array not terminated by a ']' character.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-9 userInfo:theUserInfo]; - } - [theArray release]; - return(NO); - } - - break; - } - [self skipWhitespace]; - } - -[self skipWhitespace]; - -if ([self scanCharacter:']'] == NO) - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan array. Array not terminated by a ']' character.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-10 userInfo:theUserInfo]; - } - [theArray release]; - return(NO); - } - -if (outArray != NULL) - *outArray = [[theArray copy] autorelease]; - -[theArray release]; - -return(YES); -} - -- (BOOL)scanJSONStringConstant:(NSString **)outStringConstant error:(NSError **)outError -{ -NSUInteger theScanLocation = [self scanLocation]; - -[self skipWhitespace]; // TODO - i want to remove this method. But breaks unit tests. - -NSMutableString *theString = [[NSMutableString alloc] init]; - -if ([self scanCharacter:'"'] == NO) - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan string constant. String not started by a '\"' character.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-11 userInfo:theUserInfo]; - } - [theString release]; - return(NO); - } - -while ([self scanCharacter:'"'] == NO) - { - NSString *theStringChunk = NULL; - if ([self scanNotQuoteCharactersIntoString:&theStringChunk]) - { - [theString appendString:theStringChunk]; - } - - if ([self scanCharacter:'\\'] == YES) - { - unichar theCharacter = [self scanCharacter]; - switch (theCharacter) - { - case '"': - case '\\': - case '/': - break; - case 'b': - theCharacter = '\b'; - break; - case 'f': - theCharacter = '\f'; - break; - case 'n': - theCharacter = '\n'; - break; - case 'r': - theCharacter = '\r'; - break; - case 't': - theCharacter = '\t'; - break; - case 'u': - { - theCharacter = 0; - - int theShift; - for (theShift = 12; theShift >= 0; theShift -= 4) - { - const int theDigit = HexToInt([self scanCharacter]); - if (theDigit == -1) - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan string constant. Unicode character could not be decoded.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-12 userInfo:theUserInfo]; - } - [theString release]; - return(NO); - } - theCharacter |= (theDigit << theShift); - } - } - break; - default: - { - [self setScanLocation:theScanLocation]; - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan string constant. Unknown escape code.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-13 userInfo:theUserInfo]; - } - [theString release]; - return(NO); - } - break; - } - CFStringAppendCharacters((CFMutableStringRef)theString, &theCharacter, 1); - } - } - -if (outStringConstant != NULL) - *outStringConstant = [[theString copy] autorelease]; - -[theString release]; - -return(YES); -} - -- (BOOL)scanJSONNumberConstant:(NSNumber **)outNumberConstant error:(NSError **)outError -{ -NSNumber *theNumber = NULL; -if ([self scanNumber:&theNumber] == YES) - { - if (outNumberConstant != NULL) - *outNumberConstant = theNumber; - return(YES); - } -else - { - if (outError) - { - NSDictionary *theUserInfo = [NSDictionary dictionaryWithObjectsAndKeys: - @"Could not scan number constant.", NSLocalizedDescriptionKey, - NULL]; - *outError = [NSError errorWithDomain:kJSONScannerErrorDomain code:-14 userInfo:theUserInfo]; - } - return(NO); - } -} - -#if TREAT_COMMENTS_AS_WHITESPACE -- (void)skipWhitespace -{ -[super skipWhitespace]; -[self scanCStyleComment:NULL]; -[self scanCPlusPlusStyleComment:NULL]; -[super skipWhitespace]; -} -#endif // TREAT_COMMENTS_AS_WHITESPACE - -#pragma mark - - -- (BOOL)scanNotQuoteCharactersIntoString:(NSString **)outValue -{ -u_int8_t *P; -for (P = current; P < end && *P != '\"' && *P != '\\'; ++P) - ; - -if (P == current) - { - return(NO); - } - -if (outValue) - { - *outValue = [[[NSString alloc] initWithBytes:current length:P - current encoding:NSUTF8StringEncoding] autorelease]; - } - -current = P; - -return(YES); -} - -@end diff --git a/Examples/AMFClient/Libraries/JSON/JSON/CJSONSerializer.h b/Examples/AMFClient/Libraries/JSON/JSON/CJSONSerializer.h deleted file mode 100644 index 2c22450..0000000 --- a/Examples/AMFClient/Libraries/JSON/JSON/CJSONSerializer.h +++ /dev/null @@ -1,26 +0,0 @@ -// -// CJSONSerializer.h -// TouchJSON -// -// Created by Jonathan Wight on 12/07/2005. -// Copyright 2005 Toxic Software. All rights reserved. -// - -#import -#import "ASObject.h" -#import "FlexDataTypes.h" - -@interface CJSONSerializer : NSObject { -} - -+ (id)serializer; - -- (NSString *)serializeObject:(id)inObject; - -- (NSString *)serializeNull:(NSNull *)inNull; -- (NSString *)serializeNumber:(NSNumber *)inNumber; -- (NSString *)serializeString:(NSString *)inString; -- (NSString *)serializeArray:(NSArray *)inArray; -- (NSString *)serializeDictionary:(NSDictionary *)inDictionary; - -@end diff --git a/Examples/AMFClient/Libraries/JSON/JSON/CJSONSerializer.m b/Examples/AMFClient/Libraries/JSON/JSON/CJSONSerializer.m deleted file mode 100644 index fa0b301..0000000 --- a/Examples/AMFClient/Libraries/JSON/JSON/CJSONSerializer.m +++ /dev/null @@ -1,171 +0,0 @@ -// -// CJSONSerializer.m -// TouchJSON -// -// Created by Jonathan Wight on 12/07/2005. -// Copyright 2005 Toxic Software. All rights reserved. -// - -#import "CJSONSerializer.h" - -@implementation CJSONSerializer - -+ (id)serializer -{ -return([[[self alloc] init] autorelease]); -} - -- (NSString *)serializeObject:(id)inObject; -{ -NSString *theResult = @""; - -if ([inObject isKindOfClass:[NSNull class]]) - { - theResult = [self serializeNull:inObject]; - } -else if ([inObject isKindOfClass:[NSNumber class]]) - { - theResult = [self serializeNumber:inObject]; - } -else if ([inObject isKindOfClass:[NSString class]]) - { - theResult = [self serializeString:inObject]; - } -else if ([inObject isKindOfClass:[NSArray class]]) - { - theResult = [self serializeArray:inObject]; - } -else if ([inObject isKindOfClass:[NSDictionary class]]) - { - theResult = [self serializeDictionary:inObject]; - } -else if ([inObject isKindOfClass:[NSData class]]) - { - NSString *theString = [[[NSString alloc] initWithData:inObject encoding:NSUTF8StringEncoding] autorelease]; - theResult = [self serializeString:theString]; - } -else if ([inObject isKindOfClass:[ASObject class]]) - { - theResult = [self serializeDictionary:[(ASObject *)inObject properties]]; - } -else if ([inObject isKindOfClass:[FlexArrayCollection class]]) - { - theResult = [self serializeArray:[(FlexArrayCollection *)inObject source]]; - } -else - { - [NSException raise:NSGenericException format:@"Cannot serialize data of type '%@'", NSStringFromClass([inObject class])]; - } -if (theResult == NULL) - [NSException raise:NSGenericException format:@"Could not serialize object '%@'", inObject]; -return(theResult); -} - -- (NSString *)serializeNull:(NSNull *)inNull -{ -#pragma unused (inNull) -return(@"null"); -} - -- (NSString *)serializeNumber:(NSNumber *)inNumber -{ -NSString *theResult = NULL; -switch (CFNumberGetType((CFNumberRef)inNumber)) - { - case kCFNumberCharType: - { - int theValue = [inNumber intValue]; - if (theValue == 0) - theResult = @"false"; - else if (theValue == 1) - theResult = @"true"; - else - theResult = [inNumber stringValue]; - } - break; - case kCFNumberSInt8Type: - case kCFNumberSInt16Type: - case kCFNumberSInt32Type: - case kCFNumberSInt64Type: - case kCFNumberFloat32Type: - case kCFNumberFloat64Type: - case kCFNumberShortType: - case kCFNumberIntType: - case kCFNumberLongType: - case kCFNumberLongLongType: - case kCFNumberFloatType: - case kCFNumberDoubleType: - case kCFNumberCFIndexType: - default: - theResult = [inNumber stringValue]; - break; - } -return(theResult); -} - -- (NSString *)serializeString:(NSString *)inString -{ -NSMutableString *theMutableCopy = [[inString mutableCopy] autorelease]; -[theMutableCopy replaceOccurrencesOfString:@"\\" withString:@"\\\\" options:0 range:NSMakeRange(0, [theMutableCopy length])]; -[theMutableCopy replaceOccurrencesOfString:@"\"" withString:@"\\\"" options:0 range:NSMakeRange(0, [theMutableCopy length])]; -[theMutableCopy replaceOccurrencesOfString:@"/" withString:@"\\/" options:0 range:NSMakeRange(0, [theMutableCopy length])]; -[theMutableCopy replaceOccurrencesOfString:@"\b" withString:@"\\b" options:0 range:NSMakeRange(0, [theMutableCopy length])]; -[theMutableCopy replaceOccurrencesOfString:@"\f" withString:@"\\f" options:0 range:NSMakeRange(0, [theMutableCopy length])]; -[theMutableCopy replaceOccurrencesOfString:@"\n" withString:@"\\n" options:0 range:NSMakeRange(0, [theMutableCopy length])]; -[theMutableCopy replaceOccurrencesOfString:@"\n" withString:@"\\n" options:0 range:NSMakeRange(0, [theMutableCopy length])]; -[theMutableCopy replaceOccurrencesOfString:@"\t" withString:@"\\t" options:0 range:NSMakeRange(0, [theMutableCopy length])]; -/* - case 'u': - { - theCharacter = 0; - - int theShift; - for (theShift = 12; theShift >= 0; theShift -= 4) - { - int theDigit = HexToInt([self scanCharacter]); - if (theDigit == -1) - { - [self setScanLocation:theScanLocation]; - return(NO); - } - theCharacter |= (theDigit << theShift); - } - } -*/ -return([NSString stringWithFormat:@"\"%@\"", theMutableCopy]); -} - -- (NSString *)serializeArray:(NSArray *)inArray -{ -NSMutableString *theString = [NSMutableString string]; - -NSEnumerator *theEnumerator = [inArray objectEnumerator]; -id theValue = NULL; -while ((theValue = [theEnumerator nextObject]) != NULL) - { - [theString appendString:[self serializeObject:theValue]]; - if (theValue != [inArray lastObject]) - [theString appendString:@","]; - } -return([NSString stringWithFormat:@"[%@]", theString]); -} - -- (NSString *)serializeDictionary:(NSDictionary *)inDictionary -{ -NSMutableString *theString = [NSMutableString string]; - -NSArray *theKeys = [inDictionary allKeys]; -NSEnumerator *theEnumerator = [theKeys objectEnumerator]; -NSString *theKey = NULL; -while ((theKey = [theEnumerator nextObject]) != NULL) - { - id theValue = [inDictionary objectForKey:theKey]; - - [theString appendFormat:@"%@:%@", [self serializeString:theKey], [self serializeObject:theValue]]; - if (theKey != [theKeys lastObject]) - [theString appendString:@","]; - } -return([NSString stringWithFormat:@"{%@}", theString]); -} - -@end diff --git a/Examples/AMFClient/MainMenu.xib b/Examples/AMFClient/MainMenu.xib deleted file mode 100644 index 9a61295..0000000 --- a/Examples/AMFClient/MainMenu.xib +++ /dev/null @@ -1,6484 +0,0 @@ - - - - 1050 - 10B504 - 732 - 1038.2 - 437.00 - - com.apple.InterfaceBuilder.CocoaPlugin - 732 - - - YES - - - - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - - - YES - - YES - - - YES - - - - YES - - NSApplication - - - FirstResponder - - - NSApplication - - - NSFontManager - - - AMainMenu - - YES - - - NewApplication - - 2147483647 - - NSImage - NSMenuCheckmark - - - NSImage - NSMenuMixedState - - submenuAction: - - NewApplication - - YES - - - About NewApplication - - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Preferences… - , - 1048576 - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Services - - 2147483647 - - - submenuAction: - - Services - - YES - - _NSServicesMenu - - - - - YES - YES - - - 2147483647 - - - - - - Hide NewApplication - h - 1048576 - 2147483647 - - - - - - Hide Others - h - 1572864 - 2147483647 - - - - - - Show All - - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Quit NewApplication - q - 1048576 - 2147483647 - - - - - _NSAppleMenu - - - - - File - - 2147483647 - - - submenuAction: - - File - - YES - - - New - n - 1048576 - 2147483647 - - - - - - Open… - o - 1048576 - 2147483647 - - - - - - Open Recent - - 2147483647 - - - submenuAction: - - Open Recent - - YES - - - Clear Menu - - 2147483647 - - - - - _NSRecentDocumentsMenu - - - - - YES - YES - - - 2147483647 - - - - - - Enter gateway - l - 1048576 - 2147483647 - - - - - - Enter webservice - k - 1048576 - 2147483647 - - - - - - Enter data - d - 1048576 - 2147483647 - - - - - - Close - w - 1048576 - 2147483647 - - - - - - Save - s - 1048576 - 2147483647 - - - - - - Save As… - S - 1179648 - 2147483647 - - - - - - Revert to Saved - - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Page Setup... - P - 1179648 - 2147483647 - - - - - - - Print… - p - 1048576 - 2147483647 - - - - - - - - - Edit - - 2147483647 - - - submenuAction: - - Edit - - YES - - - Undo - z - 1048576 - 2147483647 - - - - - - Redo - Z - 1179648 - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Cut - x - 1048576 - 2147483647 - - - - - - Copy - c - 1048576 - 2147483647 - - - - - - Copy data as URL - C - 1048576 - 2147483647 - - - - - - Paste - v - 1048576 - 2147483647 - - - - - - Delete - - 2147483647 - - - - - - Select All - a - 1048576 - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Find - - 2147483647 - - - submenuAction: - - Find - - YES - - - Find… - f - 1048576 - 2147483647 - - - 1 - - - - Find Next - g - 1048576 - 2147483647 - - - 2 - - - - Find Previous - G - 1179648 - 2147483647 - - - 3 - - - - Use Selection for Find - e - 1048576 - 2147483647 - - - 7 - - - - Jump to Selection - j - 1048576 - 2147483647 - - - - - - - - - Spelling and Grammar - - 2147483647 - - - submenuAction: - - Spelling and Grammar - - YES - - - Show Spelling… - : - 1048576 - 2147483647 - - - - - - Check Spelling - ; - 1048576 - 2147483647 - - - - - - Check Spelling While Typing - - 2147483647 - - - - - - Check Grammar With Spelling - - 2147483647 - - - - - - - - - Substitutions - - 2147483647 - - - submenuAction: - - Substitutions - - YES - - - Smart Copy/Paste - f - 1048576 - 2147483647 - - - 1 - - - - Smart Quotes - g - 1048576 - 2147483647 - - - 2 - - - - Smart Links - G - 1179648 - 2147483647 - - - 3 - - - - - - - Speech - - 2147483647 - - - submenuAction: - - Speech - - YES - - - Start Speaking - - 2147483647 - - - - - - Stop Speaking - - 2147483647 - - - - - - - - - - - - Format - - 2147483647 - - - submenuAction: - - Format - - YES - - - Font - - 2147483647 - - - submenuAction: - - Font - - YES - - - Show Fonts - t - 1048576 - 2147483647 - - - - - - Bold - b - 1048576 - 2147483647 - - - 2 - - - - Italic - i - 1048576 - 2147483647 - - - 1 - - - - Underline - u - 1048576 - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Bigger - + - 1048576 - 2147483647 - - - 3 - - - - Smaller - - - 1048576 - 2147483647 - - - 4 - - - - YES - YES - - - 2147483647 - - - - - - Kern - - 2147483647 - - - submenuAction: - - Kern - - YES - - - Use Default - - 2147483647 - - - - - - Use None - - 2147483647 - - - - - - Tighten - - 2147483647 - - - - - - Loosen - - 2147483647 - - - - - - - - - Ligature - - 2147483647 - - - submenuAction: - - Ligature - - YES - - - Use Default - - 2147483647 - - - - - - Use None - - 2147483647 - - - - - - Use All - - 2147483647 - - - - - - - - - Baseline - - 2147483647 - - - submenuAction: - - Baseline - - YES - - - Use Default - - 2147483647 - - - - - - Superscript - - 2147483647 - - - - - - Subscript - - 2147483647 - - - - - - Raise - - 2147483647 - - - - - - Lower - - 2147483647 - - - - - - - - - YES - YES - - - 2147483647 - - - - - - Show Colors - C - 1048576 - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Copy Style - c - 1572864 - 2147483647 - - - - - - Paste Style - v - 1572864 - 2147483647 - - - - - _NSFontMenu - - - - - Text - - 2147483647 - - - submenuAction: - - Text - - YES - - - Align Left - { - 1048576 - 2147483647 - - - - - - Center - | - 1048576 - 2147483647 - - - - - - Justify - - 2147483647 - - - - - - Align Right - } - 1048576 - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Show Ruler - - 2147483647 - - - - - - Copy Ruler - c - 1310720 - 2147483647 - - - - - - Paste Ruler - v - 1310720 - 2147483647 - - - - - - - - - - - - View - - 2147483647 - - - submenuAction: - - View - - YES - - - Show Toolbar - t - 1572864 - 2147483647 - - - - - - Customize Toolbar… - - 2147483647 - - - - - - - - - Window - - 2147483647 - - - submenuAction: - - Window - - YES - - - Minimize - m - 1048576 - 2147483647 - - - - - - Zoom - - 2147483647 - - - - - - Select next tab - - 1572864 - 2147483647 - - - - - - Select previous tab - - 1572864 - 2147483647 - - - - - - YES - YES - - - 2147483647 - - - - - - Bring All to Front - - 2147483647 - - - - - _NSWindowsMenu - - - - - Help - - 2147483647 - - - submenuAction: - - Help - - YES - - - NewApplication Help - ? - 1048576 - 2147483647 - - - - - - - - _NSMainMenu - - - 15 - 2 - {{343, 141}, {752, 631}} - 603979776 - AMFTester - NSWindow - - {3.40282e+38, 3.40282e+38} - {514, 496} - - - 256 - - YES - - - 289 - {{635, 16}, {102, 28}} - - YES - - -2080244224 - 134348800 - Execute - - LucidaGrande - 11 - 3100 - - - -2038284033 - 268435585 - - - r - 200 - 25 - - - - - 266 - {{90, 592}, {649, 19}} - - YES - - -1804468671 - 268567552 - http://www.nivea.com/weborb - - - YES - - 6 - System - textBackgroundColor - - 3 - MQA - - - - 6 - System - textColor - - 3 - MAA - - - - - - - 268 - {{17, 597}, {61, 14}} - - YES - - 68288064 - 272761856 - Gateway: - - - - 6 - System - controlColor - - 3 - MC42NjY2NjY2ODY1AA - - - - 6 - System - controlTextColor - - - - - - - 268 - {{17, 567}, {61, 14}} - - YES - - 68288064 - 272761856 - Service: - - - - - - - - - 266 - {{90, 562}, {649, 19}} - - YES - - -1804468671 - 268567552 - GenericPageService.getGenericPageWithFontPrefix - - - YES - - - - - - - 292 - {{17, 19}, {100, 22}} - - YES - - -2076049856 - 133120 - - - 109199615 - 129 - - - 400 - 75 - - - AMF 3 - - 1048576 - 2147483647 - 1 - - - _popUpItemAction: - 3 - - - YES - - OtherViews - - YES - - - AMF 0 - - 1048576 - 2147483647 - - - _popUpItemAction: - - - - - - 1 - 1 - YES - YES - 2 - - - - - 292 - {{138, 22}, {63, 18}} - - YES - - -2080244224 - 131072 - gzip - - - 1211912703 - 130 - - NSImage - NSSwitch - - - NSSwitch - - - - 200 - 25 - - - - - 274 - - YES - - - 274 - - YES - - - 266 - - YES - - - 2304 - - YES - - - 2322 - - YES - - YES - Apple HTML pasteboard type - Apple PDF pasteboard type - Apple PICT pasteboard type - Apple PNG pasteboard type - Apple URL pasteboard type - CorePasteboardFlavorType 0x6D6F6F76 - CorePasteboardFlavorType 0x75726C20 - NSColor pasteboard type - NSFilenamesPboardType - NSStringPboardType - NeXT Encapsulated PostScript v1.2 pasteboard type - NeXT RTFD pasteboard type - NeXT Rich Text Format v1.0 pasteboard type - NeXT TIFF v4.0 pasteboard type - NeXT font pasteboard type - NeXT ruler pasteboard type - WebURLsWithTitlesPboardType - public.url - - - {707, 14} - - - - - - WyJuZXdzbGV0dGVyX3N1YnNjcmlwdGlvbiIsICJkZV9ERSIsICIiLCBmYWxzZSwge31dA - - - YES - - YES - NSFont - NSParagraphStyle - - - YES - - Monaco - 10 - 16 - - - 3 - - YES - - 0.0 - - - 56 - - - 112 - - - 168 - - - 224 - - - 280 - - - 336 - - - 392 - - - 448 - - - 504 - - - 560 - - - 616 - - - 672 - - - 728 - - - 784 - - - 840 - - - 896 - - - 952 - - - 1008 - - - 1064 - - - 1120 - - - 1176 - - - 1232 - - - 1288 - - - 1344 - - - 1400 - - - 1456 - - - 1512 - - - 1568 - - - 1624 - - - 1680 - - - 1736 - - - - - - - - - YES - - - 6 - - - - 707 - 1 - - - 273667 - 0 - - - - YES - - YES - NSBackgroundColor - NSColor - - - YES - - 6 - System - selectedTextBackgroundColor - - - - 6 - System - selectedTextColor - - - - - - - YES - - YES - NSColor - NSUnderline - - - YES - - 1 - MCAwIDEAA - - - - - - - 6 - {1721, 1e+07} - {223, 0} - - - - {{1, 1}, {709, 69}} - - - - - - {4, -5} - 1 - - 4 - - - - 256 - {{710, 1}, {15, 69}} - - - _doScroller: - 0.99315071105957031 - - - - -2147483392 - {{-100, -100}, {87, 18}} - - 1 - - _doScroller: - 1 - 0.94565218687057495 - - - {726, 71} - - - 18 - - - - - - - 268 - - YES - - - 18 - {{-13, 3}, {753, 418}} - - - YES - - 1 - - - 274 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 2322 - {707, 14} - - - - - - - - - - - YES - - - 6 - - - - 707 - 1 - - - 272643 - 0 - - - - YES - - YES - NSBackgroundColor - NSColor - - - YES - - - - - - - YES - - YES - NSColor - NSUnderline - - - YES - - - - - - - 6 - {1693, 1e+07} - {223, 0} - - - - {{1, 1}, {709, 379}} - - - - - - 4 - - - - 256 - {{710, 1}, {15, 379}} - - - _doScroller: - 0.99315071105957031 - - - - -2147483392 - {{-100, -100}, {87, 18}} - - 1 - - _doScroller: - 1 - 0.94565218687057495 - - - {{3, 3}, {726, 381}} - - - 18 - - - - - - {{10, 7}, {733, 386}} - - Plain Text - - - - - 2 - - - 256 - - YES - - - 4370 - - YES - - - 2304 - - YES - - - 4370 - {724, 363} - - YES - - - 256 - {724, 17} - - - - - - -2147483392 - {{-26, 0}, {16, 17}} - - - - YES - - name - 140 - 16 - 1000 - - 75628096 - 2048 - Name - - - 3 - MC4zMzMzMzI5ODU2AA - - - 6 - System - headerTextColor - - - - - 337772096 - 133120 - Text Cell - - LucidaGrande - 11 - 16 - - - - 6 - System - controlBackgroundColor - - - - - 3 - YES - - - - type - 100 - 40 - 1000 - - 75628096 - 2048 - Type - - - - - - 337772096 - 133120 - Text Cell - - - - - - 3 - YES - - - - value - 475 - 10 - 3.4028230607370965e+38 - - 75628096 - 2048 - Value - - - 6 - System - headerColor - - - - - - 337772096 - 133120 - Text Cell - - - - - - 3 - YES - - - - 3 - 2 - - - 6 - System - gridColor - - 3 - MC41AA - - - 16 - 1388314624 - - - 1 - 4 - 15 - 0 - YES - 0 - - - {{1, 17}, {724, 363}} - - - - - 4 - - - - -2147483392 - {{839, 17}, {15, 233}} - - - _doScroller: - 0.99570822715759277 - - - - -2147483392 - {{1, 250}, {838, 15}} - - 1 - - _doScroller: - 0.98841249942779541 - - - - 2304 - - YES - - - {{1, 0}, {724, 17}} - - - - - 4 - - - - {{3, 3}, {726, 381}} - - - 562 - - - - - - QSAAAEEgAABBkAAAQZAAAA - - - {{10, 7}, {733, 386}} - - - Outline - - - - - Item 2 - - - 256 - - YES - - - 274 - - YES - - - 4374 - - YES - - - 2304 - - YES - - - 4352 - {367, 363} - - YES - - - 256 - {367, 17} - - - - - - -2147483392 - {{-26, 0}, {16, 17}} - - - - YES - - 134 - 40 - 1000 - - 75628096 - 2048 - Name - - - 3 - MC4zMzMzMzI5ODU2AA - - - - - 337772096 - 2048 - Text Cell - - - - - - 3 - YES - - - - 227 - 40 - 1000 - - 75628096 - 2048 - Value - - - - - - 337772096 - 2048 - Text Cell - - - - - - 3 - YES - - - - 3 - 2 - - - 16 - 1388314624 - - - 4 - 15 - 0 - YES - 0 - - - {{1, 17}, {367, 363}} - - - - - 4 - - - - -2147483392 - {{393, 17}, {15, 197}} - - - _doScroller: - 37 - 0.1947367936372757 - - - - -2147483392 - {{1, 214}, {392, 15}} - - 1 - - _doScroller: - 0.92235302925109863 - - - - 2304 - - YES - - - {{1, 0}, {367, 17}} - - - - - 4 - - - - {369, 381} - - - 562 - - - - - - QSAAAEEgAABBkAAAQZAAAA - - - - 4371 - - YES - - - 2304 - - YES - - - 4352 - {346, 363} - - YES - - - 256 - {346, 17} - - - - - - -2147483392 - {{-26, 0}, {16, 17}} - - - - YES - - 134 - 40 - 1000 - - 75628096 - 2048 - Name - - - 3 - MC4zMzMzMzI5ODU2AA - - - - - 337772096 - 2048 - Text Cell - - - - - - 3 - YES - - - - 206 - 40 - 1000 - - 75628096 - 2048 - Value - - - - - - 337772096 - 2048 - Text Cell - - - - - - 3 - YES - - - - 3 - 2 - - - 16 - 1388314624 - - - 4 - 15 - 0 - YES - 0 - - - {{1, 17}, {346, 363}} - - - - - 4 - - - - -2147483392 - {{393, 17}, {15, 197}} - - - _doScroller: - 37 - 0.1947367936372757 - - - - -2147483392 - {{1, 214}, {392, 15}} - - 1 - - _doScroller: - 0.99745547771453857 - - - - 2304 - - YES - - - {{1, 0}, {346, 17}} - - - - - 4 - - - - {{378, 0}, {348, 381}} - - - 562 - - - - - - QSAAAEEgAABBkAAAQZAAAA - - - {{3, 3}, {726, 381}} - - YES - HeadersDivider - - - {{10, 7}, {733, 386}} - - Headers - - - - - - - 134217730 - YES - - YES - - - - - {{0, 80}, {726, 412}} - - NSView - - - {726, 492} - - Divider - - - {{13, 46}, {726, 492}} - - - - - 1313 - - {{616, 22}, {16, 16}} - - 28938 - 16 - 100 - - - {752, 631} - - - {{0, 0}, {1440, 878}} - {514, 518} - {3.40282e+38, 3.40282e+38} - MainWindow - - - Controller - - - 31 - 2 - {{196, 214}, {505, 296}} - 1677721600 - Details - NSPanel - - {3.40282e+38, 3.40282e+38} - - - 256 - - YES - - - 274 - - YES - - - 2304 - - YES - - - 2322 - {486, 14} - - - - - - - - - - - YES - - - 134 - - - - 486 - 1 - - - 10241 - 0 - - - - YES - - YES - NSBackgroundColor - NSColor - - - YES - - - - - - - YES - - YES - NSColor - NSCursor - NSUnderline - - - YES - - - {8, -8} - 13 - - - - - - - 6 - {997, 1e+07} - {223, 0} - - - - {486, 277} - - - - - - 2 - - - - -2147483392 - {{491, 1}, {15, 281}} - - - _doScroller: - 1 - 0.85256409645080566 - - - - -2147483392 - {{-100, -100}, {87, 18}} - - 1 - - _doScroller: - 1 - 0.94565218687057495 - - - {{10, 10}, {486, 277}} - - - 528 - - - - - - {505, 296} - - - {{0, 0}, {1440, 878}} - {3.40282e+38, 3.40282e+38} - DetailWindow - - - - YES - value - name - - YES - - YES - YES - YES - YES - YES - - - - YES - name - value - - YES - - YES - YES - YES - YES - YES - - - YES - - - YES - - - - - YES - - - performMiniaturize: - - - - 37 - - - - arrangeInFront: - - - - 39 - - - - print: - - - - 86 - - - - runPageLayout: - - - - 87 - - - - clearRecentDocuments: - - - - 127 - - - - orderFrontStandardAboutPanel: - - - - 142 - - - - performClose: - - - - 193 - - - - toggleContinuousSpellChecking: - - - - 222 - - - - undo: - - - - 223 - - - - copy: - - - - 224 - - - - checkSpelling: - - - - 225 - - - - paste: - - - - 226 - - - - stopSpeaking: - - - - 227 - - - - cut: - - - - 228 - - - - showGuessPanel: - - - - 230 - - - - redo: - - - - 231 - - - - selectAll: - - - - 232 - - - - startSpeaking: - - - - 233 - - - - delete: - - - - 235 - - - - performZoom: - - - - 240 - - - - performFindPanelAction: - - - - 241 - - - - centerSelectionInVisibleArea: - - - - 245 - - - - toggleGrammarChecking: - - - - 347 - - - - toggleSmartInsertDelete: - - - - 355 - - - - toggleAutomaticQuoteSubstitution: - - - - 356 - - - - toggleAutomaticLinkDetection: - - - - 357 - - - - showHelp: - - - - 360 - - - - saveDocument: - - - - 362 - - - - saveDocumentAs: - - - - 363 - - - - revertDocumentToSaved: - - - - 364 - - - - runToolbarCustomizationPalette: - - - - 365 - - - - toggleToolbarShown: - - - - 366 - - - - hide: - - - - 367 - - - - hideOtherApplications: - - - - 368 - - - - terminate: - - - - 369 - - - - unhideAllApplications: - - - - 370 - - - - addFontTrait: - - - - 418 - - - - addFontTrait: - - - - 419 - - - - modifyFont: - - - - 420 - - - - orderFrontFontPanel: - - - - 421 - - - - modifyFont: - - - - 422 - - - - raiseBaseline: - - - - 423 - - - - lowerBaseline: - - - - 424 - - - - copyFont: - - - - 425 - - - - subscript: - - - - 426 - - - - superscript: - - - - 427 - - - - tightenKerning: - - - - 428 - - - - underline: - - - - 429 - - - - orderFrontColorPanel: - - - - 430 - - - - useAllLigatures: - - - - 431 - - - - loosenKerning: - - - - 432 - - - - pasteFont: - - - - 433 - - - - unscript: - - - - 434 - - - - useStandardKerning: - - - - 435 - - - - useStandardLigatures: - - - - 436 - - - - turnOffLigatures: - - - - 437 - - - - turnOffKerning: - - - - 438 - - - - alignLeft: - - - - 439 - - - - alignJustified: - - - - 440 - - - - copyRuler: - - - - 441 - - - - alignCenter: - - - - 442 - - - - toggleRuler: - - - - 443 - - - - alignRight: - - - - 444 - - - - pasteRuler: - - - - 445 - - - - m_gatewayTextField - - - - 463 - - - - m_serviceTextField - - - - 464 - - - - m_dataTextView - - - - 465 - - - - query: - - - - 466 - - - - m_amfTypePopUpButton - - - - 473 - - - - m_gzipCheckbox - - - - 482 - - - - nextKeyView - - - - 507 - - - - m_detailViewHUDPanel - - - - 517 - - - - query: - - - - 522 - - - - query: - - - - 523 - - - - m_receivedHeadersArrayController - - - - 559 - - - - m_sentHeadersArrayController - - - - 560 - - - - delegate - - - - 602 - - - - delegate - - - - 605 - - - - m_objectOutlineView - - - - 743 - - - - m_resultTextView - - - - 744 - - - - delegate - - - - 745 - - - - focusGatewayTextField: - - - - 748 - - - - focusServiceTextField: - - - - 749 - - - - selectNextTab: - - - - 752 - - - - selectPreviousTab: - - - - 753 - - - - m_tabView - - - - 754 - - - - focusDataTextView: - - - - 756 - - - - content: arrangedObjects - - - - - - content: arrangedObjects - content - arrangedObjects - 2 - - - 758 - - - - value: arrangedObjects.name - - - - - - value: arrangedObjects.name - value - arrangedObjects.name - - NSConditionallySetsEditable - - - 2 - - - 760 - - - - value: arrangedObjects.value - - - - - - value: arrangedObjects.value - value - arrangedObjects.value - - NSConditionallySetsEditable - - - 2 - - - 762 - - - - content: arrangedObjects - - - - - - content: arrangedObjects - content - arrangedObjects - 2 - - - 763 - - - - value: arrangedObjects.name - - - - - - value: arrangedObjects.name - value - arrangedObjects.name - - NSConditionallySetsEditable - - - 2 - - - 765 - - - - value: arrangedObjects.value - - - - - - value: arrangedObjects.value - value - arrangedObjects.value - - NSConditionallySetsEditable - - - 2 - - - 766 - - - - copyURL: - - - - 768 - - - - performFindPanelAction: - - - - 769 - - - - performFindPanelAction: - - - - 770 - - - - m_progressIndicator - - - - 776 - - - - m_executeButton - - - - 777 - - - - value: values.LastGateway - - - - - - value: values.LastGateway - value - values.LastGateway - 2 - - - 785 - - - - value: values.LastService - - - - - - value: values.LastService - value - values.LastService - 2 - - - 787 - - - - value: values.LastParams - - - - - - value: values.LastParams - value - values.LastParams - 2 - - - 791 - - - - m_detailTextView - - - - 796 - - - - - YES - - 0 - - - - - - -2 - - - File's Owner - - - -1 - - - First Responder - - - -3 - - - Application - - - 29 - - - YES - - - - - - - - - - MainMenu - - - 19 - - - YES - - - - - - 56 - - - YES - - - - - - 103 - - - YES - - - - 1 - - - 217 - - - YES - - - - - - 83 - - - YES - - - - - - 81 - - - YES - - - - - - - - - - - - - - - - - - - 75 - - - 3 - - - 80 - - - 8 - - - 78 - - - 6 - - - 72 - - - - - 82 - - - 9 - - - 124 - - - YES - - - - - - 77 - - - 5 - - - 73 - - - 1 - - - 79 - - - 7 - - - 112 - - - 10 - - - 74 - - - 2 - - - 125 - - - YES - - - - - - 126 - - - - - 205 - - - YES - - - - - - - - - - - - - - - - - - - 202 - - - - - 198 - - - - - 207 - - - - - 214 - - - - - 199 - - - - - 203 - - - - - 197 - - - - - 206 - - - - - 215 - - - - - 218 - - - YES - - - - - - 216 - - - YES - - - - - - 200 - - - YES - - - - - - - - - 219 - - - - - 201 - - - - - 204 - - - - - 220 - - - YES - - - - - - - - - - 213 - - - - - 210 - - - - - 221 - - - - - 208 - - - - - 209 - - - - - 106 - - - YES - - - - 2 - - - 111 - - - - - 57 - - - YES - - - - - - - - - - - - - - - - 58 - - - - - 134 - - - - - 150 - - - - - 136 - - - 1111 - - - 144 - - - - - 129 - - - 121 - - - 143 - - - - - 236 - - - - - 131 - - - YES - - - - - - 149 - - - - - 145 - - - - - 130 - - - - - 24 - - - YES - - - - - - - - - - - 92 - - - - - 5 - - - - - 239 - - - - - 23 - - - - - 295 - - - YES - - - - - - 296 - - - YES - - - - - - - 297 - - - - - 298 - - - - - 211 - - - YES - - - - - - 212 - - - YES - - - - - - - 195 - - - - - 196 - - - - - 346 - - - - - 348 - - - YES - - - - - - 349 - - - YES - - - - - - - - 350 - - - - - 351 - - - - - 354 - - - - - 371 - - - - - 373 - - - YES - - - - - - 374 - - - YES - - - - - - - 375 - - - YES - - - - - - 376 - - - YES - - - - - - 377 - - - YES - - - - - - - - - - - - - 378 - - - - - 379 - - - - - 380 - - - - - 381 - - - - - 382 - - - - - 383 - - - - - 384 - - - - - 385 - - - - - 386 - - - YES - - - - - - - - - - - - - - - - - - - - - 387 - - - - - 388 - - - - - 389 - - - - - 390 - - - - - 391 - - - - - 392 - - - - - 393 - - - - - 394 - - - - - 395 - - - YES - - - - - - 396 - - - YES - - - - - - 397 - - - YES - - - - - - 398 - - - - - 399 - - - - - 400 - - - - - 401 - - - - - 402 - - - - - 403 - - - YES - - - - - - - - - - 404 - - - - - 405 - - - - - 406 - - - - - 407 - - - - - 408 - - - - - 409 - - - YES - - - - - - - - 410 - - - - - 411 - - - - - 412 - - - - - 413 - - - YES - - - - - - - - - 414 - - - - - 415 - - - - - 416 - - - - - 417 - - - - - 446 - - - YES - - - - - - 447 - - - YES - - - - - - - - - - - - - - 452 - - - YES - - - - - - 453 - - - - - 454 - - - YES - - - - - - 455 - - - - - 456 - - - YES - - - - - - 457 - - - - - 458 - - - YES - - - - - - 459 - - - - - 460 - - - YES - - - - - - 461 - - - - - 462 - - - - - 467 - - - YES - - - - - - 468 - - - YES - - - - - - 469 - - - YES - - - - - - - 470 - - - - - 471 - - - - - 492 - - - YES - - - - - - 479 - - - YES - - - - - - - 480 - - - YES - - - - - - 481 - - - - - 509 - - - YES - - - - - - 510 - - - YES - - - - - - 557 - - - ReceivedHeadersArrayController - - - 558 - - - SentHeadersArrayController - - - 448 - - - YES - - - - - - - - 451 - - - - - 450 - - - - - 449 - - - - - 654 - - - YES - - - - - - 699 - - - YES - - - - - - - - 700 - - - YES - - - - - - 701 - - - YES - - - - - - 702 - - - YES - - - - - - 703 - - - YES - - - - - - 726 - - - YES - - - - - - 727 - - - YES - - - - - - - - - 728 - - - - - 729 - - - YES - - - - - - - - 730 - - - - - 731 - - - - - 732 - - - YES - - - - - - 733 - - - YES - - - - - - 734 - - - YES - - - - - - 735 - - - - - 736 - - - - - 737 - - - - - 738 - - - YES - - - - - - 739 - - - YES - - - - - - - - 740 - - - - - 741 - - - - - 742 - - - - - 746 - - - - - 747 - - - - - 750 - - - - - 751 - - - - - 755 - - - - - 757 - - - YES - - - - - - - 704 - - - YES - - - - - - - - - 721 - - - - - 720 - - - YES - - - - - - - 719 - - - - - 718 - - - - - 723 - - - YES - - - - - - 722 - - - YES - - - - - - 725 - - - - - 724 - - - - - 706 - - - YES - - - - - - - - - 712 - - - - - 711 - - - - - 710 - - - YES - - - - - - - 709 - - - - - 714 - - - YES - - - - - - 713 - - - YES - - - - - - 716 - - - - - 715 - - - - - 767 - - - - - 775 - - - - - 782 - - - - - 783 - - - - - 792 - - - YES - - - - - - - - 793 - - - - - 794 - - - - - 795 - - - - - - - YES - - YES - -3.IBPluginDependency - 103.IBPluginDependency - 103.ImportedFromIB2 - 106.IBEditorWindowLastContentRect - 106.IBPluginDependency - 106.ImportedFromIB2 - 106.editorWindowContentRectSynchronizationRect - 111.IBPluginDependency - 111.ImportedFromIB2 - 112.IBPluginDependency - 112.ImportedFromIB2 - 124.IBPluginDependency - 124.ImportedFromIB2 - 125.IBEditorWindowLastContentRect - 125.IBPluginDependency - 125.ImportedFromIB2 - 125.editorWindowContentRectSynchronizationRect - 126.IBPluginDependency - 126.ImportedFromIB2 - 129.IBPluginDependency - 129.ImportedFromIB2 - 130.IBPluginDependency - 130.ImportedFromIB2 - 130.editorWindowContentRectSynchronizationRect - 131.IBPluginDependency - 131.ImportedFromIB2 - 134.IBPluginDependency - 134.ImportedFromIB2 - 136.IBPluginDependency - 136.ImportedFromIB2 - 143.IBPluginDependency - 143.ImportedFromIB2 - 144.IBPluginDependency - 144.ImportedFromIB2 - 145.IBPluginDependency - 145.ImportedFromIB2 - 149.IBPluginDependency - 149.ImportedFromIB2 - 150.IBPluginDependency - 150.ImportedFromIB2 - 19.IBPluginDependency - 19.ImportedFromIB2 - 195.IBPluginDependency - 195.ImportedFromIB2 - 196.IBPluginDependency - 196.ImportedFromIB2 - 197.IBPluginDependency - 197.ImportedFromIB2 - 198.IBPluginDependency - 198.ImportedFromIB2 - 199.IBPluginDependency - 199.ImportedFromIB2 - 200.IBEditorWindowLastContentRect - 200.IBPluginDependency - 200.ImportedFromIB2 - 200.editorWindowContentRectSynchronizationRect - 201.IBPluginDependency - 201.ImportedFromIB2 - 202.IBPluginDependency - 202.ImportedFromIB2 - 203.IBPluginDependency - 203.ImportedFromIB2 - 204.IBPluginDependency - 204.ImportedFromIB2 - 205.IBEditorWindowLastContentRect - 205.IBPluginDependency - 205.ImportedFromIB2 - 205.editorWindowContentRectSynchronizationRect - 206.IBPluginDependency - 206.ImportedFromIB2 - 207.IBPluginDependency - 207.ImportedFromIB2 - 208.IBPluginDependency - 208.ImportedFromIB2 - 209.IBPluginDependency - 209.ImportedFromIB2 - 210.IBPluginDependency - 210.ImportedFromIB2 - 211.IBPluginDependency - 211.ImportedFromIB2 - 212.IBEditorWindowLastContentRect - 212.IBPluginDependency - 212.ImportedFromIB2 - 212.editorWindowContentRectSynchronizationRect - 213.IBPluginDependency - 213.ImportedFromIB2 - 214.IBPluginDependency - 214.ImportedFromIB2 - 215.IBPluginDependency - 215.ImportedFromIB2 - 216.IBPluginDependency - 216.ImportedFromIB2 - 217.IBPluginDependency - 217.ImportedFromIB2 - 218.IBPluginDependency - 218.ImportedFromIB2 - 219.IBPluginDependency - 219.ImportedFromIB2 - 220.IBEditorWindowLastContentRect - 220.IBPluginDependency - 220.ImportedFromIB2 - 220.editorWindowContentRectSynchronizationRect - 221.IBPluginDependency - 221.ImportedFromIB2 - 23.IBPluginDependency - 23.ImportedFromIB2 - 236.IBPluginDependency - 236.ImportedFromIB2 - 239.IBPluginDependency - 239.ImportedFromIB2 - 24.IBEditorWindowLastContentRect - 24.IBPluginDependency - 24.ImportedFromIB2 - 24.editorWindowContentRectSynchronizationRect - 29.IBEditorWindowLastContentRect - 29.IBPluginDependency - 29.ImportedFromIB2 - 29.WindowOrigin - 29.editorWindowContentRectSynchronizationRect - 295.IBPluginDependency - 296.IBEditorWindowLastContentRect - 296.IBPluginDependency - 296.editorWindowContentRectSynchronizationRect - 297.IBPluginDependency - 298.IBPluginDependency - 346.IBPluginDependency - 346.ImportedFromIB2 - 348.IBPluginDependency - 348.ImportedFromIB2 - 349.IBEditorWindowLastContentRect - 349.IBPluginDependency - 349.ImportedFromIB2 - 349.editorWindowContentRectSynchronizationRect - 350.IBPluginDependency - 350.ImportedFromIB2 - 351.IBPluginDependency - 351.ImportedFromIB2 - 354.IBPluginDependency - 354.ImportedFromIB2 - 373.IBPluginDependency - 374.IBPluginDependency - 375.IBPluginDependency - 376.IBPluginDependency - 377.IBPluginDependency - 378.IBPluginDependency - 379.IBPluginDependency - 380.IBPluginDependency - 381.IBPluginDependency - 382.IBPluginDependency - 383.IBPluginDependency - 384.IBPluginDependency - 385.IBPluginDependency - 386.IBPluginDependency - 387.IBPluginDependency - 388.IBPluginDependency - 389.IBPluginDependency - 390.IBPluginDependency - 391.IBPluginDependency - 392.IBPluginDependency - 393.IBPluginDependency - 394.IBPluginDependency - 395.IBPluginDependency - 396.IBPluginDependency - 397.IBPluginDependency - 398.IBPluginDependency - 399.IBPluginDependency - 400.IBPluginDependency - 401.IBPluginDependency - 402.IBPluginDependency - 403.IBPluginDependency - 404.IBPluginDependency - 405.IBPluginDependency - 406.IBPluginDependency - 407.IBPluginDependency - 408.IBPluginDependency - 409.IBPluginDependency - 410.IBPluginDependency - 411.IBPluginDependency - 412.IBPluginDependency - 413.IBPluginDependency - 414.IBPluginDependency - 415.IBPluginDependency - 416.IBPluginDependency - 417.IBPluginDependency - 446.IBEditorWindowLastContentRect - 446.IBPluginDependency - 446.IBViewEditorWindowController.showingBoundsRectangles - 446.IBViewEditorWindowController.showingLayoutRectangles - 446.IBWindowTemplateEditedContentRect - 446.NSWindowTemplate.visibleAtLaunch - 446.windowTemplate.hasMinSize - 446.windowTemplate.minSize - 447.IBPluginDependency - 448.IBPluginDependency - 449.IBPluginDependency - 450.IBPluginDependency - 451.IBPluginDependency - 452.IBPluginDependency - 453.IBPluginDependency - 454.IBPluginDependency - 455.IBPluginDependency - 456.IBPluginDependency - 457.IBPluginDependency - 458.IBPluginDependency - 459.IBPluginDependency - 460.IBPluginDependency - 461.IBPluginDependency - 467.IBPluginDependency - 468.IBPluginDependency - 469.IBEditorWindowLastContentRect - 469.IBPluginDependency - 470.IBPluginDependency - 471.IBPluginDependency - 479.IBPluginDependency - 480.IBPluginDependency - 481.IBPluginDependency - 492.IBPluginDependency - 5.IBPluginDependency - 5.ImportedFromIB2 - 509.IBEditorWindowLastContentRect - 509.IBPluginDependency - 509.IBWindowTemplateEditedContentRect - 509.NSWindowTemplate.visibleAtLaunch - 510.IBPluginDependency - 557.IBPluginDependency - 558.IBPluginDependency - 56.IBPluginDependency - 56.ImportedFromIB2 - 57.IBEditorWindowLastContentRect - 57.IBPluginDependency - 57.ImportedFromIB2 - 57.editorWindowContentRectSynchronizationRect - 58.IBPluginDependency - 58.ImportedFromIB2 - 654.IBPluginDependency - 699.IBPluginDependency - 700.IBPluginDependency - 701.IBPluginDependency - 702.IBPluginDependency - 703.IBPluginDependency - 704.IBPluginDependency - 706.IBPluginDependency - 709.IBPluginDependency - 710.IBPluginDependency - 711.IBPluginDependency - 712.IBPluginDependency - 713.IBPluginDependency - 714.IBPluginDependency - 715.IBPluginDependency - 716.IBPluginDependency - 718.IBPluginDependency - 719.IBPluginDependency - 72.IBPluginDependency - 72.ImportedFromIB2 - 720.IBPluginDependency - 721.IBPluginDependency - 722.IBPluginDependency - 723.IBPluginDependency - 724.IBPluginDependency - 725.IBPluginDependency - 726.IBPluginDependency - 727.IBPluginDependency - 728.IBPluginDependency - 729.IBPluginDependency - 73.IBPluginDependency - 73.ImportedFromIB2 - 730.IBPluginDependency - 731.IBPluginDependency - 732.IBPluginDependency - 733.IBPluginDependency - 734.IBPluginDependency - 735.IBPluginDependency - 736.IBPluginDependency - 737.IBPluginDependency - 738.IBPluginDependency - 739.IBPluginDependency - 74.IBPluginDependency - 74.ImportedFromIB2 - 740.IBPluginDependency - 741.IBPluginDependency - 742.IBPluginDependency - 746.IBPluginDependency - 747.IBPluginDependency - 75.IBPluginDependency - 75.ImportedFromIB2 - 750.IBPluginDependency - 750.ImportedFromIB2 - 751.IBPluginDependency - 751.ImportedFromIB2 - 755.IBPluginDependency - 757.IBPluginDependency - 767.IBPluginDependency - 767.ImportedFromIB2 - 77.IBPluginDependency - 77.ImportedFromIB2 - 775.IBPluginDependency - 78.IBPluginDependency - 78.ImportedFromIB2 - 782.IBPluginDependency - 783.IBPluginDependency - 79.IBPluginDependency - 79.ImportedFromIB2 - 792.IBPluginDependency - 793.IBPluginDependency - 794.IBPluginDependency - 795.IBPluginDependency - 80.IBPluginDependency - 80.ImportedFromIB2 - 81.IBEditorWindowLastContentRect - 81.IBPluginDependency - 81.ImportedFromIB2 - 81.editorWindowContentRectSynchronizationRect - 82.IBPluginDependency - 82.ImportedFromIB2 - 83.IBPluginDependency - 83.ImportedFromIB2 - 92.IBPluginDependency - 92.ImportedFromIB2 - - - YES - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{553, 524}, {216, 23}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{596, 852}, {216, 23}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{479, 484}, {132, 23}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{522, 812}, {146, 23}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{436, 809}, {64, 6}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{565, 284}, {275, 83}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{608, 612}, {275, 83}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{345, 105}, {243, 263}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{365, 632}, {243, 243}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{565, 284}, {153, 43}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{608, 612}, {167, 43}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{588, 85}, {241, 103}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{608, 612}, {241, 103}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{505, 255}, {226, 113}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{525, 802}, {197, 73}} - {{49, 758}, {478, 20}} - com.apple.InterfaceBuilder.CocoaPlugin - - {74, 862} - {{11, 977}, {478, 20}} - com.apple.InterfaceBuilder.CocoaPlugin - {{432, 504}, {234, 43}} - com.apple.InterfaceBuilder.CocoaPlugin - {{475, 832}, {234, 43}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - {{565, 284}, {215, 63}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{608, 612}, {215, 63}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{94, 42}, {752, 631}} - com.apple.InterfaceBuilder.CocoaPlugin - - - {{94, 42}, {752, 631}} - - - {514, 496} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - {{925, 446}, {112, 43}} - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{517, 636}, {505, 296}} - com.apple.InterfaceBuilder.CocoaPlugin - {{517, 636}, {505, 296}} - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{148, 364}, {245, 183}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{23, 794}, {245, 183}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - com.apple.InterfaceBuilder.CocoaPlugin - - {{303, 105}, {208, 263}} - com.apple.InterfaceBuilder.CocoaPlugin - - {{323, 672}, {199, 203}} - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - com.apple.InterfaceBuilder.CocoaPlugin - - - - - YES - - - YES - - - - - YES - - - YES - - - - 796 - - - - YES - - Controller - NSObject - - YES - - YES - copyURL: - focusDataTextView: - focusGatewayTextField: - focusServiceTextField: - query: - selectNextTab: - selectPreviousTab: - - - YES - id - id - id - id - id - id - id - - - - YES - - YES - m_amfTypePopUpButton - m_dataTextView - m_detailTextView - m_detailViewHUDPanel - m_executeButton - m_gatewayTextField - m_gzipCheckbox - m_objectOutlineView - m_progressIndicator - m_receivedHeadersArrayController - m_resultTextView - m_sentHeadersArrayController - m_serviceTextField - m_tabView - - - YES - NSPopUpButton - NSTextView - NSTextView - NSPanel - NSButton - NSTextField - NSButton - NSOutlineView - NSProgressIndicator - NSArrayController - NSTextView - NSArrayController - NSTextField - NSTabView - - - - IBProjectSource - Examples/AMFClient/Controller.h - - - - Controller - NSObject - - YES - - YES - m_SOFolderRep - m_directoryOutlineView - m_directoryTreeController - m_outlineView - - - YES - FileSystemRepNode - NSOutlineView - NSTreeController - NSOutlineView - - - - IBProjectSource - Examples/SharedObject Browser/Controller.h - - - - FileSystemRepNode - NSObject - - IBProjectSource - Examples/SharedObject Browser/FileSystemRepNode.h - - - - NSObject - - IBProjectSource - CocoaAMF/AMFDuplexGateway.h - - - - NSObject - - IBProjectSource - CocoaAMF/NSObject-AMFExtensions.h - - - - NSObject - - IBProjectSource - Examples/AMFClient/CAMFFieldEditor.h - - - - NSObject - - IBProjectSource - Examples/AMFClient/NSOutlineView+ContextMenu.h - - - - NSObject - - IBProjectSource - Libraries/CocoaAsyncSocket/AsyncSocket.h - - - - NSOutlineView - - - - - YES - - NSActionCell - NSCell - - IBFrameworkSource - AppKit.framework/Headers/NSActionCell.h - - - - NSApplication - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSApplication.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSApplicationScripting.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSColorPanel.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSHelpManager.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSPageLayout.h - - - - NSApplication - - IBFrameworkSource - AppKit.framework/Headers/NSUserInterfaceItemSearching.h - - - - NSArrayController - NSObjectController - - IBFrameworkSource - AppKit.framework/Headers/NSArrayController.h - - - - NSBrowser - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSBrowser.h - - - - NSButton - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSButton.h - - - - NSButtonCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSButtonCell.h - - - - NSCell - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSCell.h - - - - NSControl - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSControl.h - - - - NSController - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSController.h - - - - NSDocument - NSObject - - YES - - YES - printDocument: - revertDocumentToSaved: - runPageLayout: - saveDocument: - saveDocumentAs: - saveDocumentTo: - - - YES - id - id - id - id - id - id - - - - IBFrameworkSource - AppKit.framework/Headers/NSDocument.h - - - - NSDocument - - IBFrameworkSource - AppKit.framework/Headers/NSDocumentScripting.h - - - - NSDocumentController - NSObject - - YES - - YES - clearRecentDocuments: - newDocument: - openDocument: - saveAllDocuments: - - - YES - id - id - id - id - - - - IBFrameworkSource - AppKit.framework/Headers/NSDocumentController.h - - - - NSFontManager - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontManager.h - - - - NSFormatter - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFormatter.h - - - - NSManagedObjectContext - NSObject - - IBFrameworkSource - CoreData.framework/Headers/NSManagedObjectContext.h - - - - NSMatrix - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSMatrix.h - - - - NSMenu - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenu.h - - - - NSMenuItem - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItem.h - - - - NSMenuItemCell - NSButtonCell - - IBFrameworkSource - AppKit.framework/Headers/NSMenuItemCell.h - - - - NSMovieView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSMovieView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSAccessibility.h - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDictionaryController.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSDragging.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSFontPanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSKeyValueBinding.h - - - - NSObject - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSNibLoading.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSOutlineView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSPasteboard.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSSavePanel.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableView.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSToolbarItem.h - - - - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSView.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSError.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSFileManager.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyValueObserving.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSKeyedArchiver.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObject.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSObjectScripting.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSPortCoder.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSRunLoop.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptClassDescription.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptKeyValueCoding.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptObjectSpecifiers.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSScriptWhoseTests.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSThread.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURL.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLConnection.h - - - - NSObject - - IBFrameworkSource - Foundation.framework/Headers/NSURLDownload.h - - - - NSObjectController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSObjectController.h - - - - NSOutlineView - NSTableView - - - - NSPanel - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSPanel.h - - - - NSPopUpButton - NSButton - - IBFrameworkSource - AppKit.framework/Headers/NSPopUpButton.h - - - - NSPopUpButtonCell - NSMenuItemCell - - IBFrameworkSource - AppKit.framework/Headers/NSPopUpButtonCell.h - - - - NSProgressIndicator - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSProgressIndicator.h - - - - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSInterfaceStyle.h - - - - NSResponder - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSResponder.h - - - - NSScrollView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSScrollView.h - - - - NSScroller - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSScroller.h - - - - NSSplitView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSSplitView.h - - - - NSTabView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSTabView.h - - - - NSTabViewItem - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTabViewItem.h - - - - NSTableColumn - NSObject - - IBFrameworkSource - AppKit.framework/Headers/NSTableColumn.h - - - - NSTableHeaderView - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSTableHeaderView.h - - - - NSTableView - NSControl - - - - NSText - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSText.h - - - - NSTextField - NSControl - - IBFrameworkSource - AppKit.framework/Headers/NSTextField.h - - - - NSTextFieldCell - NSActionCell - - IBFrameworkSource - AppKit.framework/Headers/NSTextFieldCell.h - - - - NSTextView - NSText - - IBFrameworkSource - AppKit.framework/Headers/NSTextView.h - - - - NSTreeController - NSObjectController - - IBFrameworkSource - AppKit.framework/Headers/NSTreeController.h - - - - NSUserDefaultsController - NSController - - IBFrameworkSource - AppKit.framework/Headers/NSUserDefaultsController.h - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSClipView.h - - - - NSView - - - - NSView - - IBFrameworkSource - AppKit.framework/Headers/NSRulerView.h - - - - NSView - NSResponder - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSDrawer.h - - - - NSWindow - NSResponder - - IBFrameworkSource - AppKit.framework/Headers/NSWindow.h - - - - NSWindow - - IBFrameworkSource - AppKit.framework/Headers/NSWindowScripting.h - - - - - 0 - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.macosx - - - - com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3 - - - YES - ../../CocoaAMF.xcodeproj - 3 - - diff --git a/Examples/AMFClient/NSOutlineView+ContextMenu.h b/Examples/AMFClient/NSOutlineView+ContextMenu.h deleted file mode 100644 index d1fbf67..0000000 --- a/Examples/AMFClient/NSOutlineView+ContextMenu.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// NSOutlineView+ContextMenu.h -// CocoaAMF -// -// Created by Marc Bauer on 02.05.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - -#import - - -@interface NSOutlineView (ContextMenu) -@end - -@interface NSObject (NSOutlineViewContextMenuDelegate) -- (NSMenu *)outlineView:(NSOutlineView *)outlineView contextMenuForItem:(id)item; -@end \ No newline at end of file diff --git a/Examples/AMFClient/NSOutlineView+ContextMenu.m b/Examples/AMFClient/NSOutlineView+ContextMenu.m deleted file mode 100644 index afefbad..0000000 --- a/Examples/AMFClient/NSOutlineView+ContextMenu.m +++ /dev/null @@ -1,47 +0,0 @@ -// -// NSOutlineView+ContextMenu.m -// CocoaAMF -// -// Created by Marc Bauer on 02.05.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - -#import "NSOutlineView+ContextMenu.h" - - -@implementation NSOutlineView (ContextMenu) - -- (NSMenu *)menuForEvent:(NSEvent *)theEvent -{ - int rowIndex = [self rowAtPoint:[self convertPoint:[theEvent locationInWindow] fromView:nil]]; - - if (rowIndex >= 0) - { - // There seems to be a bug in AppKit; selectRow is supposed to - // abort editing, but it doesn't, thus we do it manually. - [self abortEditing]; - id item = [self itemAtRow:rowIndex]; - if (item) - { - id obj = [self delegate]; - if ([obj respondsToSelector:@selector(outlineView:shouldSelectItem:)] && - [obj outlineView:self shouldSelectItem:item]) - { - [self selectRow:rowIndex byExtendingSelection:NO]; - } - - if ([obj respondsToSelector:@selector(outlineView:contextMenuForItem:)]) - { - return [obj outlineView:self contextMenuForItem:item]; - } - } - } - else // click in lala land - { - [self deselectAll:self]; - return [self menu]; - } - return nil; -} - -@end \ No newline at end of file diff --git a/Examples/AMFClient/NSString+URLEncode.h b/Examples/AMFClient/NSString+URLEncode.h deleted file mode 100644 index bc7f8b4..0000000 --- a/Examples/AMFClient/NSString+URLEncode.h +++ /dev/null @@ -1,16 +0,0 @@ -// -// NSString+URLEncode.h -// CocoaAMF -// -// Created by Marc Bauer on 30.11.08. -// Copyright 2008 nesiumdotcom. All rights reserved. -// - -#import - - -@interface NSString (URLEncode) - -- (NSString *)URLEncodedString; - -@end \ No newline at end of file diff --git a/Examples/AMFClient/NSString+URLEncode.m b/Examples/AMFClient/NSString+URLEncode.m deleted file mode 100644 index 88bbc92..0000000 --- a/Examples/AMFClient/NSString+URLEncode.m +++ /dev/null @@ -1,34 +0,0 @@ -// -// NSString+URLEncode.m -// CocoaAMF -// -// Created by Marc Bauer on 30.11.08. -// Copyright 2008 nesiumdotcom. All rights reserved. -// - -#import "NSString+URLEncode.h" - - -@implementation NSString (URLEncode) - -- (NSString *)URLEncodedString -{ - NSArray *specialChars = [NSArray arrayWithObjects:@";", @"/", @"?", @":", @"@", @"&", @"=", - @"+", @"$", @",", @"[", @"]", @"#", @"!", @"'", @"(", @")", @"*", @" ", @"{", @"}", @"\"", - nil]; - NSArray *escapedChars = [NSArray arrayWithObjects:@"%3B", @"%2F", @"%3F", @"%3A", @"%40", - @"%26", @"%3D", @"%2B", @"%24", @"%2C", @"%5B", @"%5D", @"%23", @"%21", @"%27", @"%28", - @"%29", @"%2A", @"%20", @"%7B", @"%7D", @"%22", nil]; - - NSMutableString *escapedString = [NSMutableString stringWithString:self]; - for (int i = 0; i < [specialChars count]; i++) - { - NSString *specialChar = [specialChars objectAtIndex:i]; - NSString *escapedChar = [escapedChars objectAtIndex:i]; - [escapedString replaceOccurrencesOfString:specialChar withString:escapedChar - options:NSLiteralSearch range:(NSRange){0, [escapedString length]}]; - } - return escapedString; -} - -@end \ No newline at end of file diff --git a/Examples/AMFClient/SCActionscriptGenerator.h b/Examples/AMFClient/SCActionscriptGenerator.h deleted file mode 100644 index ecc6df6..0000000 --- a/Examples/AMFClient/SCActionscriptGenerator.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// SCActionscriptGenerator.h -// CocoaAMF -// -// Created by Marc Bauer on 02.05.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - -#import -#import "SCGenerator.h" - - -@interface SCActionscriptGenerator : NSObject -{ -} -- (NSString *)stubCodeForDataNode:(AMFDebugDataNode *)node; -@end \ No newline at end of file diff --git a/Examples/AMFClient/SCActionscriptGenerator.m b/Examples/AMFClient/SCActionscriptGenerator.m deleted file mode 100644 index f59708f..0000000 --- a/Examples/AMFClient/SCActionscriptGenerator.m +++ /dev/null @@ -1,128 +0,0 @@ -// -// SCActionscriptGenerator.m -// CocoaAMF -// -// Created by Marc Bauer on 02.05.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - -#import "SCActionscriptGenerator.h" - -@interface SCActionscriptGenerator (Private) -- (NSString *)_asTypeForNode:(AMFDebugDataNode *)node; -@end - - -@implementation SCActionscriptGenerator - -- (NSString *)stubCodeForDataNode:(AMFDebugDataNode *)node -{ - NSString *packageName = @""; - NSString *name = node.objectClassName; - name = [name stringByReplacingOccurrencesOfString:@"::" withString:@"."]; - NSArray *parts = [name componentsSeparatedByString:@"."]; - NSString *className = [parts lastObject]; - if ([parts count] > 1) - { - packageName = [[parts subarrayWithRange:(NSRange){0, [parts count] - 1}] - componentsJoinedByString:@"."]; - } - - NSMutableArray *ivars = [NSMutableArray array]; - NSMutableArray *properties = [NSMutableArray array]; - for (AMFDebugDataNode *subnode in node.children) - { - [ivars addObject:[NSString stringWithFormat:@"\t\tpublic var %@:%@;", subnode.name, - [self _asTypeForNode:subnode]]]; - [properties addObject:[NSString stringWithFormat:@"%@: ' + %@", subnode.name, subnode.name]]; - } - NSString *ivarsString = [ivars componentsJoinedByString:@"\n"]; - NSString *propertiesString = [NSString stringWithFormat:@"'[%@] %@", - className, [properties componentsJoinedByString:@" + ' "]]; - - return [NSString stringWithFormat:@"\ -// Generated by CocoaAMF\n\ -\n\ -package %@\n\ -{\n\ -\n\ - [RemoteClass(alias=\"%@\")]\n\ - public class %@\n\ - {\n\ - \n\ -%@\n\ - \n\ - \n\ - \n\ - public function %@() {}\n\ - \n\ - \n\ - public function toString():String\n\ - {\n\ - return %@;\n\ - }\n\ - }\n\ -}", packageName, node.objectClassName, className, ivarsString, className, propertiesString]; -} - -- (NSString *)_asTypeForNode:(AMFDebugDataNode *)node -{ - if (node.objectClassName != nil) - return node.objectClassName; - - if (node.version == kAMF0Version) - { - switch (node.type) - { - case kAMF0NumberType: - return @"Number"; - case kAMF0BooleanType: - return @"Boolean"; - case kAMF0StringType: - case kAMF0LongStringType: - return @"String"; - case kAMF0ObjectType: - return @"Object"; - case kAMF0MovieClipType: - return @"MovieClip"; - case kAMF0StrictArrayType: - return @"Array"; - case kAMF0DateType: - return @"Date"; - case kAMF0XMLObjectType: - return @"XML"; - case kAMF0ECMAArrayType: - case kAMF0TypedObjectType: - return @"Object"; - } - } - else - { - switch (node.type) - { - case kAMF3FalseType: - case kAMF3TrueType: - return @"Boolean"; - case kAMF3IntegerType: - case kAMF3DoubleType: - return @"Number"; - case kAMF3StringType: - return @"String"; - case kAMF3XMLDocType: - return @"XMLDocument"; - case kAMF3DateType: - return @"Date"; - case kAMF3ArrayType: - return @"Array"; - case kAMF3ObjectType: - return @"Object"; - case kAMF3XMLType: - return @"XML"; - case kAMF3ByteArrayType: - return @"ByteArray"; - } - } - return @"*"; -} - -@end \ No newline at end of file diff --git a/Examples/AMFClient/SCGenerator.h b/Examples/AMFClient/SCGenerator.h deleted file mode 100644 index 9fab233..0000000 --- a/Examples/AMFClient/SCGenerator.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// SCGenerator.h -// CocoaAMF -// -// Created by Marc Bauer on 02.05.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - -#import -#import "AMFDebugUnarchiver.h" - -@protocol StubCodeGenerator -- (NSString *)stubCodeForDataNode:(AMFDebugDataNode *)node; -@end - - -@interface SCGenerator : NSObject -{ - NSMutableDictionary *m_generators; -} -+ (SCGenerator *)sharedGenerator; -- (void)registerGenerator:(id )gen forLanguage:(NSString *)languageName; -- (NSString *)stubCodeForDataNode:(AMFDebugDataNode *)node languageName:(NSString *)languageName; -- (NSArray *)languageNames; -@end \ No newline at end of file diff --git a/Examples/AMFClient/SCGenerator.m b/Examples/AMFClient/SCGenerator.m deleted file mode 100644 index 74d52fc..0000000 --- a/Examples/AMFClient/SCGenerator.m +++ /dev/null @@ -1,46 +0,0 @@ -// -// SCGenerator.m -// CocoaAMF -// -// Created by Marc Bauer on 02.05.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - -#import "SCGenerator.h" - - -@implementation SCGenerator - -static SCGenerator *g_sharedInstance; - -+ (SCGenerator *)sharedGenerator -{ - return g_sharedInstance ?: [[self new] autorelease]; -} - -- (id)init -{ - if (g_sharedInstance) - [self release]; - else if (self = g_sharedInstance = [[super init] retain]) - m_generators = [[NSMutableDictionary alloc] init]; - return g_sharedInstance; -} - -- (void)registerGenerator:(id )gen forLanguage:(NSString *)languageName -{ - [m_generators setObject:gen forKey:languageName]; -} - -- (NSString *)stubCodeForDataNode:(AMFDebugDataNode *)node languageName:(NSString *)languageName -{ - id gen = [m_generators objectForKey:languageName]; - return [gen stubCodeForDataNode:node]; -} - -- (NSArray *)languageNames -{ - return [m_generators allKeys]; -} - -@end \ No newline at end of file diff --git a/Examples/AMFClient/SCObjCGenerator.h b/Examples/AMFClient/SCObjCGenerator.h deleted file mode 100644 index 671561d..0000000 --- a/Examples/AMFClient/SCObjCGenerator.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// SCObjCGenerator.h -// CocoaAMF -// -// Created by Marc Bauer on 03.05.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - -#import -#import "SCGenerator.h" - - -@interface SCObjCGenerator : NSObject -{ -} -- (NSString *)stubCodeForDataNode:(AMFDebugDataNode *)node; -@end \ No newline at end of file diff --git a/Examples/AMFClient/SCObjCGenerator.m b/Examples/AMFClient/SCObjCGenerator.m deleted file mode 100644 index 1697e6d..0000000 --- a/Examples/AMFClient/SCObjCGenerator.m +++ /dev/null @@ -1,199 +0,0 @@ -// -// SCObjCGenerator.m -// CocoaAMF -// -// Created by Marc Bauer on 03.05.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - -#import "SCObjCGenerator.h" - -@interface SCObjCGenerator (Private) -- (NSString *)_objCTypeForNode:(AMFDebugDataNode *)node needsRetain:(BOOL *)needsRetain; -- (NSString *)_encodeCommandForNode:(AMFDebugDataNode *)node; -- (NSString *)_decodeCommandForNode:(AMFDebugDataNode *)node; -@end - -@implementation SCObjCGenerator - -- (NSString *)stubCodeForDataNode:(AMFDebugDataNode *)node -{ - NSString *name = node.objectClassName; - name = [name stringByReplacingOccurrencesOfString:@"::" withString:@"."]; - NSArray *parts = [name componentsSeparatedByString:@"."]; - NSString *className = [parts lastObject]; - - NSMutableArray *ivars = [NSMutableArray array]; - NSMutableArray *properties = [NSMutableArray array]; - NSMutableArray *dealloc = [NSMutableArray array]; - NSMutableArray *synthesize = [NSMutableArray array]; - NSMutableArray *encode = [NSMutableArray array]; - NSMutableArray *decode = [NSMutableArray array]; - for (AMFDebugDataNode *subnode in node.children) - { - BOOL needsRetain; - NSString *type = [self _objCTypeForNode:subnode needsRetain:&needsRetain]; - [ivars addObject:[NSString stringWithFormat:@"\t%@%@;", type, subnode.name]]; - [properties addObject:[NSString stringWithFormat:@"@property (nonatomic, %@) %@%@;", - (needsRetain ? @"retain" : @"assign"), type, subnode.name]]; - if (needsRetain) - [dealloc addObject:[NSString stringWithFormat:@"\t[%@ release];", subnode.name]]; - [synthesize addObject:subnode.name]; - [encode addObject:[NSString stringWithFormat:@"\t[coder %@];", - [NSString stringWithFormat:[self _encodeCommandForNode:subnode], subnode.name, - [NSString stringWithFormat:@"@\"%@\"", subnode.name]]]]; - [decode addObject:[NSString stringWithFormat:@"\t\tself.%@ = [coder %@];", subnode.name, - [NSString stringWithFormat:[self _decodeCommandForNode:subnode], - [NSString stringWithFormat:@"@\"%@\"", subnode.name]]]]; - } - - return [NSString stringWithFormat:@"\ -// Generated by CocoaAMF\n\ -\n\ -#import \n\ -\n\ -@interface %@ : NSObject \n\ -{\n\ -%@\n\ -}\n\ -%@\n\ -@end\n\ -\n\ -\n\ -\n\ -@implementation %@\n\ -\n\ -@synthesize %@;\n\ -\n\ -- (id)initWithCoder:(NSCoder *)coder\n\ -{\n\ - if (self = [super init])\n\ - {\n\ -%@\n\ - }\n\ - return self;\n\ -}\n\ -\n\ -- (void)encodeWithCoder:(NSCoder *)coder\n\ -{\n\ -%@\n\ -}\n\ -\n\ -- (void)dealloc\n\ -{\n\ -%@\n\ - [super dealloc];\n\ -}\n\ -@end", className, [ivars componentsJoinedByString:@"\n"], [properties componentsJoinedByString:@"\n"], - className, [synthesize componentsJoinedByString:@", "], [decode componentsJoinedByString:@"\n"], - [encode componentsJoinedByString:@"\n"], [dealloc componentsJoinedByString:@"\n"]]; -} - -- (NSString *)_objCTypeForNode:(AMFDebugDataNode *)node needsRetain:(BOOL *)needsRetain -{ - *needsRetain = YES; - if (node.objectClassName != nil) - return [NSString stringWithFormat:@"%@ *", node.objectClassName]; - - if (node.version == kAMF0Version) - { - switch (node.type) - { - case kAMF0NumberType: - return @"NSNumber *"; - case kAMF0BooleanType: - *needsRetain = NO; - return @"BOOL "; - case kAMF0StringType: - case kAMF0LongStringType: - case kAMF0XMLObjectType: - return @"NSString *"; - case kAMF0ObjectType: - case kAMF0ECMAArrayType: - case kAMF0TypedObjectType: - return @"NSDictionary *"; - case kAMF0StrictArrayType: - return @"NSArray *"; - case kAMF0DateType: - return @"NSDate *"; - } - } - else - { - switch (node.type) - { - case kAMF3FalseType: - case kAMF3TrueType: - *needsRetain = NO; - return @"BOOL "; - case kAMF3IntegerType: - case kAMF3DoubleType: - return @"NSNumber *"; - case kAMF3StringType: - case kAMF3XMLDocType: - case kAMF3XMLType: - return @"NSString *"; - case kAMF3DateType: - return @"NSDate *"; - case kAMF3ArrayType: - return @"NSArray *"; - case kAMF3ObjectType: - return @"NSDictionary *"; - case kAMF3ByteArrayType: - return @"NSData *"; - } - } - return @"NSObject *"; -} - -- (NSString *)_encodeCommandForNode:(AMFDebugDataNode *)node -{ - if (node.objectClassName != nil) - return @"encodeObject:%@ forKey:%@"; - - if (node.version == kAMF0Version) - { - switch (node.type) - { - case kAMF0BooleanType: - return @"encodeBool:%@ forKey:%@"; - } - } - else - { - switch (node.type) - { - case kAMF3FalseType: - case kAMF3TrueType: - return @"encodeBool:%@ forKey:%@"; - } - } - return @"encodeObject:%@ forKey:%@"; -} - -- (NSString *)_decodeCommandForNode:(AMFDebugDataNode *)node -{ - if (node.objectClassName != nil) - return @"decodeObjectForKey:%@"; - - if (node.version == kAMF0Version) - { - switch (node.type) - { - case kAMF0BooleanType: - return @"decodeBoolForKey:%@"; - } - } - else - { - switch (node.type) - { - case kAMF3FalseType: - case kAMF3TrueType: - return @"decodeBoolForKey:%@"; - } - } - return @"decodeObjectForKey:%@"; -} - -@end diff --git a/Examples/AMFClient/main.m b/Examples/AMFClient/main.m deleted file mode 100644 index f696fb0..0000000 --- a/Examples/AMFClient/main.m +++ /dev/null @@ -1,14 +0,0 @@ -// -// main.m -// CocoaAMF -// -// Created by Marc Bauer on 07.10.08. -// Copyright nesiumdotcom 2008. All rights reserved. -// - -#import - -int main(int argc, char *argv[]) -{ - return NSApplicationMain(argc, (const char **) argv); -} \ No newline at end of file diff --git a/Examples/SimpleRemotingCallExample/main.m b/Examples/SimpleRemotingCallExample/main.m deleted file mode 100644 index 82f9c07..0000000 --- a/Examples/SimpleRemotingCallExample/main.m +++ /dev/null @@ -1,74 +0,0 @@ -// -// main.m -// CocoaAMF -// -// Created by Marc Bauer on 11.01.09. -// Copyright 2009 nesiumdotcom. All rights reserved. -// - - -#import -#import "AMFRemotingCall.h" - - -@interface RemotingCaller : NSObject -{ - AMFRemotingCall *m_remotingCall; -} -- (void)call; -@end - -@implementation RemotingCaller - -- (id)init -{ - if (self = [super init]) - { - m_remotingCall = [[AMFRemotingCall alloc] - initWithURL:[NSURL URLWithString:@"http://www.nesium.com/amfdemo/gateway.php"] - service:@"ExampleService" method:@"add" - arguments:[NSArray arrayWithObjects:[NSNumber numberWithInt:2], - [NSNumber numberWithInt:3], nil]]; - m_remotingCall.delegate = self; - - // you may also try the following methods with an empty array as arguments - // - hello - // - returnArray - // - returnArrayCollection - } - return self; -} - -- (void)call -{ - [m_remotingCall start]; -} - -- (void)remotingCallDidFinishLoading:(AMFRemotingCall *)remotingCall - receivedObject:(NSObject *)object -{ - NSLog(@"remoting call was successful. received data: %@", object); - CFRunLoopStop([[NSRunLoop currentRunLoop] getCFRunLoop]); -} - -- (void)remotingCall:(AMFRemotingCall *)remotingCall didFailWithError:(NSError *)error -{ - NSLog(@"remoting call failed with error %@", error); - CFRunLoopStop([[NSRunLoop currentRunLoop] getCFRunLoop]); -} - -@end - - - -int main (int argc, const char * argv[]) -{ - NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; - - RemotingCaller *caller = [[RemotingCaller alloc] init]; - [caller call]; - - CFRunLoopRun(); - [pool release]; - return 0; -} diff --git a/Tests/AMF0Test.h b/Tests/AMF0Test.h index 97e2c76..514671a 100644 --- a/Tests/AMF0Test.h +++ b/Tests/AMF0Test.h @@ -6,7 +6,7 @@ // Copyright 2009 nesiumdotcom. All rights reserved. // -#import + #import "AbstractAMFTest.h" #import "ASObject.h" #import "AMFArchiver.h" @@ -15,4 +15,4 @@ @interface AMF0Test : AbstractAMFTest{ } -@end \ No newline at end of file +@end diff --git a/Tests/AMF0Test.m b/Tests/AMF0Test.m index 101acfd..509d456 100644 --- a/Tests/AMF0Test.m +++ b/Tests/AMF0Test.m @@ -12,149 +12,149 @@ @implementation AMF0Test - (void)testNumber{ NSNumber *num = [NSNumber numberWithInt:0]; - STAssertTrue([self assertDataOfFile:@"number_0.amf0" + XCTAssertTrue([self assertDataOfFile:@"number_0.amf0" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_0.amf0"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_0.amf0"], @"Number data is not equal"); num = [NSNumber numberWithDouble:0.2]; - STAssertTrue([self assertDataOfFile:@"number_1.amf0" + XCTAssertTrue([self assertDataOfFile:@"number_1.amf0" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_1.amf0"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_1.amf0"], @"Number data is not equal"); num = [NSNumber numberWithInt:1]; - STAssertTrue([self assertDataOfFile:@"number_2.amf0" + XCTAssertTrue([self assertDataOfFile:@"number_2.amf0" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_2.amf0"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_2.amf0"], @"Number data is not equal"); num = [NSNumber numberWithInt:42]; - STAssertTrue([self assertDataOfFile:@"number_3.amf0" + XCTAssertTrue([self assertDataOfFile:@"number_3.amf0" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_3.amf0"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_3.amf0"], @"Number data is not equal"); num = [NSNumber numberWithInt:-123]; - STAssertTrue([self assertDataOfFile:@"number_4.amf0" + XCTAssertTrue([self assertDataOfFile:@"number_4.amf0" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_4.amf0"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_4.amf0"], @"Number data is not equal"); num = [NSNumber numberWithDouble:1.23456789]; - STAssertTrue([self assertDataOfFile:@"number_5.amf0" + XCTAssertTrue([self assertDataOfFile:@"number_5.amf0" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_5.amf0"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_5.amf0"], @"Number data is not equal"); } - (void)testBoolean{ - STAssertTrue([self assertDataOfFile:@"boolean_0.amf0" + XCTAssertTrue([self assertDataOfFile:@"boolean_0.amf0" isEqualTo:[NSNumber numberWithBool:YES]], @"Booleans do not match"); - STAssertTrue([self assertEncodedObject:[NSNumber numberWithBool:YES] + XCTAssertTrue([self assertEncodedObject:[NSNumber numberWithBool:YES] isEqualToContentsOfFile:@"boolean_0.amf0"], @"Boolean data is not equal"); - STAssertTrue([self assertDataOfFile:@"boolean_1.amf0" + XCTAssertTrue([self assertDataOfFile:@"boolean_1.amf0" isEqualTo:[NSNumber numberWithBool:NO]], @"Booleans do not match"); - STAssertTrue([self assertEncodedObject:[NSNumber numberWithBool:NO] + XCTAssertTrue([self assertEncodedObject:[NSNumber numberWithBool:NO] isEqualToContentsOfFile:@"boolean_1.amf0"], @"Boolean data is not equal"); } - (void)testString{ NSString *str = @""; - STAssertTrue([self assertDataOfFile:@"string_0.amf0" + XCTAssertTrue([self assertDataOfFile:@"string_0.amf0" isEqualTo:str], @"Strings do not match"); - STAssertTrue([self assertEncodedObject:str isEqualToContentsOfFile:@"string_0.amf0"], + XCTAssertTrue([self assertEncodedObject:str isEqualToContentsOfFile:@"string_0.amf0"], @"String data is not equal"); str = @"hello"; - STAssertTrue([self assertDataOfFile:@"string_1.amf0" + XCTAssertTrue([self assertDataOfFile:@"string_1.amf0" isEqualTo:str], @"Strings do not match"); - STAssertTrue([self assertEncodedObject:str isEqualToContentsOfFile:@"string_1.amf0"], + XCTAssertTrue([self assertEncodedObject:str isEqualToContentsOfFile:@"string_1.amf0"], @"String data is not equal"); str = @"ᚠᛇᚻ"; - STAssertTrue([self assertDataOfFile:@"string_2.amf0" + XCTAssertTrue([self assertDataOfFile:@"string_2.amf0" isEqualTo:str], @"Strings do not match"); - STAssertTrue([self assertEncodedObject:str isEqualToContentsOfFile:@"string_2.amf0"], + XCTAssertTrue([self assertEncodedObject:str isEqualToContentsOfFile:@"string_2.amf0"], @"String data is not equal"); } - (void)testNull{ - STAssertTrue([self assertDataOfFile:@"null_0.amf0" + XCTAssertTrue([self assertDataOfFile:@"null_0.amf0" isEqualTo:nil], @"Could not read null value"); - STAssertTrue([self assertEncodedObject:[NSNull null] isEqualToContentsOfFile:@"null_0.amf0"], + XCTAssertTrue([self assertEncodedObject:[NSNull null] isEqualToContentsOfFile:@"null_0.amf0"], @"Null data is not equal"); - STAssertTrue([self assertEncodedObject:nil isEqualToContentsOfFile:@"null_0.amf0"], + XCTAssertTrue([self assertEncodedObject:nil isEqualToContentsOfFile:@"null_0.amf0"], @"Nil data is not equal"); } - (void)testUndefined{ - STAssertTrue([self assertDataOfFile:@"undefined_0.amf0" + XCTAssertTrue([self assertDataOfFile:@"undefined_0.amf0" isEqualTo:nil], @"Could not read undefined value"); } - (void)testArray{ NSArray *arr = [NSArray array]; - STAssertTrue([self assertDataOfFile:@"array_0.amf0" + XCTAssertTrue([self assertDataOfFile:@"array_0.amf0" isEqualTo:arr], @"Arrays do not match"); - STAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_0.amf0"], + XCTAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_0.amf0"], @"Array data is not equal"); arr = [NSArray arrayWithObjects:[NSNumber numberWithInt:1], [NSNumber numberWithInt:2], [NSNumber numberWithInt:3], nil]; - STAssertTrue([self assertDataOfFile:@"array_1.amf0" + XCTAssertTrue([self assertDataOfFile:@"array_1.amf0" isEqualTo:arr], @"Arrays do not match"); - STAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_1.amf0"], + XCTAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_1.amf0"], @"Array data is not equal"); arr = [NSArray arrayWithObject:[NSArray arrayWithObject:[NSNumber numberWithDouble:1.0]]]; - STAssertTrue([self assertDataOfFile:@"array_2.amf0" + XCTAssertTrue([self assertDataOfFile:@"array_2.amf0" isEqualTo:arr], @"Arrays do not match"); - STAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_2.amf0"], + XCTAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_2.amf0"], @"Array data is not equal"); arr = [NSArray arrayWithObject:[NSArray arrayWithObjects:@"test", @"test", @"test", @"test", nil]]; - STAssertTrue([self assertDataOfFile:@"array_3.amf0" + XCTAssertTrue([self assertDataOfFile:@"array_3.amf0" isEqualTo:arr], @"Arrays do not match"); - STAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_3.amf0"], + XCTAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_3.amf0"], @"Array data is not equal"); ASObject *dict = [ASObject asObjectWithDictionary:[NSDictionary dictionaryWithObjectsAndKeys:@"spam", @"a", @"eggs", @"b", nil]]; arr = [NSArray arrayWithObject:[NSArray arrayWithObjects:dict, dict, nil]]; - STAssertTrue([self assertDataOfFile:@"array_4.amf0" + XCTAssertTrue([self assertDataOfFile:@"array_4.amf0" isEqualTo:arr], @"Arrays do not match"); - STAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_4.amf0"], + XCTAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_4.amf0"], @"Array data is not equal"); } - (void)testObject{ ASObject *obj = [ASObject asObjectWithDictionary: [NSDictionary dictionaryWithObject:@"a" forKey:@"a"]]; - STAssertTrue([self assertDataOfFile:@"object_0.amf0" + XCTAssertTrue([self assertDataOfFile:@"object_0.amf0" isEqualTo:obj], @"Objects do not match"); - STAssertTrue([self assertEncodedObject:obj isEqualToContentsOfFile:@"object_0.amf0"], + XCTAssertTrue([self assertEncodedObject:obj isEqualToContentsOfFile:@"object_0.amf0"], @"Object data is not equal"); } @@ -165,10 +165,10 @@ - (void)testObject{ // [NSNumber numberWithInt:1], @"a", // [NSNumber numberWithInt:2], @"b", // [NSNumber numberWithInt:3], @"c", nil]; -// STAssertTrue([self assertDataOfFile:@"dictionary_0.amf0" +// XCTAssertTrue([self assertDataOfFile:@"dictionary_0.amf0" // isEqualTo:dict], @"Dictionaries do not match"); // -// STAssertTrue([self assertEncodedObject:dict isEqualToContentsOfFile:@"dictionary_0.amf0"], +// XCTAssertTrue([self assertEncodedObject:dict isEqualToContentsOfFile:@"dictionary_0.amf0"], // @"Dictionary data is not equal"); //} @@ -177,10 +177,10 @@ - (void)testTypedObject{ [NSDictionary dictionaryWithObject:@"hello" forKey:@"baz"]]; obj.type = @"org.pyamf.spam"; - STAssertTrue([self assertDataOfFile:@"typedobject_0.amf0" + XCTAssertTrue([self assertDataOfFile:@"typedobject_0.amf0" isEqualTo:obj], @"Typed objects do not match"); - STAssertTrue([self assertEncodedObject:obj isEqualToContentsOfFile:@"typedobject_0.amf0"], + XCTAssertTrue([self assertEncodedObject:obj isEqualToContentsOfFile:@"typedobject_0.amf0"], @"Typed object data is not equal"); } @@ -191,7 +191,7 @@ - (void)testRegisteredTypedObject{ AMFUnarchiver *unarchiver = [self unarchiverForPath:@"typedobject_0.amf0"]; [unarchiver setClass:[Spam class] forClassName:@"org.pyamf.spam"]; id result = [unarchiver decodeObject]; - STAssertTrue([spam isEqual:result], @"Registered typed object test failed."); + XCTAssertTrue([spam isEqual:result], @"Registered typed object test failed."); AMFArchiver *archiver = [[AMFArchiver alloc] initForWritingWithMutableData:[NSMutableData data] encoding:kAMF0Encoding]; @@ -199,7 +199,7 @@ - (void)testRegisteredTypedObject{ [archiver encodeRootObject:spam]; NSData *data = [NSData dataWithContentsOfFile:[self fullPathForTestFile:@"typedobject_0.amf0" version:nil]]; - STAssertTrue([data isEqual:[archiver archiverData]], @"Registered typed object data is not equal"); + XCTAssertTrue([data isEqual:[archiver archiverData]], @"Registered typed object data is not equal"); [archiver release]; [spam release]; @@ -210,23 +210,23 @@ - (void)testForceAMF3{ [NSDictionary dictionaryWithObject:@"y" forKey:@"x"]]; obj.type = @"spam.eggs"; - STAssertTrue([self assertDataOfFile:@"forceamf3_0.amf0" + XCTAssertTrue([self assertDataOfFile:@"forceamf3_0.amf0" isEqualTo:obj], @"forceAMF3 test failed"); } - (void)testExternalizableObjectNotSupported{ FlexArrayCollection *obj = [[FlexArrayCollection alloc] initWithSource: [NSArray arrayWithObjects:@"a", @"b", @"c", nil]]; - STAssertThrows([AMFArchiver archivedDataWithRootObject:obj encoding:kAMF0Encoding], + XCTAssertThrows([AMFArchiver archivedDataWithRootObject:obj encoding:kAMF0Encoding], @"Encoding externalizable object did not throw"); } //- (void)testReadDate //{ // NSDate *date = [NSDate dateWithTimeIntervalSince1970:1042326000]; -// STAssertTrue([self assertDataOfFile:@"read_date_0.amf0" +// XCTAssertTrue([self assertDataOfFile:@"read_date_0.amf0" // isEqualTo:date], @"Dates do not match"); //} -@end \ No newline at end of file +@end diff --git a/Tests/AMF3Test.h b/Tests/AMF3Test.h index 3110818..5076201 100644 --- a/Tests/AMF3Test.h +++ b/Tests/AMF3Test.h @@ -6,7 +6,6 @@ // Copyright 2009 Fork Unstable Media GmbH. All rights reserved. // -#import #import "AbstractAMFTest.h" #import "ASObject.h" #import "AMFArchiver.h" @@ -37,4 +36,4 @@ } @property (nonatomic, retain) AnotherExternalizableObject *child; @property (nonatomic, retain) NSString *name; -@end \ No newline at end of file +@end diff --git a/Tests/AMF3Test.m b/Tests/AMF3Test.m index 1d716fc..4c06a34 100644 --- a/Tests/AMF3Test.m +++ b/Tests/AMF3Test.m @@ -75,7 +75,7 @@ - (void)dealloc{ } - (NSString *)description{ - return [NSString stringWithFormat:@"<%@ = 0x%08x> name: %@, child:\n-> %@", [self className], + return [NSString stringWithFormat:@"<%@ = 0x%08lx> name: %@, child:\n-> %@", [self className], (long)self, name, child]; } @@ -119,201 +119,201 @@ @implementation AMF3Test - (void)testNumber{ NSNumber *num = [NSNumber numberWithInt:0]; - STAssertTrue([self assertDataOfFile:@"number_0.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_0.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_0.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_0.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:0x35]; - STAssertTrue([self assertDataOfFile:@"number_1.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_1.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_1.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_1.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:0x7f]; - STAssertTrue([self assertDataOfFile:@"number_2.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_2.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_2.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_2.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:0x80]; - STAssertTrue([self assertDataOfFile:@"number_3.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_3.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_3.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_3.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:0xd4]; - STAssertTrue([self assertDataOfFile:@"number_4.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_4.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_4.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_4.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:0x3fff]; - STAssertTrue([self assertDataOfFile:@"number_5.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_5.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_5.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_5.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:0x4000]; - STAssertTrue([self assertDataOfFile:@"number_6.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_6.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_6.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_6.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:0x1a53f]; - STAssertTrue([self assertDataOfFile:@"number_7.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_7.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_7.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_7.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:0x1fffff]; - STAssertTrue([self assertDataOfFile:@"number_8.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_8.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_8.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_8.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:0x200000]; - STAssertTrue([self assertDataOfFile:@"number_9.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_9.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_9.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_9.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:-0x01]; - STAssertTrue([self assertDataOfFile:@"number_10.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_10.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_10.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_10.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:-0x2a]; - STAssertTrue([self assertDataOfFile:@"number_11.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_11.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_11.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_11.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:0xfffffff]; - STAssertTrue([self assertDataOfFile:@"number_12.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_12.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_12.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_12.amf3"], @"Number data is not equal"); num = [NSNumber numberWithInt:-0x10000000]; - STAssertTrue([self assertDataOfFile:@"number_13.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_13.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_13.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_13.amf3"], @"Number data is not equal"); num = [NSNumber numberWithDouble:0x10000000]; - STAssertTrue([self assertDataOfFile:@"number_14.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_14.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_14.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_14.amf3"], @"Number data is not equal"); num = [NSNumber numberWithDouble:-0x10000001]; - STAssertTrue([self assertDataOfFile:@"number_15.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_15.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_15.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_15.amf3"], @"Number data is not equal"); num = [NSNumber numberWithDouble:0.1]; - STAssertTrue([self assertDataOfFile:@"number_16.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_16.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_16.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_16.amf3"], @"Number data is not equal"); num = [NSNumber numberWithDouble:0.123456789]; - STAssertTrue([self assertDataOfFile:@"number_17.amf3" + XCTAssertTrue([self assertDataOfFile:@"number_17.amf3" isEqualTo:num], @"Numbers do not match"); - STAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_17.amf3"], + XCTAssertTrue([self assertEncodedObject:num isEqualToContentsOfFile:@"number_17.amf3"], @"Number data is not equal"); } - (void)testBoolean{ - STAssertTrue([self assertDataOfFile:@"boolean_0.amf3" + XCTAssertTrue([self assertDataOfFile:@"boolean_0.amf3" isEqualTo:[NSNumber numberWithBool:YES]], @"Booleans do not match"); - STAssertTrue([self assertEncodedObject:[NSNumber numberWithBool:YES] + XCTAssertTrue([self assertEncodedObject:[NSNumber numberWithBool:YES] isEqualToContentsOfFile:@"boolean_0.amf3"], @"Boolean data is not equal"); - STAssertTrue([self assertDataOfFile:@"boolean_1.amf3" + XCTAssertTrue([self assertDataOfFile:@"boolean_1.amf3" isEqualTo:[NSNumber numberWithBool:NO]], @"Booleans do not match"); - STAssertTrue([self assertEncodedObject:[NSNumber numberWithBool:NO] + XCTAssertTrue([self assertEncodedObject:[NSNumber numberWithBool:NO] isEqualToContentsOfFile:@"boolean_1.amf3"], @"Boolean data is not equal"); } - (void)testNull{ - STAssertTrue([self assertDataOfFile:@"null_0.amf3" + XCTAssertTrue([self assertDataOfFile:@"null_0.amf3" isEqualTo:nil], @"Could not read null value"); - STAssertTrue([self assertEncodedObject:[NSNull null] isEqualToContentsOfFile:@"null_0.amf3"], + XCTAssertTrue([self assertEncodedObject:[NSNull null] isEqualToContentsOfFile:@"null_0.amf3"], @"Null data is not equal"); - STAssertTrue([self assertEncodedObject:nil isEqualToContentsOfFile:@"null_0.amf3"], + XCTAssertTrue([self assertEncodedObject:nil isEqualToContentsOfFile:@"null_0.amf3"], @"Nil data is not equal"); } - (void)testString{ NSString *str = @"hello"; - STAssertTrue([self assertDataOfFile:@"string_0.amf3" + XCTAssertTrue([self assertDataOfFile:@"string_0.amf3" isEqualTo:str], @"Strings do not match"); - STAssertTrue([self assertEncodedObject:str isEqualToContentsOfFile:@"string_0.amf3"], + XCTAssertTrue([self assertEncodedObject:str isEqualToContentsOfFile:@"string_0.amf3"], @"String data is not equal"); str = @"ᚠᛇᚻ"; - STAssertTrue([self assertDataOfFile:@"string_1.amf3" + XCTAssertTrue([self assertDataOfFile:@"string_1.amf3" isEqualTo:str], @"Strings do not match"); - STAssertTrue([self assertEncodedObject:str isEqualToContentsOfFile:@"string_1.amf3"], + XCTAssertTrue([self assertEncodedObject:str isEqualToContentsOfFile:@"string_1.amf3"], @"String data is not equal"); - STAssertTrue([self assertDataOfFile:@"string_2.amf3" isEqualTo:@"Hello World Åäö!"], + XCTAssertTrue([self assertDataOfFile:@"string_2.amf3" isEqualTo:@"Hello World Åäö!"], @"Could not decode Latin1 string"); } - (void)testArray{ NSArray *arr = [NSArray arrayWithObjects:[NSNumber numberWithInt:0], [NSNumber numberWithInt:1], [NSNumber numberWithInt:2], [NSNumber numberWithInt:3], nil]; - STAssertTrue([self assertDataOfFile:@"array_0.amf3" + XCTAssertTrue([self assertDataOfFile:@"array_0.amf3" isEqualTo:arr], @"Arrays do not match"); - STAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_0.amf3"], + XCTAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"array_0.amf3"], @"Array data is not equal"); } - (void)testDictionary{ NSDictionary *dict = [NSDictionary dictionaryWithObject:@"eggs" forKey:@"spam"]; - STAssertTrue([self assertDataOfFile:@"dictionary_0.amf3" + XCTAssertTrue([self assertDataOfFile:@"dictionary_0.amf3" isEqualTo:dict], @"Dictionaries do not match"); - STAssertTrue([self assertEncodedObject:dict isEqualToContentsOfFile:@"dictionary_0.amf3"], + XCTAssertTrue([self assertEncodedObject:dict isEqualToContentsOfFile:@"dictionary_0.amf3"], @"Dictionary data is not equal"); // this test is flawed, since dictionary entries are unordered // dict = [NSDictionary dictionaryWithObjectsAndKeys:@"a", @"a", @"b", @"b", @"c", @"c", // @"d", @"d", nil]; -// STAssertTrue([self assertDataOfFile:@"dictionary_1.amf3" +// XCTAssertTrue([self assertDataOfFile:@"dictionary_1.amf3" // isEqualTo:dict], @"Dictionaries do not match"); // -// STAssertTrue([self assertEncodedObject:dict isEqualToContentsOfFile:@"dictionary_1.amf3"], +// XCTAssertTrue([self assertEncodedObject:dict isEqualToContentsOfFile:@"dictionary_1.amf3"], // @"Dictionary data is not equal"); } @@ -324,7 +324,7 @@ - (void)testRegisteredTypedObject{ AMFUnarchiver *unarchiver = [self unarchiverForPath:@"typedobject_0.amf3"]; [unarchiver setClass:[Spam class] forClassName:@"org.pyamf.spam"]; id result = [unarchiver decodeObject]; - STAssertTrue([spam isEqual:result], @"Registered typed object test failed."); + XCTAssertTrue([spam isEqual:result], @"Registered typed object test failed."); AMFArchiver *archiver = [[AMFArchiver alloc] initForWritingWithMutableData:[NSMutableData data] encoding:kAMF3Encoding]; @@ -332,7 +332,7 @@ - (void)testRegisteredTypedObject{ [archiver encodeRootObject:spam]; NSData *data = [NSData dataWithContentsOfFile:[self fullPathForTestFile:@"typedobject_0.amf3" version:nil]]; - STAssertTrue([data isEqual:[archiver archiverData]], @"Registered typed object data is not equal"); + XCTAssertTrue([data isEqual:[archiver archiverData]], @"Registered typed object data is not equal"); [archiver release]; [spam release]; @@ -348,9 +348,9 @@ - (void)testFlexDataTypes{ [NSNumber numberWithInt:2], [NSNumber numberWithInt:3], nil]], nil]]; - STAssertTrue([self assertDataOfFile:@"flexdatatypes_0.amf3" isEqualTo:coll], + XCTAssertTrue([self assertDataOfFile:@"flexdatatypes_0.amf3" isEqualTo:coll], @"ArrayCollections do not match."); - STAssertTrue([self assertEncodedObject:coll isEqualToContentsOfFile:@"flexdatatypes_0.amf3"], + XCTAssertTrue([self assertEncodedObject:coll isEqualToContentsOfFile:@"flexdatatypes_0.amf3"], @"ArrayCollection data is not equal"); [coll release]; } @@ -365,9 +365,9 @@ - (void)testOptions{ nil], nil]; [AMFUnarchiver setOptions:AMFUnarchiverUnpackArrayCollection]; [AMFArchiver setOptions:AMFArchiverPackArrayOption]; - STAssertTrue([self assertDataOfFile:@"flexdatatypes_0.amf3" isEqualTo:arr], + XCTAssertTrue([self assertDataOfFile:@"flexdatatypes_0.amf3" isEqualTo:arr], @"Arrays do not match."); - STAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"flexdatatypes_0.amf3"], + XCTAssertTrue([self assertEncodedObject:arr isEqualToContentsOfFile:@"flexdatatypes_0.amf3"], @"Array data is not equal"); [AMFUnarchiver setOptions:0]; [AMFArchiver setOptions:0]; @@ -375,23 +375,23 @@ - (void)testOptions{ - (void)testKeyedNonKeyedIntegrity{ WrongSerializedCustomObject *obj = [[WrongSerializedCustomObject alloc] init]; - STAssertThrows([AMFArchiver archivedDataWithRootObject:obj encoding:kAMF3Encoding], + XCTAssertThrows([AMFArchiver archivedDataWithRootObject:obj encoding:kAMF3Encoding], @"Keyed/non-keyed archiving was mixed without an exception"); [obj release]; } - (void)testExternalizable{ PlainStringEncoder *obj = [[PlainStringEncoder alloc] init]; - STAssertTrue([self assertDataOfFile:@"plainstringexternalizable_0.amf3" isEqualTo:obj], + XCTAssertTrue([self assertDataOfFile:@"plainstringexternalizable_0.amf3" isEqualTo:obj], @"Could not deserialize utf bytes"); - STAssertTrue([self assertEncodedObject:obj isEqualToContentsOfFile:@"plainstringexternalizable_0.amf3"], + XCTAssertTrue([self assertEncodedObject:obj isEqualToContentsOfFile:@"plainstringexternalizable_0.amf3"], @"Could not serialize utf bytes properly"); [obj release]; } - (void)testExternalizableData{ ExternalizableDataEncoder *obj = [[ExternalizableDataEncoder alloc] init]; - STAssertTrue([self assertEncodedObject:obj isEqualToContentsOfFile:@"externalizabledata.amf3"], + XCTAssertTrue([self assertEncodedObject:obj isEqualToContentsOfFile:@"externalizabledata.amf3"], @"Could not serialize externalizable data properly"); [obj release]; } @@ -423,7 +423,7 @@ - (void)testNestedExternalizable{ [unarchiver release]; [data release]; - STAssertTrue([parent isEqual:decodedParent], @"Original & decoded objects should be equal"); + XCTAssertTrue([parent isEqual:decodedParent], @"Original & decoded objects should be equal"); [subChild release]; [child release]; [parent release]; @@ -437,9 +437,9 @@ - (void)testByteArray{ [data appendBytes:&byte1 length:sizeof(uint8_t)]; [data appendBytes:&byte2 length:sizeof(uint8_t)]; [data appendBytes:&byte3 length:sizeof(uint8_t)]; - STAssertTrue([self assertDataOfFile:@"bytearray_0.amf3" isEqualTo:data], + XCTAssertTrue([self assertDataOfFile:@"bytearray_0.amf3" isEqualTo:data], @"Could not deserialize ByteArray properly"); - STAssertTrue([self assertEncodedObject:data isEqualToContentsOfFile:@"bytearray_0.amf3"], + XCTAssertTrue([self assertEncodedObject:data isEqualToContentsOfFile:@"bytearray_0.amf3"], @"Could not serialize ByteArray properly"); } -@end \ No newline at end of file +@end diff --git a/Tests/AbstractAMFTest.h b/Tests/AbstractAMFTest.h index 50330f4..b29f662 100644 --- a/Tests/AbstractAMFTest.h +++ b/Tests/AbstractAMFTest.h @@ -6,13 +6,10 @@ // Copyright 2009 nesiumdotcom. All rights reserved. // -#import -#import "AMF.h" -#import "AMFUnarchiver.h" -#import "AMFArchiver.h" +@import XCTest; +@import CocoaAMF; - -@interface AbstractAMFTest : SenTestCase{ +@interface AbstractAMFTest : XCTestCase { } - (NSString *)fullPathForTestFile:(NSString *)file version:(AMFEncoding *)version; - (AMFUnarchiver *)unarchiverForPath:(NSString *)path; @@ -26,4 +23,4 @@ NSString *x; } @property (nonatomic, retain) NSString *baz; -@end \ No newline at end of file +@end diff --git a/Tests/AbstractAMFTest.m b/Tests/AbstractAMFTest.m index e987ff9..241b49f 100644 --- a/Tests/AbstractAMFTest.m +++ b/Tests/AbstractAMFTest.m @@ -49,10 +49,7 @@ - (NSString *)fullPathForTestFile:(NSString *)file version:(AMFEncoding *)versio *version = [[[file pathExtension] lowercaseString] isEqual:@"amf0"] ? kAMF0Encoding : kAMF3Encoding; } - NSString *testDataPath = [[[[NSBundle bundleForClass:[self class]] bundlePath] - stringByDeletingLastPathComponent] stringByAppendingPathComponent:[[TEST_DATA_PATH - stringByAppendingPathComponent:[file pathExtension]] - stringByAppendingPathComponent:file]]; + NSString *testDataPath = [[[[NSBundle bundleForClass:[self class]] bundlePath] stringByAppendingPathComponent:@"Contents/Resources/"] stringByAppendingPathComponent:file]; return testDataPath; } @@ -83,4 +80,4 @@ - (void)encodeWithCoder:(NSCoder *)coder{ [coder encodeObject:baz forKey:@"baz"]; } -@end \ No newline at end of file +@end diff --git a/Tests/Info.plist b/Tests/Info.plist new file mode 100644 index 0000000..6c40a6c --- /dev/null +++ b/Tests/Info.plist @@ -0,0 +1,22 @@ + + + + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + + diff --git a/Tests/Tests-Info.plist b/Tests/Tests-Info.plist index 6501355..460a7d9 100644 --- a/Tests/Tests-Info.plist +++ b/Tests/Tests-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - com.yourcompany.${PRODUCT_NAME:identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType