diff --git a/.gitignore b/.gitignore index ba5a8b3..8b49d68 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ # Xcode build/ +.build/ *.pbxuser !default.pbxuser *.mode1v3 @@ -18,6 +19,7 @@ profile DerivedData *.hmap *.ipa +Package.resolved # Generated files VersionX-revision.h diff --git a/OpenIMSDK.podspec b/OpenIMSDK.podspec index 8eba77b..dfae831 100644 --- a/OpenIMSDK.podspec +++ b/OpenIMSDK.podspec @@ -28,23 +28,23 @@ Pod::Spec.new do |s| s.ios.deployment_target = '11.0' - s.source_files = 'OpenIMSDK/OpenIMSDK.{h,m}' + s.source_files = 'Sources/OpenIMSDK/OpenIMSDK.{h,m}' s.subspec 'Utils' do |ss| - ss.source_files = 'OpenIMSDK/Utils/*.{h,m}' + ss.source_files = 'Sources/OpenIMSDK/Utils/*.{h,m}' end s.subspec 'CallbackProxy' do |ss| ss.dependency 'OpenIMSDK/Utils' - ss.source_files = 'OpenIMSDK/CallbackProxy/*.{h,m}' + ss.source_files = 'Sources/OpenIMSDK/CallbackProxy/*.{h,m}' end s.subspec 'Model' do |ss| ss.dependency 'OpenIMSDK/Utils' - ss.source_files = 'OpenIMSDK/Model/*.{h,m}' + ss.source_files = 'Sources/OpenIMSDK/Model/*.{h,m}' end s.subspec 'Interface' do |ss| @@ -52,14 +52,14 @@ Pod::Spec.new do |s| ss.dependency 'OpenIMSDK/CallbackProxy' ss.dependency 'OpenIMSDK/Callbacker' - ss.source_files = 'OpenIMSDK/Interface/*.{h,m}' + ss.source_files = 'Sources/OpenIMSDK/Interface/*.{h,m}' end s.subspec 'Callbacker' do |ss| ss.dependency 'OpenIMSDK/Model' ss.dependency 'OpenIMSDK/Utils' - ss.source_files = 'OpenIMSDK/Callbacker/*.{h,m}' + ss.source_files = 'Sources/OpenIMSDK/Callbacker/*.{h,m}' end valid_archs = ['armv7s','arm64','x86_64'] diff --git a/Package.swift b/Package.swift new file mode 100644 index 0000000..b06b009 --- /dev/null +++ b/Package.swift @@ -0,0 +1,29 @@ +// swift-tools-version:5.5 +import PackageDescription + +let package = Package( + name: "OpenIMSDK", + platforms: [ + .iOS(.v11) + ], + products: [ + .library(name: "OpenIMSDK", targets: ["OpenIMSDK"]) + ], + dependencies: [ + .package(url: "https://github.com/CoderMJLee/MJExtension.git", from: "3.0.0") + ], + targets: [ + .target( + name: "OpenIMSDK", + dependencies: [ + "MJExtension" + ], + path: "Sources", + publicHeadersPath: ".", + cSettings: [ + .headerSearchPath(".") + ] + ) + ], + cxxLanguageStandard: .cxx14 +) diff --git a/README.md b/README.md index 05d77c8..490faad 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,16 @@ For the SDK reference, see [Quick Start guide](https://docs.openim.io/sdks/quick ### Adding Dependencies -```ruby -pod 'OpenIMSDK' +```swift +// swift-tools-version:5.5 +import PackageDescription + +let package = Package( + name: "YOUR_PROJECT_NAME", + dependencies: [ + .package(url: "https://github.com/bc1pjerry/open-im-sdk-ios.git", from: "4.0.0"), + ] +) ``` ## Usage 🚀 diff --git a/OpenIMSDK/CallbackProxy/CallbackProxy.h b/Sources/OpenIMSDK/CallbackProxy/CallbackProxy.h similarity index 100% rename from OpenIMSDK/CallbackProxy/CallbackProxy.h rename to Sources/OpenIMSDK/CallbackProxy/CallbackProxy.h diff --git a/OpenIMSDK/CallbackProxy/CallbackProxy.m b/Sources/OpenIMSDK/CallbackProxy/CallbackProxy.m similarity index 100% rename from OpenIMSDK/CallbackProxy/CallbackProxy.m rename to Sources/OpenIMSDK/CallbackProxy/CallbackProxy.m diff --git a/OpenIMSDK/CallbackProxy/SendMessageCallbackProxy.h b/Sources/OpenIMSDK/CallbackProxy/SendMessageCallbackProxy.h similarity index 100% rename from OpenIMSDK/CallbackProxy/SendMessageCallbackProxy.h rename to Sources/OpenIMSDK/CallbackProxy/SendMessageCallbackProxy.h diff --git a/OpenIMSDK/CallbackProxy/SendMessageCallbackProxy.m b/Sources/OpenIMSDK/CallbackProxy/SendMessageCallbackProxy.m similarity index 100% rename from OpenIMSDK/CallbackProxy/SendMessageCallbackProxy.m rename to Sources/OpenIMSDK/CallbackProxy/SendMessageCallbackProxy.m diff --git a/OpenIMSDK/CallbackProxy/UploadFileCallbackProxy.h b/Sources/OpenIMSDK/CallbackProxy/UploadFileCallbackProxy.h similarity index 100% rename from OpenIMSDK/CallbackProxy/UploadFileCallbackProxy.h rename to Sources/OpenIMSDK/CallbackProxy/UploadFileCallbackProxy.h diff --git a/OpenIMSDK/CallbackProxy/UploadFileCallbackProxy.m b/Sources/OpenIMSDK/CallbackProxy/UploadFileCallbackProxy.m similarity index 100% rename from OpenIMSDK/CallbackProxy/UploadFileCallbackProxy.m rename to Sources/OpenIMSDK/CallbackProxy/UploadFileCallbackProxy.m diff --git a/OpenIMSDK/Callbacker/OIMCallbacker+Closure.h b/Sources/OpenIMSDK/Callbacker/OIMCallbacker+Closure.h similarity index 100% rename from OpenIMSDK/Callbacker/OIMCallbacker+Closure.h rename to Sources/OpenIMSDK/Callbacker/OIMCallbacker+Closure.h diff --git a/OpenIMSDK/Callbacker/OIMCallbacker+Closure.m b/Sources/OpenIMSDK/Callbacker/OIMCallbacker+Closure.m similarity index 100% rename from OpenIMSDK/Callbacker/OIMCallbacker+Closure.m rename to Sources/OpenIMSDK/Callbacker/OIMCallbacker+Closure.m diff --git a/OpenIMSDK/Callbacker/OIMCallbacker.h b/Sources/OpenIMSDK/Callbacker/OIMCallbacker.h similarity index 100% rename from OpenIMSDK/Callbacker/OIMCallbacker.h rename to Sources/OpenIMSDK/Callbacker/OIMCallbacker.h diff --git a/OpenIMSDK/Callbacker/OIMCallbacker.m b/Sources/OpenIMSDK/Callbacker/OIMCallbacker.m similarity index 100% rename from OpenIMSDK/Callbacker/OIMCallbacker.m rename to Sources/OpenIMSDK/Callbacker/OIMCallbacker.m diff --git a/OpenIMSDK/Callbacker/OIMGCDMulticastDelegate.h b/Sources/OpenIMSDK/Callbacker/OIMGCDMulticastDelegate.h similarity index 100% rename from OpenIMSDK/Callbacker/OIMGCDMulticastDelegate.h rename to Sources/OpenIMSDK/Callbacker/OIMGCDMulticastDelegate.h diff --git a/OpenIMSDK/Callbacker/OIMGCDMulticastDelegate.m b/Sources/OpenIMSDK/Callbacker/OIMGCDMulticastDelegate.m similarity index 100% rename from OpenIMSDK/Callbacker/OIMGCDMulticastDelegate.m rename to Sources/OpenIMSDK/Callbacker/OIMGCDMulticastDelegate.m diff --git a/OpenIMSDK/Interface/OIMManager+Connection.h b/Sources/OpenIMSDK/Interface/OIMManager+Connection.h similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Connection.h rename to Sources/OpenIMSDK/Interface/OIMManager+Connection.h diff --git a/OpenIMSDK/Interface/OIMManager+Connection.m b/Sources/OpenIMSDK/Interface/OIMManager+Connection.m similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Connection.m rename to Sources/OpenIMSDK/Interface/OIMManager+Connection.m diff --git a/OpenIMSDK/Interface/OIMManager+Conversation.h b/Sources/OpenIMSDK/Interface/OIMManager+Conversation.h similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Conversation.h rename to Sources/OpenIMSDK/Interface/OIMManager+Conversation.h diff --git a/OpenIMSDK/Interface/OIMManager+Conversation.m b/Sources/OpenIMSDK/Interface/OIMManager+Conversation.m similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Conversation.m rename to Sources/OpenIMSDK/Interface/OIMManager+Conversation.m diff --git a/OpenIMSDK/Interface/OIMManager+Friend.h b/Sources/OpenIMSDK/Interface/OIMManager+Friend.h similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Friend.h rename to Sources/OpenIMSDK/Interface/OIMManager+Friend.h diff --git a/OpenIMSDK/Interface/OIMManager+Friend.m b/Sources/OpenIMSDK/Interface/OIMManager+Friend.m similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Friend.m rename to Sources/OpenIMSDK/Interface/OIMManager+Friend.m diff --git a/OpenIMSDK/Interface/OIMManager+Group.h b/Sources/OpenIMSDK/Interface/OIMManager+Group.h similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Group.h rename to Sources/OpenIMSDK/Interface/OIMManager+Group.h diff --git a/OpenIMSDK/Interface/OIMManager+Group.m b/Sources/OpenIMSDK/Interface/OIMManager+Group.m similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Group.m rename to Sources/OpenIMSDK/Interface/OIMManager+Group.m diff --git a/OpenIMSDK/Interface/OIMManager+Login.h b/Sources/OpenIMSDK/Interface/OIMManager+Login.h similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Login.h rename to Sources/OpenIMSDK/Interface/OIMManager+Login.h diff --git a/OpenIMSDK/Interface/OIMManager+Login.m b/Sources/OpenIMSDK/Interface/OIMManager+Login.m similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Login.m rename to Sources/OpenIMSDK/Interface/OIMManager+Login.m diff --git a/OpenIMSDK/Interface/OIMManager+Message.h b/Sources/OpenIMSDK/Interface/OIMManager+Message.h similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Message.h rename to Sources/OpenIMSDK/Interface/OIMManager+Message.h diff --git a/OpenIMSDK/Interface/OIMManager+Message.m b/Sources/OpenIMSDK/Interface/OIMManager+Message.m similarity index 100% rename from OpenIMSDK/Interface/OIMManager+Message.m rename to Sources/OpenIMSDK/Interface/OIMManager+Message.m diff --git a/OpenIMSDK/Interface/OIMManager+User.h b/Sources/OpenIMSDK/Interface/OIMManager+User.h similarity index 100% rename from OpenIMSDK/Interface/OIMManager+User.h rename to Sources/OpenIMSDK/Interface/OIMManager+User.h diff --git a/OpenIMSDK/Interface/OIMManager+User.m b/Sources/OpenIMSDK/Interface/OIMManager+User.m similarity index 100% rename from OpenIMSDK/Interface/OIMManager+User.m rename to Sources/OpenIMSDK/Interface/OIMManager+User.m diff --git a/OpenIMSDK/Interface/OIMManager.h b/Sources/OpenIMSDK/Interface/OIMManager.h similarity index 100% rename from OpenIMSDK/Interface/OIMManager.h rename to Sources/OpenIMSDK/Interface/OIMManager.h diff --git a/OpenIMSDK/Interface/OIMManager.m b/Sources/OpenIMSDK/Interface/OIMManager.m similarity index 100% rename from OpenIMSDK/Interface/OIMManager.m rename to Sources/OpenIMSDK/Interface/OIMManager.m diff --git a/OpenIMSDK/Model/OIMAtElem.h b/Sources/OpenIMSDK/Model/OIMAtElem.h similarity index 100% rename from OpenIMSDK/Model/OIMAtElem.h rename to Sources/OpenIMSDK/Model/OIMAtElem.h diff --git a/OpenIMSDK/Model/OIMAtElem.m b/Sources/OpenIMSDK/Model/OIMAtElem.m similarity index 100% rename from OpenIMSDK/Model/OIMAtElem.m rename to Sources/OpenIMSDK/Model/OIMAtElem.m diff --git a/OpenIMSDK/Model/OIMAttachedInfoElem.h b/Sources/OpenIMSDK/Model/OIMAttachedInfoElem.h similarity index 100% rename from OpenIMSDK/Model/OIMAttachedInfoElem.h rename to Sources/OpenIMSDK/Model/OIMAttachedInfoElem.h diff --git a/OpenIMSDK/Model/OIMAttachedInfoElem.m b/Sources/OpenIMSDK/Model/OIMAttachedInfoElem.m similarity index 100% rename from OpenIMSDK/Model/OIMAttachedInfoElem.m rename to Sources/OpenIMSDK/Model/OIMAttachedInfoElem.m diff --git a/OpenIMSDK/Model/OIMConversationInfo.h b/Sources/OpenIMSDK/Model/OIMConversationInfo.h similarity index 100% rename from OpenIMSDK/Model/OIMConversationInfo.h rename to Sources/OpenIMSDK/Model/OIMConversationInfo.h diff --git a/OpenIMSDK/Model/OIMConversationInfo.m b/Sources/OpenIMSDK/Model/OIMConversationInfo.m similarity index 100% rename from OpenIMSDK/Model/OIMConversationInfo.m rename to Sources/OpenIMSDK/Model/OIMConversationInfo.m diff --git a/OpenIMSDK/Model/OIMCustomElem.h b/Sources/OpenIMSDK/Model/OIMCustomElem.h similarity index 100% rename from OpenIMSDK/Model/OIMCustomElem.h rename to Sources/OpenIMSDK/Model/OIMCustomElem.h diff --git a/OpenIMSDK/Model/OIMCustomElem.m b/Sources/OpenIMSDK/Model/OIMCustomElem.m similarity index 100% rename from OpenIMSDK/Model/OIMCustomElem.m rename to Sources/OpenIMSDK/Model/OIMCustomElem.m diff --git a/OpenIMSDK/Model/OIMFaceElem.h b/Sources/OpenIMSDK/Model/OIMFaceElem.h similarity index 100% rename from OpenIMSDK/Model/OIMFaceElem.h rename to Sources/OpenIMSDK/Model/OIMFaceElem.h diff --git a/OpenIMSDK/Model/OIMFaceElem.m b/Sources/OpenIMSDK/Model/OIMFaceElem.m similarity index 100% rename from OpenIMSDK/Model/OIMFaceElem.m rename to Sources/OpenIMSDK/Model/OIMFaceElem.m diff --git a/OpenIMSDK/Model/OIMFileElem.h b/Sources/OpenIMSDK/Model/OIMFileElem.h similarity index 100% rename from OpenIMSDK/Model/OIMFileElem.h rename to Sources/OpenIMSDK/Model/OIMFileElem.h diff --git a/OpenIMSDK/Model/OIMFileElem.m b/Sources/OpenIMSDK/Model/OIMFileElem.m similarity index 100% rename from OpenIMSDK/Model/OIMFileElem.m rename to Sources/OpenIMSDK/Model/OIMFileElem.m diff --git a/OpenIMSDK/Model/OIMFriendApplication.h b/Sources/OpenIMSDK/Model/OIMFriendApplication.h similarity index 100% rename from OpenIMSDK/Model/OIMFriendApplication.h rename to Sources/OpenIMSDK/Model/OIMFriendApplication.h diff --git a/OpenIMSDK/Model/OIMFriendApplication.m b/Sources/OpenIMSDK/Model/OIMFriendApplication.m similarity index 100% rename from OpenIMSDK/Model/OIMFriendApplication.m rename to Sources/OpenIMSDK/Model/OIMFriendApplication.m diff --git a/OpenIMSDK/Model/OIMFullUserInfo.h b/Sources/OpenIMSDK/Model/OIMFullUserInfo.h similarity index 100% rename from OpenIMSDK/Model/OIMFullUserInfo.h rename to Sources/OpenIMSDK/Model/OIMFullUserInfo.h diff --git a/OpenIMSDK/Model/OIMFullUserInfo.m b/Sources/OpenIMSDK/Model/OIMFullUserInfo.m similarity index 100% rename from OpenIMSDK/Model/OIMFullUserInfo.m rename to Sources/OpenIMSDK/Model/OIMFullUserInfo.m diff --git a/OpenIMSDK/Model/OIMGroupApplicationInfo.h b/Sources/OpenIMSDK/Model/OIMGroupApplicationInfo.h similarity index 100% rename from OpenIMSDK/Model/OIMGroupApplicationInfo.h rename to Sources/OpenIMSDK/Model/OIMGroupApplicationInfo.h diff --git a/OpenIMSDK/Model/OIMGroupApplicationInfo.m b/Sources/OpenIMSDK/Model/OIMGroupApplicationInfo.m similarity index 100% rename from OpenIMSDK/Model/OIMGroupApplicationInfo.m rename to Sources/OpenIMSDK/Model/OIMGroupApplicationInfo.m diff --git a/OpenIMSDK/Model/OIMGroupInfo.h b/Sources/OpenIMSDK/Model/OIMGroupInfo.h similarity index 100% rename from OpenIMSDK/Model/OIMGroupInfo.h rename to Sources/OpenIMSDK/Model/OIMGroupInfo.h diff --git a/OpenIMSDK/Model/OIMGroupInfo.m b/Sources/OpenIMSDK/Model/OIMGroupInfo.m similarity index 100% rename from OpenIMSDK/Model/OIMGroupInfo.m rename to Sources/OpenIMSDK/Model/OIMGroupInfo.m diff --git a/OpenIMSDK/Model/OIMGroupMemberInfo.h b/Sources/OpenIMSDK/Model/OIMGroupMemberInfo.h similarity index 100% rename from OpenIMSDK/Model/OIMGroupMemberInfo.h rename to Sources/OpenIMSDK/Model/OIMGroupMemberInfo.h diff --git a/OpenIMSDK/Model/OIMGroupMemberInfo.m b/Sources/OpenIMSDK/Model/OIMGroupMemberInfo.m similarity index 100% rename from OpenIMSDK/Model/OIMGroupMemberInfo.m rename to Sources/OpenIMSDK/Model/OIMGroupMemberInfo.m diff --git a/OpenIMSDK/Model/OIMLocationElem.h b/Sources/OpenIMSDK/Model/OIMLocationElem.h similarity index 100% rename from OpenIMSDK/Model/OIMLocationElem.h rename to Sources/OpenIMSDK/Model/OIMLocationElem.h diff --git a/OpenIMSDK/Model/OIMLocationElem.m b/Sources/OpenIMSDK/Model/OIMLocationElem.m similarity index 100% rename from OpenIMSDK/Model/OIMLocationElem.m rename to Sources/OpenIMSDK/Model/OIMLocationElem.m diff --git a/OpenIMSDK/Model/OIMMergeElem.h b/Sources/OpenIMSDK/Model/OIMMergeElem.h similarity index 100% rename from OpenIMSDK/Model/OIMMergeElem.h rename to Sources/OpenIMSDK/Model/OIMMergeElem.h diff --git a/OpenIMSDK/Model/OIMMergeElem.m b/Sources/OpenIMSDK/Model/OIMMergeElem.m similarity index 100% rename from OpenIMSDK/Model/OIMMergeElem.m rename to Sources/OpenIMSDK/Model/OIMMergeElem.m diff --git a/OpenIMSDK/Model/OIMMessageElem.h b/Sources/OpenIMSDK/Model/OIMMessageElem.h similarity index 100% rename from OpenIMSDK/Model/OIMMessageElem.h rename to Sources/OpenIMSDK/Model/OIMMessageElem.h diff --git a/OpenIMSDK/Model/OIMMessageElem.m b/Sources/OpenIMSDK/Model/OIMMessageElem.m similarity index 100% rename from OpenIMSDK/Model/OIMMessageElem.m rename to Sources/OpenIMSDK/Model/OIMMessageElem.m diff --git a/OpenIMSDK/Model/OIMMessageInfo.h b/Sources/OpenIMSDK/Model/OIMMessageInfo.h similarity index 100% rename from OpenIMSDK/Model/OIMMessageInfo.h rename to Sources/OpenIMSDK/Model/OIMMessageInfo.h diff --git a/OpenIMSDK/Model/OIMMessageInfo.m b/Sources/OpenIMSDK/Model/OIMMessageInfo.m similarity index 100% rename from OpenIMSDK/Model/OIMMessageInfo.m rename to Sources/OpenIMSDK/Model/OIMMessageInfo.m diff --git a/OpenIMSDK/Model/OIMNotificationElem.h b/Sources/OpenIMSDK/Model/OIMNotificationElem.h similarity index 100% rename from OpenIMSDK/Model/OIMNotificationElem.h rename to Sources/OpenIMSDK/Model/OIMNotificationElem.h diff --git a/OpenIMSDK/Model/OIMNotificationElem.m b/Sources/OpenIMSDK/Model/OIMNotificationElem.m similarity index 100% rename from OpenIMSDK/Model/OIMNotificationElem.m rename to Sources/OpenIMSDK/Model/OIMNotificationElem.m diff --git a/OpenIMSDK/Model/OIMPictureElem.h b/Sources/OpenIMSDK/Model/OIMPictureElem.h similarity index 100% rename from OpenIMSDK/Model/OIMPictureElem.h rename to Sources/OpenIMSDK/Model/OIMPictureElem.h diff --git a/OpenIMSDK/Model/OIMPictureElem.m b/Sources/OpenIMSDK/Model/OIMPictureElem.m similarity index 100% rename from OpenIMSDK/Model/OIMPictureElem.m rename to Sources/OpenIMSDK/Model/OIMPictureElem.m diff --git a/OpenIMSDK/Model/OIMQuoteElem.h b/Sources/OpenIMSDK/Model/OIMQuoteElem.h similarity index 100% rename from OpenIMSDK/Model/OIMQuoteElem.h rename to Sources/OpenIMSDK/Model/OIMQuoteElem.h diff --git a/OpenIMSDK/Model/OIMQuoteElem.m b/Sources/OpenIMSDK/Model/OIMQuoteElem.m similarity index 100% rename from OpenIMSDK/Model/OIMQuoteElem.m rename to Sources/OpenIMSDK/Model/OIMQuoteElem.m diff --git a/OpenIMSDK/Model/OIMSearchParam.h b/Sources/OpenIMSDK/Model/OIMSearchParam.h similarity index 100% rename from OpenIMSDK/Model/OIMSearchParam.h rename to Sources/OpenIMSDK/Model/OIMSearchParam.h diff --git a/OpenIMSDK/Model/OIMSearchParam.m b/Sources/OpenIMSDK/Model/OIMSearchParam.m similarity index 100% rename from OpenIMSDK/Model/OIMSearchParam.m rename to Sources/OpenIMSDK/Model/OIMSearchParam.m diff --git a/OpenIMSDK/Model/OIMSearchResultInfo.h b/Sources/OpenIMSDK/Model/OIMSearchResultInfo.h similarity index 100% rename from OpenIMSDK/Model/OIMSearchResultInfo.h rename to Sources/OpenIMSDK/Model/OIMSearchResultInfo.h diff --git a/OpenIMSDK/Model/OIMSearchResultInfo.m b/Sources/OpenIMSDK/Model/OIMSearchResultInfo.m similarity index 100% rename from OpenIMSDK/Model/OIMSearchResultInfo.m rename to Sources/OpenIMSDK/Model/OIMSearchResultInfo.m diff --git a/OpenIMSDK/Model/OIMSimpleRequstInfo.h b/Sources/OpenIMSDK/Model/OIMSimpleRequstInfo.h similarity index 100% rename from OpenIMSDK/Model/OIMSimpleRequstInfo.h rename to Sources/OpenIMSDK/Model/OIMSimpleRequstInfo.h diff --git a/OpenIMSDK/Model/OIMSimpleRequstInfo.m b/Sources/OpenIMSDK/Model/OIMSimpleRequstInfo.m similarity index 100% rename from OpenIMSDK/Model/OIMSimpleRequstInfo.m rename to Sources/OpenIMSDK/Model/OIMSimpleRequstInfo.m diff --git a/OpenIMSDK/Model/OIMSimpleResultInfo.h b/Sources/OpenIMSDK/Model/OIMSimpleResultInfo.h similarity index 100% rename from OpenIMSDK/Model/OIMSimpleResultInfo.h rename to Sources/OpenIMSDK/Model/OIMSimpleResultInfo.h diff --git a/OpenIMSDK/Model/OIMSimpleResultInfo.m b/Sources/OpenIMSDK/Model/OIMSimpleResultInfo.m similarity index 100% rename from OpenIMSDK/Model/OIMSimpleResultInfo.m rename to Sources/OpenIMSDK/Model/OIMSimpleResultInfo.m diff --git a/OpenIMSDK/Model/OIMSoundElem.h b/Sources/OpenIMSDK/Model/OIMSoundElem.h similarity index 100% rename from OpenIMSDK/Model/OIMSoundElem.h rename to Sources/OpenIMSDK/Model/OIMSoundElem.h diff --git a/OpenIMSDK/Model/OIMSoundElem.m b/Sources/OpenIMSDK/Model/OIMSoundElem.m similarity index 100% rename from OpenIMSDK/Model/OIMSoundElem.m rename to Sources/OpenIMSDK/Model/OIMSoundElem.m diff --git a/OpenIMSDK/Model/OIMUpdateFriendsReq.h b/Sources/OpenIMSDK/Model/OIMUpdateFriendsReq.h similarity index 100% rename from OpenIMSDK/Model/OIMUpdateFriendsReq.h rename to Sources/OpenIMSDK/Model/OIMUpdateFriendsReq.h diff --git a/OpenIMSDK/Model/OIMUpdateFriendsReq.m b/Sources/OpenIMSDK/Model/OIMUpdateFriendsReq.m similarity index 100% rename from OpenIMSDK/Model/OIMUpdateFriendsReq.m rename to Sources/OpenIMSDK/Model/OIMUpdateFriendsReq.m diff --git a/OpenIMSDK/Model/OIMUserInfo.h b/Sources/OpenIMSDK/Model/OIMUserInfo.h similarity index 100% rename from OpenIMSDK/Model/OIMUserInfo.h rename to Sources/OpenIMSDK/Model/OIMUserInfo.h diff --git a/OpenIMSDK/Model/OIMUserInfo.m b/Sources/OpenIMSDK/Model/OIMUserInfo.m similarity index 100% rename from OpenIMSDK/Model/OIMUserInfo.m rename to Sources/OpenIMSDK/Model/OIMUserInfo.m diff --git a/OpenIMSDK/Model/OIMVideoElem.h b/Sources/OpenIMSDK/Model/OIMVideoElem.h similarity index 100% rename from OpenIMSDK/Model/OIMVideoElem.h rename to Sources/OpenIMSDK/Model/OIMVideoElem.h diff --git a/OpenIMSDK/Model/OIMVideoElem.m b/Sources/OpenIMSDK/Model/OIMVideoElem.m similarity index 100% rename from OpenIMSDK/Model/OIMVideoElem.m rename to Sources/OpenIMSDK/Model/OIMVideoElem.m diff --git a/OpenIMSDK/OpenIMSDK.h b/Sources/OpenIMSDK/OpenIMSDK.h similarity index 100% rename from OpenIMSDK/OpenIMSDK.h rename to Sources/OpenIMSDK/OpenIMSDK.h diff --git a/OpenIMSDK/Utils/OIMDefine.h b/Sources/OpenIMSDK/Utils/OIMDefine.h similarity index 100% rename from OpenIMSDK/Utils/OIMDefine.h rename to Sources/OpenIMSDK/Utils/OIMDefine.h diff --git a/OpenIMSDK/Utils/OIMReachability.h b/Sources/OpenIMSDK/Utils/OIMReachability.h similarity index 100% rename from OpenIMSDK/Utils/OIMReachability.h rename to Sources/OpenIMSDK/Utils/OIMReachability.h diff --git a/OpenIMSDK/Utils/OIMReachability.m b/Sources/OpenIMSDK/Utils/OIMReachability.m similarity index 100% rename from OpenIMSDK/Utils/OIMReachability.m rename to Sources/OpenIMSDK/Utils/OIMReachability.m