diff --git a/SwiftyXMLParser.xcodeproj/project.xcworkspace/xcuserdata/kahayash.xcuserdatad/UserInterfaceState.xcuserstate b/SwiftyXMLParser.xcodeproj/project.xcworkspace/xcuserdata/kahayash.xcuserdatad/UserInterfaceState.xcuserstate
deleted file mode 100644
index 6e0ee88..0000000
Binary files a/SwiftyXMLParser.xcodeproj/project.xcworkspace/xcuserdata/kahayash.xcuserdatad/UserInterfaceState.xcuserstate and /dev/null differ
diff --git a/SwiftyXMLParser.xcworkspace/contents.xcworkspacedata b/SwiftyXMLParser.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..a5842e3
--- /dev/null
+++ b/SwiftyXMLParser.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
diff --git a/SwiftyXMLParser.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/SwiftyXMLParser.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/SwiftyXMLParser.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/SwiftyXMLParser.xcworkspace/xcuserdata/kahayash.xcuserdatad/UserInterfaceState.xcuserstate b/SwiftyXMLParser.xcworkspace/xcuserdata/kahayash.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..57d07fa
Binary files /dev/null and b/SwiftyXMLParser.xcworkspace/xcuserdata/kahayash.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/iOS Sample/SwiftyXMLParser.playground/Contents.swift b/iOS Sample/SwiftyXMLParser.playground/Contents.swift
index 93eb567..370a46b 100644
--- a/iOS Sample/SwiftyXMLParser.playground/Contents.swift
+++ b/iOS Sample/SwiftyXMLParser.playground/Contents.swift
@@ -25,6 +25,9 @@ if let text = xml["ResultSet", "Result", "Hit", 0, "Name"].text {
print(text)
}
+let texts = xml["ResultSet", "Result", "Hit"].compactMap({ $0.Name.text })
+print(texts)
+
if let text = xml.ResultSet.Result.Hit[0].Name.text {
print(text)
}
diff --git a/iOS Sample/iOS Sample.xcodeproj/project.pbxproj b/iOS Sample/iOS Sample.xcodeproj/project.pbxproj
new file mode 100644
index 0000000..5dd77c9
--- /dev/null
+++ b/iOS Sample/iOS Sample.xcodeproj/project.pbxproj
@@ -0,0 +1,599 @@
+// !$*UTF8*$!
+{
+ archiveVersion = 1;
+ classes = {
+ };
+ objectVersion = 50;
+ objects = {
+
+/* Begin PBXBuildFile section */
+ 2B7F2E31217DC3A700523F2E /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B7F2E30217DC3A700523F2E /* AppDelegate.swift */; };
+ 2B7F2E33217DC3A700523F2E /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B7F2E32217DC3A700523F2E /* ViewController.swift */; };
+ 2B7F2E36217DC3A700523F2E /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2B7F2E34217DC3A700523F2E /* Main.storyboard */; };
+ 2B7F2E38217DC3A900523F2E /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2B7F2E37217DC3A900523F2E /* Assets.xcassets */; };
+ 2B7F2E3B217DC3A900523F2E /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2B7F2E39217DC3A900523F2E /* LaunchScreen.storyboard */; };
+ 2B7F2E46217DC3A900523F2E /* iOS_SampleTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B7F2E45217DC3A900523F2E /* iOS_SampleTests.swift */; };
+ 2B7F2E51217DC3A900523F2E /* iOS_SampleUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B7F2E50217DC3A900523F2E /* iOS_SampleUITests.swift */; };
+ 2B7F2E60217DC42600523F2E /* SwiftyXMLParser.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2B7F2E5F217DC42600523F2E /* SwiftyXMLParser.framework */; };
+/* End PBXBuildFile section */
+
+/* Begin PBXContainerItemProxy section */
+ 2B7F2E42217DC3A900523F2E /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 2B7F2E25217DC3A700523F2E /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 2B7F2E2C217DC3A700523F2E;
+ remoteInfo = "iOS Sample";
+ };
+ 2B7F2E4D217DC3A900523F2E /* PBXContainerItemProxy */ = {
+ isa = PBXContainerItemProxy;
+ containerPortal = 2B7F2E25217DC3A700523F2E /* Project object */;
+ proxyType = 1;
+ remoteGlobalIDString = 2B7F2E2C217DC3A700523F2E;
+ remoteInfo = "iOS Sample";
+ };
+/* End PBXContainerItemProxy section */
+
+/* Begin PBXFileReference section */
+ 2B7F2E2D217DC3A700523F2E /* iOS Sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS Sample.app"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 2B7F2E30217DC3A700523F2E /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; };
+ 2B7F2E32217DC3A700523F2E /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; };
+ 2B7F2E35217DC3A700523F2E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; };
+ 2B7F2E37217DC3A900523F2E /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; };
+ 2B7F2E3A217DC3A900523F2E /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; };
+ 2B7F2E3C217DC3A900523F2E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ 2B7F2E41217DC3A900523F2E /* iOS SampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOS SampleTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 2B7F2E45217DC3A900523F2E /* iOS_SampleTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iOS_SampleTests.swift; sourceTree = ""; };
+ 2B7F2E47217DC3A900523F2E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ 2B7F2E4C217DC3A900523F2E /* iOS SampleUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOS SampleUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 2B7F2E50217DC3A900523F2E /* iOS_SampleUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iOS_SampleUITests.swift; sourceTree = ""; };
+ 2B7F2E52217DC3A900523F2E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; };
+ 2B7F2E5F217DC42600523F2E /* SwiftyXMLParser.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = SwiftyXMLParser.framework; sourceTree = BUILT_PRODUCTS_DIR; };
+ 2B7F2E61217DC45400523F2E /* SwiftyXMLParser.playground */ = {isa = PBXFileReference; lastKnownFileType = file.playground; path = SwiftyXMLParser.playground; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.swift; };
+/* End PBXFileReference section */
+
+/* Begin PBXFrameworksBuildPhase section */
+ 2B7F2E2A217DC3A700523F2E /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 2B7F2E60217DC42600523F2E /* SwiftyXMLParser.framework in Frameworks */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 2B7F2E3E217DC3A900523F2E /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 2B7F2E49217DC3A900523F2E /* Frameworks */ = {
+ isa = PBXFrameworksBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXFrameworksBuildPhase section */
+
+/* Begin PBXGroup section */
+ 2B7F2E24217DC3A700523F2E = {
+ isa = PBXGroup;
+ children = (
+ 2B7F2E61217DC45400523F2E /* SwiftyXMLParser.playground */,
+ 2B7F2E2F217DC3A700523F2E /* iOS Sample */,
+ 2B7F2E44217DC3A900523F2E /* iOS SampleTests */,
+ 2B7F2E4F217DC3A900523F2E /* iOS SampleUITests */,
+ 2B7F2E2E217DC3A700523F2E /* Products */,
+ 2B7F2E5E217DC42600523F2E /* Frameworks */,
+ );
+ sourceTree = "";
+ };
+ 2B7F2E2E217DC3A700523F2E /* Products */ = {
+ isa = PBXGroup;
+ children = (
+ 2B7F2E2D217DC3A700523F2E /* iOS Sample.app */,
+ 2B7F2E41217DC3A900523F2E /* iOS SampleTests.xctest */,
+ 2B7F2E4C217DC3A900523F2E /* iOS SampleUITests.xctest */,
+ );
+ name = Products;
+ sourceTree = "";
+ };
+ 2B7F2E2F217DC3A700523F2E /* iOS Sample */ = {
+ isa = PBXGroup;
+ children = (
+ 2B7F2E30217DC3A700523F2E /* AppDelegate.swift */,
+ 2B7F2E32217DC3A700523F2E /* ViewController.swift */,
+ 2B7F2E34217DC3A700523F2E /* Main.storyboard */,
+ 2B7F2E37217DC3A900523F2E /* Assets.xcassets */,
+ 2B7F2E39217DC3A900523F2E /* LaunchScreen.storyboard */,
+ 2B7F2E3C217DC3A900523F2E /* Info.plist */,
+ );
+ path = "iOS Sample";
+ sourceTree = "";
+ };
+ 2B7F2E44217DC3A900523F2E /* iOS SampleTests */ = {
+ isa = PBXGroup;
+ children = (
+ 2B7F2E45217DC3A900523F2E /* iOS_SampleTests.swift */,
+ 2B7F2E47217DC3A900523F2E /* Info.plist */,
+ );
+ path = "iOS SampleTests";
+ sourceTree = "";
+ };
+ 2B7F2E4F217DC3A900523F2E /* iOS SampleUITests */ = {
+ isa = PBXGroup;
+ children = (
+ 2B7F2E50217DC3A900523F2E /* iOS_SampleUITests.swift */,
+ 2B7F2E52217DC3A900523F2E /* Info.plist */,
+ );
+ path = "iOS SampleUITests";
+ sourceTree = "";
+ };
+ 2B7F2E5E217DC42600523F2E /* Frameworks */ = {
+ isa = PBXGroup;
+ children = (
+ 2B7F2E5F217DC42600523F2E /* SwiftyXMLParser.framework */,
+ );
+ name = Frameworks;
+ sourceTree = "";
+ };
+/* End PBXGroup section */
+
+/* Begin PBXNativeTarget section */
+ 2B7F2E2C217DC3A700523F2E /* iOS Sample */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 2B7F2E55217DC3A900523F2E /* Build configuration list for PBXNativeTarget "iOS Sample" */;
+ buildPhases = (
+ 2B7F2E29217DC3A700523F2E /* Sources */,
+ 2B7F2E2A217DC3A700523F2E /* Frameworks */,
+ 2B7F2E2B217DC3A700523F2E /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ );
+ name = "iOS Sample";
+ productName = "iOS Sample";
+ productReference = 2B7F2E2D217DC3A700523F2E /* iOS Sample.app */;
+ productType = "com.apple.product-type.application";
+ };
+ 2B7F2E40217DC3A900523F2E /* iOS SampleTests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 2B7F2E58217DC3A900523F2E /* Build configuration list for PBXNativeTarget "iOS SampleTests" */;
+ buildPhases = (
+ 2B7F2E3D217DC3A900523F2E /* Sources */,
+ 2B7F2E3E217DC3A900523F2E /* Frameworks */,
+ 2B7F2E3F217DC3A900523F2E /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 2B7F2E43217DC3A900523F2E /* PBXTargetDependency */,
+ );
+ name = "iOS SampleTests";
+ productName = "iOS SampleTests";
+ productReference = 2B7F2E41217DC3A900523F2E /* iOS SampleTests.xctest */;
+ productType = "com.apple.product-type.bundle.unit-test";
+ };
+ 2B7F2E4B217DC3A900523F2E /* iOS SampleUITests */ = {
+ isa = PBXNativeTarget;
+ buildConfigurationList = 2B7F2E5B217DC3A900523F2E /* Build configuration list for PBXNativeTarget "iOS SampleUITests" */;
+ buildPhases = (
+ 2B7F2E48217DC3A900523F2E /* Sources */,
+ 2B7F2E49217DC3A900523F2E /* Frameworks */,
+ 2B7F2E4A217DC3A900523F2E /* Resources */,
+ );
+ buildRules = (
+ );
+ dependencies = (
+ 2B7F2E4E217DC3A900523F2E /* PBXTargetDependency */,
+ );
+ name = "iOS SampleUITests";
+ productName = "iOS SampleUITests";
+ productReference = 2B7F2E4C217DC3A900523F2E /* iOS SampleUITests.xctest */;
+ productType = "com.apple.product-type.bundle.ui-testing";
+ };
+/* End PBXNativeTarget section */
+
+/* Begin PBXProject section */
+ 2B7F2E25217DC3A700523F2E /* Project object */ = {
+ isa = PBXProject;
+ attributes = {
+ LastSwiftUpdateCheck = 1000;
+ LastUpgradeCheck = 1000;
+ ORGANIZATIONNAME = "Yahoo Japan Corporation";
+ TargetAttributes = {
+ 2B7F2E2C217DC3A700523F2E = {
+ CreatedOnToolsVersion = 10.0;
+ };
+ 2B7F2E40217DC3A900523F2E = {
+ CreatedOnToolsVersion = 10.0;
+ TestTargetID = 2B7F2E2C217DC3A700523F2E;
+ };
+ 2B7F2E4B217DC3A900523F2E = {
+ CreatedOnToolsVersion = 10.0;
+ TestTargetID = 2B7F2E2C217DC3A700523F2E;
+ };
+ };
+ };
+ buildConfigurationList = 2B7F2E28217DC3A700523F2E /* Build configuration list for PBXProject "iOS Sample" */;
+ compatibilityVersion = "Xcode 9.3";
+ developmentRegion = en;
+ hasScannedForEncodings = 0;
+ knownRegions = (
+ en,
+ Base,
+ );
+ mainGroup = 2B7F2E24217DC3A700523F2E;
+ productRefGroup = 2B7F2E2E217DC3A700523F2E /* Products */;
+ projectDirPath = "";
+ projectRoot = "";
+ targets = (
+ 2B7F2E2C217DC3A700523F2E /* iOS Sample */,
+ 2B7F2E40217DC3A900523F2E /* iOS SampleTests */,
+ 2B7F2E4B217DC3A900523F2E /* iOS SampleUITests */,
+ );
+ };
+/* End PBXProject section */
+
+/* Begin PBXResourcesBuildPhase section */
+ 2B7F2E2B217DC3A700523F2E /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 2B7F2E3B217DC3A900523F2E /* LaunchScreen.storyboard in Resources */,
+ 2B7F2E38217DC3A900523F2E /* Assets.xcassets in Resources */,
+ 2B7F2E36217DC3A700523F2E /* Main.storyboard in Resources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 2B7F2E3F217DC3A900523F2E /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 2B7F2E4A217DC3A900523F2E /* Resources */ = {
+ isa = PBXResourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXResourcesBuildPhase section */
+
+/* Begin PBXSourcesBuildPhase section */
+ 2B7F2E29217DC3A700523F2E /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 2B7F2E33217DC3A700523F2E /* ViewController.swift in Sources */,
+ 2B7F2E31217DC3A700523F2E /* AppDelegate.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 2B7F2E3D217DC3A900523F2E /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 2B7F2E46217DC3A900523F2E /* iOS_SampleTests.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+ 2B7F2E48217DC3A900523F2E /* Sources */ = {
+ isa = PBXSourcesBuildPhase;
+ buildActionMask = 2147483647;
+ files = (
+ 2B7F2E51217DC3A900523F2E /* iOS_SampleUITests.swift in Sources */,
+ );
+ runOnlyForDeploymentPostprocessing = 0;
+ };
+/* End PBXSourcesBuildPhase section */
+
+/* Begin PBXTargetDependency section */
+ 2B7F2E43217DC3A900523F2E /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 2B7F2E2C217DC3A700523F2E /* iOS Sample */;
+ targetProxy = 2B7F2E42217DC3A900523F2E /* PBXContainerItemProxy */;
+ };
+ 2B7F2E4E217DC3A900523F2E /* PBXTargetDependency */ = {
+ isa = PBXTargetDependency;
+ target = 2B7F2E2C217DC3A700523F2E /* iOS Sample */;
+ targetProxy = 2B7F2E4D217DC3A900523F2E /* PBXContainerItemProxy */;
+ };
+/* End PBXTargetDependency section */
+
+/* Begin PBXVariantGroup section */
+ 2B7F2E34217DC3A700523F2E /* Main.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 2B7F2E35217DC3A700523F2E /* Base */,
+ );
+ name = Main.storyboard;
+ sourceTree = "";
+ };
+ 2B7F2E39217DC3A900523F2E /* LaunchScreen.storyboard */ = {
+ isa = PBXVariantGroup;
+ children = (
+ 2B7F2E3A217DC3A900523F2E /* Base */,
+ );
+ name = LaunchScreen.storyboard;
+ sourceTree = "";
+ };
+/* End PBXVariantGroup section */
+
+/* Begin XCBuildConfiguration section */
+ 2B7F2E53217DC3A900523F2E /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ 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 = YES;
+ CLANG_ENABLE_OBJC_WEAK = 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = 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_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ CODE_SIGN_IDENTITY = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = dwarf;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ ENABLE_TESTABILITY = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_DYNAMIC_NO_PIC = NO;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_OPTIMIZATION_LEVEL = 0;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "DEBUG=1",
+ "$(inherited)",
+ );
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
+ MTL_FAST_MATH = YES;
+ ONLY_ACTIVE_ARCH = YES;
+ SDKROOT = iphoneos;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
+ };
+ name = Debug;
+ };
+ 2B7F2E54217DC3A900523F2E /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_SEARCH_USER_PATHS = NO;
+ 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 = YES;
+ CLANG_ENABLE_OBJC_WEAK = 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_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
+ CLANG_WARN_DOCUMENTATION_COMMENTS = 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_OBJC_ROOT_CLASS = YES_ERROR;
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
+ CLANG_WARN_UNREACHABLE_CODE = YES;
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
+ CODE_SIGN_IDENTITY = "iPhone Developer";
+ COPY_PHASE_STRIP = NO;
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
+ ENABLE_NS_ASSERTIONS = NO;
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
+ GCC_C_LANGUAGE_STANDARD = gnu11;
+ GCC_NO_COMMON_BLOCKS = YES;
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
+ GCC_WARN_UNUSED_FUNCTION = YES;
+ GCC_WARN_UNUSED_VARIABLE = YES;
+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;
+ MTL_ENABLE_DEBUG_INFO = NO;
+ MTL_FAST_MATH = YES;
+ SDKROOT = iphoneos;
+ SWIFT_COMPILATION_MODE = wholemodule;
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
+ VALIDATE_PRODUCT = YES;
+ };
+ name = Release;
+ };
+ 2B7F2E56217DC3A900523F2E /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CODE_SIGN_STYLE = Automatic;
+ INFOPLIST_FILE = "iOS Sample/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "jp.co.yahoo.SwiftyXMLParser.iOS-Sample";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 4.2;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Debug;
+ };
+ 2B7F2E57217DC3A900523F2E /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
+ CODE_SIGN_STYLE = Automatic;
+ INFOPLIST_FILE = "iOS Sample/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "jp.co.yahoo.SwiftyXMLParser.iOS-Sample";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 4.2;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ };
+ name = Release;
+ };
+ 2B7F2E59217DC3A900523F2E /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ INFOPLIST_FILE = "iOS SampleTests/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "jp.co.yahoo.SwiftyXMLParser.iOS-SampleTests";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 4.2;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOS Sample.app/iOS Sample";
+ };
+ name = Debug;
+ };
+ 2B7F2E5A217DC3A900523F2E /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
+ BUNDLE_LOADER = "$(TEST_HOST)";
+ CODE_SIGN_STYLE = Automatic;
+ INFOPLIST_FILE = "iOS SampleTests/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "jp.co.yahoo.SwiftyXMLParser.iOS-SampleTests";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 4.2;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOS Sample.app/iOS Sample";
+ };
+ name = Release;
+ };
+ 2B7F2E5C217DC3A900523F2E /* Debug */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
+ CODE_SIGN_STYLE = Automatic;
+ INFOPLIST_FILE = "iOS SampleUITests/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "jp.co.yahoo.SwiftyXMLParser.iOS-SampleUITests";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 4.2;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ TEST_TARGET_NAME = "iOS Sample";
+ };
+ name = Debug;
+ };
+ 2B7F2E5D217DC3A900523F2E /* Release */ = {
+ isa = XCBuildConfiguration;
+ buildSettings = {
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
+ CODE_SIGN_STYLE = Automatic;
+ INFOPLIST_FILE = "iOS SampleUITests/Info.plist";
+ LD_RUNPATH_SEARCH_PATHS = (
+ "$(inherited)",
+ "@executable_path/Frameworks",
+ "@loader_path/Frameworks",
+ );
+ PRODUCT_BUNDLE_IDENTIFIER = "jp.co.yahoo.SwiftyXMLParser.iOS-SampleUITests";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SWIFT_VERSION = 4.2;
+ TARGETED_DEVICE_FAMILY = "1,2";
+ TEST_TARGET_NAME = "iOS Sample";
+ };
+ name = Release;
+ };
+/* End XCBuildConfiguration section */
+
+/* Begin XCConfigurationList section */
+ 2B7F2E28217DC3A700523F2E /* Build configuration list for PBXProject "iOS Sample" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 2B7F2E53217DC3A900523F2E /* Debug */,
+ 2B7F2E54217DC3A900523F2E /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 2B7F2E55217DC3A900523F2E /* Build configuration list for PBXNativeTarget "iOS Sample" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 2B7F2E56217DC3A900523F2E /* Debug */,
+ 2B7F2E57217DC3A900523F2E /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 2B7F2E58217DC3A900523F2E /* Build configuration list for PBXNativeTarget "iOS SampleTests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 2B7F2E59217DC3A900523F2E /* Debug */,
+ 2B7F2E5A217DC3A900523F2E /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+ 2B7F2E5B217DC3A900523F2E /* Build configuration list for PBXNativeTarget "iOS SampleUITests" */ = {
+ isa = XCConfigurationList;
+ buildConfigurations = (
+ 2B7F2E5C217DC3A900523F2E /* Debug */,
+ 2B7F2E5D217DC3A900523F2E /* Release */,
+ );
+ defaultConfigurationIsVisible = 0;
+ defaultConfigurationName = Release;
+ };
+/* End XCConfigurationList section */
+ };
+ rootObject = 2B7F2E25217DC3A700523F2E /* Project object */;
+}
diff --git a/iOS Sample/iOS Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/iOS Sample/iOS Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file mode 100644
index 0000000..05cf205
--- /dev/null
+++ b/iOS Sample/iOS Sample.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -0,0 +1,7 @@
+
+
+
+
+
diff --git a/iOS Sample/iOS Sample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/iOS Sample/iOS Sample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file mode 100644
index 0000000..18d9810
--- /dev/null
+++ b/iOS Sample/iOS Sample.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEDidComputeMac32BitWarning
+
+
+
diff --git a/iOS Sample/iOS Sample.xcodeproj/project.xcworkspace/xcuserdata/kahayash.xcuserdatad/UserInterfaceState.xcuserstate b/iOS Sample/iOS Sample.xcodeproj/project.xcworkspace/xcuserdata/kahayash.xcuserdatad/UserInterfaceState.xcuserstate
new file mode 100644
index 0000000..0dee19f
Binary files /dev/null and b/iOS Sample/iOS Sample.xcodeproj/project.xcworkspace/xcuserdata/kahayash.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/iOS Sample/iOS Sample.xcodeproj/xcuserdata/kahayash.xcuserdatad/xcschemes/xcschememanagement.plist b/iOS Sample/iOS Sample.xcodeproj/xcuserdata/kahayash.xcuserdatad/xcschemes/xcschememanagement.plist
new file mode 100644
index 0000000..39eb1ee
--- /dev/null
+++ b/iOS Sample/iOS Sample.xcodeproj/xcuserdata/kahayash.xcuserdatad/xcschemes/xcschememanagement.plist
@@ -0,0 +1,14 @@
+
+
+
+
+ SchemeUserState
+
+ iOS Sample.xcscheme
+
+ orderHint
+ 1
+
+
+
+
diff --git a/iOS Sample/iOS Sample/AppDelegate.swift b/iOS Sample/iOS Sample/AppDelegate.swift
index cd9fe66..4c41a01 100644
--- a/iOS Sample/iOS Sample/AppDelegate.swift
+++ b/iOS Sample/iOS Sample/AppDelegate.swift
@@ -2,8 +2,8 @@
// AppDelegate.swift
// iOS Sample
//
-// Created by Kazuhiro Hayashi on 2018/07/02.
-// Copyright © 2018年 Kazuhiro Hayashi. All rights reserved.
+// Created by kahayash on 2018/10/22.
+// Copyright © 2018 Yahoo Japan Corporation. All rights reserved.
//
import UIKit
diff --git a/iOS Sample/iOS Sample/ViewController.swift b/iOS Sample/iOS Sample/ViewController.swift
index 101db3b..9ec7fa6 100644
--- a/iOS Sample/iOS Sample/ViewController.swift
+++ b/iOS Sample/iOS Sample/ViewController.swift
@@ -2,11 +2,12 @@
// ViewController.swift
// iOS Sample
//
-// Created by Kazuhiro Hayashi on 2018/07/02.
-// Copyright © 2018年 Kazuhiro Hayashi. All rights reserved.
+// Created by kahayash on 2018/10/22.
+// Copyright © 2018 Yahoo Japan Corporation. All rights reserved.
//
import UIKit
+import SwiftyXMLParser
class ViewController: UIViewController {
diff --git a/iOS Sample/iOS SampleTests/iOS_SampleTests.swift b/iOS Sample/iOS SampleTests/iOS_SampleTests.swift
index 8551d33..d37b1d8 100644
--- a/iOS Sample/iOS SampleTests/iOS_SampleTests.swift
+++ b/iOS Sample/iOS SampleTests/iOS_SampleTests.swift
@@ -2,35 +2,33 @@
// iOS_SampleTests.swift
// iOS SampleTests
//
-// Created by Kazuhiro Hayashi on 2018/07/02.
-// Copyright © 2018年 Kazuhiro Hayashi. All rights reserved.
+// Created by kahayash on 2018/10/22.
+// Copyright © 2018 Yahoo Japan Corporation. All rights reserved.
//
import XCTest
@testable import iOS_Sample
class iOS_SampleTests: XCTestCase {
-
+
override func setUp() {
- super.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.
- super.tearDown()
}
-
+
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/iOS Sample/iOS SampleUITests/iOS_SampleUITests.swift b/iOS Sample/iOS SampleUITests/iOS_SampleUITests.swift
index 8f891ec..fea5280 100644
--- a/iOS Sample/iOS SampleUITests/iOS_SampleUITests.swift
+++ b/iOS Sample/iOS SampleUITests/iOS_SampleUITests.swift
@@ -2,35 +2,33 @@
// iOS_SampleUITests.swift
// iOS SampleUITests
//
-// Created by Kazuhiro Hayashi on 2018/07/02.
-// Copyright © 2018年 Kazuhiro Hayashi. All rights reserved.
+// Created by kahayash on 2018/10/22.
+// Copyright © 2018 Yahoo Japan Corporation. All rights reserved.
//
import XCTest
class iOS_SampleUITests: XCTestCase {
-
+
override func setUp() {
- super.setUp()
-
// Put setup code here. This method is called before the invocation of each test method in the class.
-
+
// In UI tests it is usually best to stop immediately when a failure occurs.
continueAfterFailure = false
+
// UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
XCUIApplication().launch()
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
}
-
+
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
- super.tearDown()
}
-
+
func testExample() {
// Use recording to get started writing UI tests.
// Use XCTAssert and related functions to verify your tests produce the correct results.
}
-
+
}