diff --git a/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo/Class/NSBundle+AppLanguageSwitch.h b/Class/NSBundle+AppLanguageSwitch.h similarity index 100% rename from iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo/Class/NSBundle+AppLanguageSwitch.h rename to Class/NSBundle+AppLanguageSwitch.h diff --git a/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo/Class/NSBundle+AppLanguageSwitch.m b/Class/NSBundle+AppLanguageSwitch.m similarity index 100% rename from iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo/Class/NSBundle+AppLanguageSwitch.m rename to Class/NSBundle+AppLanguageSwitch.m diff --git a/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.pbxproj b/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.pbxproj index fa49bf9..66ed24f 100644 --- a/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.pbxproj +++ b/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.pbxproj @@ -7,11 +7,11 @@ objects = { /* Begin PBXBuildFile section */ + 4B019CFE1EF244A90098CDC8 /* NSBundle+AppLanguageSwitch.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B019CFD1EF244A90098CDC8 /* NSBundle+AppLanguageSwitch.m */; }; 4B32F1AD1EEFDE840066445B /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B32F1AC1EEFDE840066445B /* main.m */; }; 4B32F1B01EEFDE840066445B /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B32F1AF1EEFDE840066445B /* AppDelegate.m */; }; 4B32F1B81EEFDE840066445B /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 4B32F1B71EEFDE840066445B /* Assets.xcassets */; }; 4B32F1BB1EEFDE840066445B /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 4B32F1B91EEFDE840066445B /* LaunchScreen.storyboard */; }; - 4B32F1C51EEFDEF40066445B /* NSBundle+AppLanguageSwitch.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B32F1C41EEFDEF40066445B /* NSBundle+AppLanguageSwitch.m */; }; 4B32F1CA1EEFE7C10066445B /* FirstViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B32F1C81EEFE7C10066445B /* FirstViewController.m */; }; 4B32F1CF1EEFE7DA0066445B /* SecondViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 4B32F1CD1EEFE7D90066445B /* SecondViewController.m */; }; 4B32F1D11EEFE8A40066445B /* FirstViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 4B32F1D31EEFE8A40066445B /* FirstViewController.xib */; }; @@ -23,6 +23,8 @@ /* End PBXBuildFile section */ /* Begin PBXFileReference section */ + 4B019CFC1EF244A90098CDC8 /* NSBundle+AppLanguageSwitch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSBundle+AppLanguageSwitch.h"; sourceTree = ""; }; + 4B019CFD1EF244A90098CDC8 /* NSBundle+AppLanguageSwitch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSBundle+AppLanguageSwitch.m"; sourceTree = ""; }; 4B32F1A81EEFDE840066445B /* iOSAppLanguageSwitchDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iOSAppLanguageSwitchDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 4B32F1AC1EEFDE840066445B /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 4B32F1AE1EEFDE840066445B /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; @@ -30,8 +32,6 @@ 4B32F1B71EEFDE840066445B /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 4B32F1BA1EEFDE840066445B /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 4B32F1BC1EEFDE840066445B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 4B32F1C31EEFDEF40066445B /* NSBundle+AppLanguageSwitch.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSBundle+AppLanguageSwitch.h"; sourceTree = ""; }; - 4B32F1C41EEFDEF40066445B /* NSBundle+AppLanguageSwitch.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSBundle+AppLanguageSwitch.m"; sourceTree = ""; }; 4B32F1C61EEFE7A50066445B /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = ""; }; 4B32F1C71EEFE7C10066445B /* FirstViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = FirstViewController.h; sourceTree = ""; }; 4B32F1C81EEFE7C10066445B /* FirstViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = FirstViewController.m; sourceTree = ""; }; @@ -67,10 +67,21 @@ /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 4B019CFB1EF244A90098CDC8 /* Class */ = { + isa = PBXGroup; + children = ( + 4B019CFC1EF244A90098CDC8 /* NSBundle+AppLanguageSwitch.h */, + 4B019CFD1EF244A90098CDC8 /* NSBundle+AppLanguageSwitch.m */, + ); + name = Class; + path = ../Class; + sourceTree = ""; + }; 4B32F19F1EEFDE840066445B = { isa = PBXGroup; children = ( 4B32F1AA1EEFDE840066445B /* iOSAppLanguageSwitchDemo */, + 4B019CFB1EF244A90098CDC8 /* Class */, 4B32F1A91EEFDE840066445B /* Products */, ); sourceTree = ""; @@ -97,7 +108,6 @@ 4B32F1FF1EF002D90066445B /* ThirdViewController.h */, 4B32F2001EF002D90066445B /* ThirdViewController.m */, 4B32F2061EF003E40066445B /* ThirdViewController.xib */, - 4B32F1C21EEFDEBE0066445B /* Class */, 4B32F1B71EEFDE840066445B /* Assets.xcassets */, 4B32F1B91EEFDE840066445B /* LaunchScreen.storyboard */, 4B32F1BC1EEFDE840066445B /* Info.plist */, @@ -116,15 +126,6 @@ name = "Supporting Files"; sourceTree = ""; }; - 4B32F1C21EEFDEBE0066445B /* Class */ = { - isa = PBXGroup; - children = ( - 4B32F1C31EEFDEF40066445B /* NSBundle+AppLanguageSwitch.h */, - 4B32F1C41EEFDEF40066445B /* NSBundle+AppLanguageSwitch.m */, - ); - path = Class; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -202,8 +203,8 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + 4B019CFE1EF244A90098CDC8 /* NSBundle+AppLanguageSwitch.m in Sources */, 4B32F1CF1EEFE7DA0066445B /* SecondViewController.m in Sources */, - 4B32F1C51EEFDEF40066445B /* NSBundle+AppLanguageSwitch.m in Sources */, 4B32F2021EF002D90066445B /* ThirdViewController.m in Sources */, 4B32F1B01EEFDE840066445B /* AppDelegate.m in Sources */, 4B32F1AD1EEFDE840066445B /* main.m in Sources */, diff --git a/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.xcworkspace/xcuserdata/zengqingfu.xcuserdatad/UserInterfaceState.xcuserstate b/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.xcworkspace/xcuserdata/zengqingfu.xcuserdatad/UserInterfaceState.xcuserstate index 053e213..bbb2cb4 100644 Binary files a/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.xcworkspace/xcuserdata/zengqingfu.xcuserdatad/UserInterfaceState.xcuserstate and b/iOSAppLanguageSwitchDemo/iOSAppLanguageSwitchDemo.xcodeproj/project.xcworkspace/xcuserdata/zengqingfu.xcuserdatad/UserInterfaceState.xcuserstate differ