diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bff319d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+.swiftpm/
+.DS_Store
\ No newline at end of file
diff --git a/MCEmojiPicker.xcodeproj/MCEmojiPicker_Info.plist b/MCEmojiPicker.xcodeproj/MCEmojiPicker_Info.plist
new file mode 100644
index 0000000..57ada9f
--- /dev/null
+++ b/MCEmojiPicker.xcodeproj/MCEmojiPicker_Info.plist
@@ -0,0 +1,25 @@
+
+
+
+ CFBundleDevelopmentRegion
+ en
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(PRODUCT_BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(PRODUCT_NAME)
+ CFBundlePackageType
+ FMWK
+ CFBundleShortVersionString
+ 1.0
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ $(CURRENT_PROJECT_VERSION)
+ NSPrincipalClass
+
+
+
diff --git a/MCEmojiPicker.xcodeproj/project.pbxproj b/MCEmojiPicker.xcodeproj/project.pbxproj
index b85f78c..578648c 100644
--- a/MCEmojiPicker.xcodeproj/project.pbxproj
+++ b/MCEmojiPicker.xcodeproj/project.pbxproj
@@ -3,69 +3,70 @@
archiveVersion = 1;
classes = {
};
- objectVersion = 56;
+ objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
- C4346B3B295842B100817147 /* MCEmojiPickerViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B15295842B100817147 /* MCEmojiPickerViewModel.swift */; };
- C4346B3C295842B100817147 /* MCEmojiModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B17295842B100817147 /* MCEmojiModel.swift */; };
- C4346B3D295842B100817147 /* MCPickerArrowDirectionMode.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B18295842B100817147 /* MCPickerArrowDirectionMode.swift */; };
- C4346B3E295842B100817147 /* MCEmojiPickerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B1A295842B100817147 /* MCEmojiPickerViewController.swift */; };
- C4346B3F295842B100817147 /* MCEmojiCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B1D295842B100817147 /* MCEmojiCollectionViewCell.swift */; };
- C4346B40295842B100817147 /* MCEmojiSectionHeader.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B1F295842B100817147 /* MCEmojiSectionHeader.swift */; };
- C4346B41295842B100817147 /* MCEmojiCategoryIconView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B21295842B100817147 /* MCEmojiCategoryIconView.swift */; };
- C4346B42295842B100817147 /* MCTouchableEmojiCategoryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B22295842B100817147 /* MCTouchableEmojiCategoryView.swift */; };
- C4346B43295842B100817147 /* MCEmojiPickerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B23295842B100817147 /* MCEmojiPickerView.swift */; };
- C4346B44295842B100817147 /* Observable.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B25295842B100817147 /* Observable.swift */; };
- C4346B45295842B100817147 /* MCUnicode12.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B28295842B100817147 /* MCUnicode12.swift */; };
- C4346B46295842B100817147 /* MCUnicode14.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B29295842B100817147 /* MCUnicode14.swift */; };
- C4346B47295842B100817147 /* MCUnicode11.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B2A295842B100817147 /* MCUnicode11.swift */; };
- C4346B48295842B100817147 /* MCUnicode13.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B2B295842B100817147 /* MCUnicode13.swift */; };
- C4346B49295842B100817147 /* MCUnicode13v1.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B2C295842B100817147 /* MCUnicode13v1.swift */; };
- C4346B4A295842B100817147 /* MCUnicode5.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B2D295842B100817147 /* MCUnicode5.swift */; };
- C4346B4B295842B100817147 /* UIColor+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B2F295842B100817147 /* UIColor+Extension.swift */; };
- C4346B4C295842B100817147 /* UIView+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B30295842B100817147 /* UIView+Extension.swift */; };
- C4346B4D295842B100817147 /* Array+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B31295842B100817147 /* Array+Extension.swift */; };
- C4346B4E295842B100817147 /* MCEmojiPickerLocalizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = C4346B33295842B100817147 /* MCEmojiPickerLocalizable.strings */; };
- C4346B4F295842B100817147 /* MCEmojiPickerViewModelProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B37295842B100817147 /* MCEmojiPickerViewModelProtocol.swift */; };
- C4346B50295842B100817147 /* MCUnicodeManagerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B38295842B100817147 /* MCUnicodeManagerProtocol.swift */; };
- C4346B51295842B100817147 /* MCUnicodeManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = C4346B3A295842B100817147 /* MCUnicodeManager.swift */; };
+ C46490932958A7A100556DF4 /* Bundle+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = C46490922958A7A100556DF4 /* Bundle+Extension.swift */; };
+ C481883E2958A5DE00F5AB36 /* MCUnicodeManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_30 /* MCUnicodeManager.swift */; };
+ OBJ_55 /* Observable.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_10 /* Observable.swift */; };
+ OBJ_56 /* MCEmojiModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_12 /* MCEmojiModel.swift */; };
+ OBJ_57 /* MCPickerArrowDirectionMode.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_13 /* MCPickerArrowDirectionMode.swift */; };
+ OBJ_58 /* MCEmojiPickerViewModelProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_15 /* MCEmojiPickerViewModelProtocol.swift */; };
+ OBJ_59 /* MCUnicodeManagerProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_16 /* MCUnicodeManagerProtocol.swift */; };
+ OBJ_60 /* Array+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_19 /* Array+Extension.swift */; };
+ OBJ_61 /* UIColor+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_20 /* UIColor+Extension.swift */; };
+ OBJ_62 /* UIView+Extension.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_21 /* UIView+Extension.swift */; };
+ OBJ_63 /* MCUnicode11.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_23 /* MCUnicode11.swift */; };
+ OBJ_64 /* MCUnicode12.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_24 /* MCUnicode12.swift */; };
+ OBJ_65 /* MCUnicode13.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_25 /* MCUnicode13.swift */; };
+ OBJ_66 /* MCUnicode13v1.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_26 /* MCUnicode13v1.swift */; };
+ OBJ_67 /* MCUnicode14.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_27 /* MCUnicode14.swift */; };
+ OBJ_68 /* MCUnicode5.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_28 /* MCUnicode5.swift */; };
+ OBJ_70 /* MCEmojiPickerViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_32 /* MCEmojiPickerViewController.swift */; };
+ OBJ_71 /* MCEmojiSectionHeader.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_36 /* MCEmojiSectionHeader.swift */; };
+ OBJ_72 /* MCEmojiCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_37 /* MCEmojiCollectionViewCell.swift */; };
+ OBJ_73 /* MCEmojiCategoryIconView.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_39 /* MCEmojiCategoryIconView.swift */; };
+ OBJ_74 /* MCTouchableEmojiCategoryView.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_40 /* MCTouchableEmojiCategoryView.swift */; };
+ OBJ_75 /* MCEmojiPickerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_41 /* MCEmojiPickerView.swift */; };
+ OBJ_76 /* MCEmojiPickerViewModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = OBJ_43 /* MCEmojiPickerViewModel.swift */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
- C4346B082958429100817147 /* MCEmojiPicker.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MCEmojiPicker.framework; sourceTree = BUILT_PRODUCTS_DIR; };
- C4346B15295842B100817147 /* MCEmojiPickerViewModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCEmojiPickerViewModel.swift; sourceTree = ""; };
- C4346B17295842B100817147 /* MCEmojiModel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCEmojiModel.swift; sourceTree = ""; };
- C4346B18295842B100817147 /* MCPickerArrowDirectionMode.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCPickerArrowDirectionMode.swift; sourceTree = ""; };
- C4346B1A295842B100817147 /* MCEmojiPickerViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCEmojiPickerViewController.swift; sourceTree = ""; };
- C4346B1D295842B100817147 /* MCEmojiCollectionViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCEmojiCollectionViewCell.swift; sourceTree = ""; };
- C4346B1F295842B100817147 /* MCEmojiSectionHeader.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCEmojiSectionHeader.swift; sourceTree = ""; };
- C4346B21295842B100817147 /* MCEmojiCategoryIconView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCEmojiCategoryIconView.swift; sourceTree = ""; };
- C4346B22295842B100817147 /* MCTouchableEmojiCategoryView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCTouchableEmojiCategoryView.swift; sourceTree = ""; };
- C4346B23295842B100817147 /* MCEmojiPickerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCEmojiPickerView.swift; sourceTree = ""; };
- C4346B25295842B100817147 /* Observable.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Observable.swift; sourceTree = ""; };
- C4346B28295842B100817147 /* MCUnicode12.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCUnicode12.swift; sourceTree = ""; };
- C4346B29295842B100817147 /* MCUnicode14.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCUnicode14.swift; sourceTree = ""; };
- C4346B2A295842B100817147 /* MCUnicode11.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCUnicode11.swift; sourceTree = ""; };
- C4346B2B295842B100817147 /* MCUnicode13.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCUnicode13.swift; sourceTree = ""; };
- C4346B2C295842B100817147 /* MCUnicode13v1.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCUnicode13v1.swift; sourceTree = ""; };
- C4346B2D295842B100817147 /* MCUnicode5.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCUnicode5.swift; sourceTree = ""; };
- C4346B2F295842B100817147 /* UIColor+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIColor+Extension.swift"; sourceTree = ""; };
- C4346B30295842B100817147 /* UIView+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "UIView+Extension.swift"; sourceTree = ""; };
- C4346B31295842B100817147 /* Array+Extension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Array+Extension.swift"; sourceTree = ""; };
- C4346B34295842B100817147 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/MCEmojiPickerLocalizable.strings; sourceTree = ""; };
- C4346B35295842B100817147 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/MCEmojiPickerLocalizable.strings; sourceTree = ""; };
- C4346B37295842B100817147 /* MCEmojiPickerViewModelProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCEmojiPickerViewModelProtocol.swift; sourceTree = ""; };
- C4346B38295842B100817147 /* MCUnicodeManagerProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCUnicodeManagerProtocol.swift; sourceTree = ""; };
- C4346B3A295842B100817147 /* MCUnicodeManager.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = MCUnicodeManager.swift; sourceTree = ""; };
- C4D457132958455B00CF8345 /* MCEmojiPicker.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = MCEmojiPicker.h; sourceTree = ""; };
- C4D4574829587CE200CF8345 /* uk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/MCEmojiPickerLocalizable.strings; sourceTree = ""; };
+ C46490922958A7A100556DF4 /* Bundle+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Bundle+Extension.swift"; sourceTree = ""; };
+ OBJ_10 /* Observable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Observable.swift; sourceTree = ""; };
+ OBJ_12 /* MCEmojiModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCEmojiModel.swift; sourceTree = ""; };
+ OBJ_13 /* MCPickerArrowDirectionMode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCPickerArrowDirectionMode.swift; sourceTree = ""; };
+ OBJ_15 /* MCEmojiPickerViewModelProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCEmojiPickerViewModelProtocol.swift; sourceTree = ""; };
+ OBJ_16 /* MCUnicodeManagerProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCUnicodeManagerProtocol.swift; sourceTree = ""; };
+ OBJ_19 /* Array+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Array+Extension.swift"; sourceTree = ""; };
+ OBJ_20 /* UIColor+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIColor+Extension.swift"; sourceTree = ""; };
+ OBJ_21 /* UIView+Extension.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UIView+Extension.swift"; sourceTree = ""; };
+ OBJ_23 /* MCUnicode11.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCUnicode11.swift; sourceTree = ""; };
+ OBJ_24 /* MCUnicode12.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCUnicode12.swift; sourceTree = ""; };
+ OBJ_25 /* MCUnicode13.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCUnicode13.swift; sourceTree = ""; };
+ OBJ_26 /* MCUnicode13v1.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCUnicode13v1.swift; sourceTree = ""; };
+ OBJ_27 /* MCUnicode14.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCUnicode14.swift; sourceTree = ""; };
+ OBJ_28 /* MCUnicode5.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCUnicode5.swift; sourceTree = ""; };
+ OBJ_30 /* MCUnicodeManager.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCUnicodeManager.swift; sourceTree = ""; };
+ OBJ_32 /* MCEmojiPickerViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCEmojiPickerViewController.swift; sourceTree = ""; };
+ OBJ_36 /* MCEmojiSectionHeader.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCEmojiSectionHeader.swift; sourceTree = ""; };
+ OBJ_37 /* MCEmojiCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCEmojiCollectionViewCell.swift; sourceTree = ""; };
+ OBJ_39 /* MCEmojiCategoryIconView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCEmojiCategoryIconView.swift; sourceTree = ""; };
+ OBJ_40 /* MCTouchableEmojiCategoryView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCTouchableEmojiCategoryView.swift; sourceTree = ""; };
+ OBJ_41 /* MCEmojiPickerView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCEmojiPickerView.swift; sourceTree = ""; };
+ OBJ_43 /* MCEmojiPickerViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MCEmojiPickerViewModel.swift; sourceTree = ""; };
+ OBJ_47 /* LICENSE */ = {isa = PBXFileReference; lastKnownFileType = text; path = LICENSE; sourceTree = ""; };
+ OBJ_48 /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; };
+ OBJ_49 /* MCEmojiPicker.podspec */ = {isa = PBXFileReference; lastKnownFileType = text; path = MCEmojiPicker.podspec; sourceTree = ""; };
+ OBJ_6 /* Package.swift */ = {isa = PBXFileReference; explicitFileType = sourcecode.swift; path = Package.swift; sourceTree = ""; };
+ "mcemojipicker::MCEmojiPicker::Product" /* MCEmojiPicker.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MCEmojiPicker.framework; path = /Users/ivanizumkin/Desktop/iOS/MCEmojiPicker/build/Debug/MCEmojiPicker.framework; sourceTree = ""; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
- C4346B052958429100817147 /* Frameworks */ = {
+ OBJ_77 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
- buildActionMask = 2147483647;
+ buildActionMask = 0;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
@@ -73,202 +74,169 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
- C4346AFE2958429100817147 = {
+ OBJ_11 /* Model */ = {
isa = PBXGroup;
children = (
- C4346B12295842B100817147 /* Sources */,
- C4346B092958429100817147 /* Products */,
+ OBJ_12 /* MCEmojiModel.swift */,
+ OBJ_13 /* MCPickerArrowDirectionMode.swift */,
);
+ path = Model;
sourceTree = "";
};
- C4346B092958429100817147 /* Products */ = {
+ OBJ_14 /* Protocols */ = {
isa = PBXGroup;
children = (
- C4346B082958429100817147 /* MCEmojiPicker.framework */,
+ OBJ_15 /* MCEmojiPickerViewModelProtocol.swift */,
+ OBJ_16 /* MCUnicodeManagerProtocol.swift */,
);
- name = Products;
+ path = Protocols;
sourceTree = "";
};
- C4346B12295842B100817147 /* Sources */ = {
+ OBJ_17 /* Resource */ = {
isa = PBXGroup;
children = (
- C4346B13295842B100817147 /* MCEmojiPicker */,
- C4D457122958451F00CF8345 /* Supporting Files */,
+ OBJ_18 /* Extensions */,
+ OBJ_22 /* Unicode */,
);
- path = Sources;
+ path = Resource;
sourceTree = "";
};
- C4346B13295842B100817147 /* MCEmojiPicker */ = {
+ OBJ_18 /* Extensions */ = {
isa = PBXGroup;
children = (
- C4346B14295842B100817147 /* ViewModel */,
- C4346B16295842B100817147 /* Model */,
- C4346B19295842B100817147 /* View */,
- C4346B24295842B100817147 /* Bindings */,
- C4346B26295842B100817147 /* Resource */,
- C4346B36295842B100817147 /* Protocols */,
- C4346B39295842B100817147 /* Services */,
+ OBJ_19 /* Array+Extension.swift */,
+ OBJ_20 /* UIColor+Extension.swift */,
+ OBJ_21 /* UIView+Extension.swift */,
+ C46490922958A7A100556DF4 /* Bundle+Extension.swift */,
);
- path = MCEmojiPicker;
+ path = Extensions;
sourceTree = "";
};
- C4346B14295842B100817147 /* ViewModel */ = {
+ OBJ_22 /* Unicode */ = {
isa = PBXGroup;
children = (
- C4346B15295842B100817147 /* MCEmojiPickerViewModel.swift */,
+ OBJ_23 /* MCUnicode11.swift */,
+ OBJ_24 /* MCUnicode12.swift */,
+ OBJ_25 /* MCUnicode13.swift */,
+ OBJ_26 /* MCUnicode13v1.swift */,
+ OBJ_27 /* MCUnicode14.swift */,
+ OBJ_28 /* MCUnicode5.swift */,
);
- path = ViewModel;
+ path = Unicode;
sourceTree = "";
};
- C4346B16295842B100817147 /* Model */ = {
+ OBJ_29 /* Services */ = {
isa = PBXGroup;
children = (
- C4346B17295842B100817147 /* MCEmojiModel.swift */,
- C4346B18295842B100817147 /* MCPickerArrowDirectionMode.swift */,
+ OBJ_30 /* MCUnicodeManager.swift */,
);
- path = Model;
+ path = Services;
sourceTree = "";
};
- C4346B19295842B100817147 /* View */ = {
+ OBJ_31 /* View */ = {
isa = PBXGroup;
children = (
- C4346B1A295842B100817147 /* MCEmojiPickerViewController.swift */,
- C4346B1B295842B100817147 /* Views */,
+ OBJ_32 /* MCEmojiPickerViewController.swift */,
+ OBJ_33 /* Views */,
);
path = View;
sourceTree = "";
};
- C4346B1B295842B100817147 /* Views */ = {
+ OBJ_33 /* Views */ = {
isa = PBXGroup;
children = (
- C4346B1C295842B100817147 /* Cells */,
- C4346B20295842B100817147 /* EmojiCategoryView */,
- C4346B23295842B100817147 /* MCEmojiPickerView.swift */,
+ OBJ_34 /* Cells */,
+ OBJ_38 /* EmojiCategoryView */,
+ OBJ_41 /* MCEmojiPickerView.swift */,
);
path = Views;
sourceTree = "";
};
- C4346B1C295842B100817147 /* Cells */ = {
+ OBJ_34 /* Cells */ = {
isa = PBXGroup;
children = (
- C4346B1D295842B100817147 /* MCEmojiCollectionViewCell.swift */,
- C4346B1E295842B100817147 /* Header */,
+ OBJ_35 /* Header */,
+ OBJ_37 /* MCEmojiCollectionViewCell.swift */,
);
path = Cells;
sourceTree = "";
};
- C4346B1E295842B100817147 /* Header */ = {
+ OBJ_35 /* Header */ = {
isa = PBXGroup;
children = (
- C4346B1F295842B100817147 /* MCEmojiSectionHeader.swift */,
+ OBJ_36 /* MCEmojiSectionHeader.swift */,
);
path = Header;
sourceTree = "";
};
- C4346B20295842B100817147 /* EmojiCategoryView */ = {
+ OBJ_38 /* EmojiCategoryView */ = {
isa = PBXGroup;
children = (
- C4346B21295842B100817147 /* MCEmojiCategoryIconView.swift */,
- C4346B22295842B100817147 /* MCTouchableEmojiCategoryView.swift */,
+ OBJ_39 /* MCEmojiCategoryIconView.swift */,
+ OBJ_40 /* MCTouchableEmojiCategoryView.swift */,
);
path = EmojiCategoryView;
sourceTree = "";
};
- C4346B24295842B100817147 /* Bindings */ = {
- isa = PBXGroup;
- children = (
- C4346B25295842B100817147 /* Observable.swift */,
- );
- path = Bindings;
- sourceTree = "";
- };
- C4346B26295842B100817147 /* Resource */ = {
- isa = PBXGroup;
- children = (
- C4346B27295842B100817147 /* Unicode */,
- C4346B2E295842B100817147 /* Extensions */,
- C4346B32295842B100817147 /* Localization */,
- );
- path = Resource;
- sourceTree = "";
- };
- C4346B27295842B100817147 /* Unicode */ = {
- isa = PBXGroup;
- children = (
- C4346B28295842B100817147 /* MCUnicode12.swift */,
- C4346B29295842B100817147 /* MCUnicode14.swift */,
- C4346B2A295842B100817147 /* MCUnicode11.swift */,
- C4346B2B295842B100817147 /* MCUnicode13.swift */,
- C4346B2C295842B100817147 /* MCUnicode13v1.swift */,
- C4346B2D295842B100817147 /* MCUnicode5.swift */,
- );
- path = Unicode;
- sourceTree = "";
- };
- C4346B2E295842B100817147 /* Extensions */ = {
+ OBJ_42 /* ViewModel */ = {
isa = PBXGroup;
children = (
- C4346B2F295842B100817147 /* UIColor+Extension.swift */,
- C4346B30295842B100817147 /* UIView+Extension.swift */,
- C4346B31295842B100817147 /* Array+Extension.swift */,
+ OBJ_43 /* MCEmojiPickerViewModel.swift */,
);
- path = Extensions;
+ path = ViewModel;
sourceTree = "";
};
- C4346B32295842B100817147 /* Localization */ = {
+ OBJ_5 = {
isa = PBXGroup;
children = (
- C4346B33295842B100817147 /* MCEmojiPickerLocalizable.strings */,
+ OBJ_6 /* Package.swift */,
+ OBJ_7 /* Sources */,
+ OBJ_47 /* LICENSE */,
+ OBJ_48 /* README.md */,
+ OBJ_49 /* MCEmojiPicker.podspec */,
);
- path = Localization;
sourceTree = "";
};
- C4346B36295842B100817147 /* Protocols */ = {
+ OBJ_7 /* Sources */ = {
isa = PBXGroup;
children = (
- C4346B37295842B100817147 /* MCEmojiPickerViewModelProtocol.swift */,
- C4346B38295842B100817147 /* MCUnicodeManagerProtocol.swift */,
+ OBJ_8 /* MCEmojiPicker */,
);
- path = Protocols;
- sourceTree = "";
+ name = Sources;
+ sourceTree = SOURCE_ROOT;
};
- C4346B39295842B100817147 /* Services */ = {
+ OBJ_8 /* MCEmojiPicker */ = {
isa = PBXGroup;
children = (
- C4346B3A295842B100817147 /* MCUnicodeManager.swift */,
+ OBJ_9 /* Bindings */,
+ OBJ_11 /* Model */,
+ OBJ_14 /* Protocols */,
+ OBJ_17 /* Resource */,
+ OBJ_29 /* Services */,
+ OBJ_31 /* View */,
+ OBJ_42 /* ViewModel */,
);
- path = Services;
- sourceTree = "";
+ name = MCEmojiPicker;
+ path = Sources/MCEmojiPicker;
+ sourceTree = SOURCE_ROOT;
};
- C4D457122958451F00CF8345 /* Supporting Files */ = {
+ OBJ_9 /* Bindings */ = {
isa = PBXGroup;
children = (
- C4D457132958455B00CF8345 /* MCEmojiPicker.h */,
+ OBJ_10 /* Observable.swift */,
);
- path = "Supporting Files";
+ path = Bindings;
sourceTree = "";
};
/* End PBXGroup section */
-/* Begin PBXHeadersBuildPhase section */
- C4346B032958429100817147 /* Headers */ = {
- isa = PBXHeadersBuildPhase;
- buildActionMask = 2147483647;
- files = (
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXHeadersBuildPhase section */
-
/* Begin PBXNativeTarget section */
- C4346B072958429100817147 /* MCEmojiPicker */ = {
+ "mcemojipicker::MCEmojiPicker" /* MCEmojiPicker */ = {
isa = PBXNativeTarget;
- buildConfigurationList = C4346B0F2958429100817147 /* Build configuration list for PBXNativeTarget "MCEmojiPicker" */;
+ buildConfigurationList = OBJ_51 /* Build configuration list for PBXNativeTarget "MCEmojiPicker" */;
buildPhases = (
- C4346B032958429100817147 /* Headers */,
- C4346B042958429100817147 /* Sources */,
- C4346B052958429100817147 /* Frameworks */,
- C4346B062958429100817147 /* Resources */,
+ OBJ_54 /* Sources */,
+ OBJ_77 /* Frameworks */,
);
buildRules = (
);
@@ -276,300 +244,204 @@
);
name = MCEmojiPicker;
productName = MCEmojiPicker;
- productReference = C4346B082958429100817147 /* MCEmojiPicker.framework */;
+ productReference = "mcemojipicker::MCEmojiPicker::Product" /* MCEmojiPicker.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
- C4346AFF2958429100817147 /* Project object */ = {
+ OBJ_1 /* Project object */ = {
isa = PBXProject;
attributes = {
- BuildIndependentTargetsInParallel = 1;
- LastUpgradeCheck = 1400;
- TargetAttributes = {
- C4346B072958429100817147 = {
- CreatedOnToolsVersion = 14.0.1;
- };
- };
+ LastSwiftMigration = 9999;
+ LastUpgradeCheck = 9999;
};
- buildConfigurationList = C4346B022958429100817147 /* Build configuration list for PBXProject "MCEmojiPicker" */;
- compatibilityVersion = "Xcode 14.0";
+ buildConfigurationList = OBJ_2 /* Build configuration list for PBXProject "MCEmojiPicker" */;
+ compatibilityVersion = "Xcode 3.2";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
- Base,
- ru,
- uk,
);
- mainGroup = C4346AFE2958429100817147;
- productRefGroup = C4346B092958429100817147 /* Products */;
+ mainGroup = OBJ_5;
+ productRefGroup = OBJ_5;
projectDirPath = "";
projectRoot = "";
targets = (
- C4346B072958429100817147 /* MCEmojiPicker */,
+ "mcemojipicker::MCEmojiPicker" /* MCEmojiPicker */,
);
};
/* End PBXProject section */
-/* Begin PBXResourcesBuildPhase section */
- C4346B062958429100817147 /* Resources */ = {
- isa = PBXResourcesBuildPhase;
- buildActionMask = 2147483647;
- files = (
- C4346B4E295842B100817147 /* MCEmojiPickerLocalizable.strings in Resources */,
- );
- runOnlyForDeploymentPostprocessing = 0;
- };
-/* End PBXResourcesBuildPhase section */
-
/* Begin PBXSourcesBuildPhase section */
- C4346B042958429100817147 /* Sources */ = {
+ OBJ_54 /* Sources */ = {
isa = PBXSourcesBuildPhase;
- buildActionMask = 2147483647;
+ buildActionMask = 0;
files = (
- C4346B3C295842B100817147 /* MCEmojiModel.swift in Sources */,
- C4346B47295842B100817147 /* MCUnicode11.swift in Sources */,
- C4346B45295842B100817147 /* MCUnicode12.swift in Sources */,
- C4346B4F295842B100817147 /* MCEmojiPickerViewModelProtocol.swift in Sources */,
- C4346B3F295842B100817147 /* MCEmojiCollectionViewCell.swift in Sources */,
- C4346B50295842B100817147 /* MCUnicodeManagerProtocol.swift in Sources */,
- C4346B4B295842B100817147 /* UIColor+Extension.swift in Sources */,
- C4346B3B295842B100817147 /* MCEmojiPickerViewModel.swift in Sources */,
- C4346B48295842B100817147 /* MCUnicode13.swift in Sources */,
- C4346B40295842B100817147 /* MCEmojiSectionHeader.swift in Sources */,
- C4346B4A295842B100817147 /* MCUnicode5.swift in Sources */,
- C4346B3D295842B100817147 /* MCPickerArrowDirectionMode.swift in Sources */,
- C4346B42295842B100817147 /* MCTouchableEmojiCategoryView.swift in Sources */,
- C4346B4D295842B100817147 /* Array+Extension.swift in Sources */,
- C4346B44295842B100817147 /* Observable.swift in Sources */,
- C4346B4C295842B100817147 /* UIView+Extension.swift in Sources */,
- C4346B46295842B100817147 /* MCUnicode14.swift in Sources */,
- C4346B3E295842B100817147 /* MCEmojiPickerViewController.swift in Sources */,
- C4346B49295842B100817147 /* MCUnicode13v1.swift in Sources */,
- C4346B51295842B100817147 /* MCUnicodeManager.swift in Sources */,
- C4346B41295842B100817147 /* MCEmojiCategoryIconView.swift in Sources */,
- C4346B43295842B100817147 /* MCEmojiPickerView.swift in Sources */,
+ OBJ_55 /* Observable.swift in Sources */,
+ OBJ_56 /* MCEmojiModel.swift in Sources */,
+ OBJ_57 /* MCPickerArrowDirectionMode.swift in Sources */,
+ OBJ_58 /* MCEmojiPickerViewModelProtocol.swift in Sources */,
+ OBJ_59 /* MCUnicodeManagerProtocol.swift in Sources */,
+ OBJ_60 /* Array+Extension.swift in Sources */,
+ OBJ_61 /* UIColor+Extension.swift in Sources */,
+ OBJ_62 /* UIView+Extension.swift in Sources */,
+ OBJ_63 /* MCUnicode11.swift in Sources */,
+ C46490932958A7A100556DF4 /* Bundle+Extension.swift in Sources */,
+ OBJ_64 /* MCUnicode12.swift in Sources */,
+ OBJ_65 /* MCUnicode13.swift in Sources */,
+ OBJ_66 /* MCUnicode13v1.swift in Sources */,
+ OBJ_67 /* MCUnicode14.swift in Sources */,
+ OBJ_68 /* MCUnicode5.swift in Sources */,
+ OBJ_70 /* MCEmojiPickerViewController.swift in Sources */,
+ OBJ_71 /* MCEmojiSectionHeader.swift in Sources */,
+ OBJ_72 /* MCEmojiCollectionViewCell.swift in Sources */,
+ OBJ_73 /* MCEmojiCategoryIconView.swift in Sources */,
+ OBJ_74 /* MCTouchableEmojiCategoryView.swift in Sources */,
+ C481883E2958A5DE00F5AB36 /* MCUnicodeManager.swift in Sources */,
+ OBJ_75 /* MCEmojiPickerView.swift in Sources */,
+ OBJ_76 /* MCEmojiPickerViewModel.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
-/* Begin PBXVariantGroup section */
- C4346B33295842B100817147 /* MCEmojiPickerLocalizable.strings */ = {
- isa = PBXVariantGroup;
- children = (
- C4346B34295842B100817147 /* en */,
- C4346B35295842B100817147 /* ru */,
- C4D4574829587CE200CF8345 /* uk */,
- );
- name = MCEmojiPickerLocalizable.strings;
- sourceTree = "";
- };
-/* End PBXVariantGroup section */
-
/* Begin XCBuildConfiguration section */
- C4346B0D2958429100817147 /* Debug */ = {
+ OBJ_3 /* 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++20";
- 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
- 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;
+ COMBINE_HIDPI_IMAGES = YES;
COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 1;
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;
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
+ ENABLE_NS_ASSERTIONS = YES;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PREPROCESSOR_DEFINITIONS = (
- "DEBUG=1",
"$(inherited)",
+ "SWIFT_PACKAGE=1",
+ "DEBUG=1",
);
- 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 = 16.0;
- MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
- MTL_FAST_MATH = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.10;
ONLY_ACTIVE_ARCH = YES;
- SDKROOT = iphoneos;
- SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
+ OTHER_SWIFT_FLAGS = "$(inherited) -DXcode";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = macosx;
+ SUPPORTED_PLATFORMS = "$(AVAILABLE_PLATFORMS)";
+ SUPPORTS_MACCATALYST = YES;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE DEBUG";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
- VERSIONING_SYSTEM = "apple-generic";
- VERSION_INFO_PREFIX = "";
+ USE_HEADERMAP = NO;
};
name = Debug;
};
- C4346B0E2958429100817147 /* Release */ = {
+ OBJ_4 /* 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++20";
- 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_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
- 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;
- COPY_PHASE_STRIP = NO;
- CURRENT_PROJECT_VERSION = 1;
+ COMBINE_HIDPI_IMAGES = YES;
+ COPY_PHASE_STRIP = YES;
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 = 16.0;
- MTL_ENABLE_DEBUG_INFO = NO;
- MTL_FAST_MATH = YES;
- SDKROOT = iphoneos;
- SWIFT_COMPILATION_MODE = wholemodule;
- SWIFT_OPTIMIZATION_LEVEL = "-O";
- VALIDATE_PRODUCT = YES;
- VERSIONING_SYSTEM = "apple-generic";
- VERSION_INFO_PREFIX = "";
+ DYLIB_INSTALL_NAME_BASE = "@rpath";
+ GCC_OPTIMIZATION_LEVEL = s;
+ GCC_PREPROCESSOR_DEFINITIONS = (
+ "$(inherited)",
+ "SWIFT_PACKAGE=1",
+ );
+ MACOSX_DEPLOYMENT_TARGET = 10.10;
+ OTHER_SWIFT_FLAGS = "$(inherited) -DXcode";
+ PRODUCT_NAME = "$(TARGET_NAME)";
+ SDKROOT = macosx;
+ SUPPORTED_PLATFORMS = "$(AVAILABLE_PLATFORMS)";
+ SUPPORTS_MACCATALYST = YES;
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) SWIFT_PACKAGE";
+ SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
+ USE_HEADERMAP = NO;
};
name = Release;
};
- C4346B102958429100817147 /* Debug */ = {
+ OBJ_52 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
- CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
- DEFINES_MODULE = YES;
- DEVELOPMENT_TEAM = "";
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- GENERATE_INFOPLIST_FILE = YES;
- INFOPLIST_KEY_NSHumanReadableCopyright = "";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 11.1;
- LD_RUNPATH_SEARCH_PATHS = (
+ DRIVERKIT_DEPLOYMENT_TARGET = 19.0;
+ ENABLE_TESTABILITY = YES;
+ FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
- "@executable_path/Frameworks",
- "@loader_path/Frameworks",
+ "$(PLATFORM_DIR)/Developer/Library/Frameworks",
);
- MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = izyumkin.MCEmojiPicker;
+ HEADER_SEARCH_PATHS = "$(inherited)";
+ INFOPLIST_FILE = MCEmojiPicker.xcodeproj/MCEmojiPicker_Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.1;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
+ MACOSX_DEPLOYMENT_TARGET = 10.13;
+ OTHER_CFLAGS = "$(inherited)";
+ OTHER_LDFLAGS = "$(inherited)";
+ OTHER_SWIFT_FLAGS = "$(inherited)";
+ PRODUCT_BUNDLE_IDENTIFIER = MCEmojiPicker;
+ PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
- SWIFT_EMIT_LOC_STRINGS = YES;
- SWIFT_VERSION = 5.0;
- TARGETED_DEVICE_FAMILY = "1,2";
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
+ SWIFT_VERSION = 4.2;
+ TARGET_NAME = MCEmojiPicker;
+ TVOS_DEPLOYMENT_TARGET = 11.0;
+ WATCHOS_DEPLOYMENT_TARGET = 4.0;
};
name = Debug;
};
- C4346B112958429100817147 /* Release */ = {
+ OBJ_53 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
- CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 1;
- DEFINES_MODULE = YES;
- DEVELOPMENT_TEAM = "";
- DYLIB_COMPATIBILITY_VERSION = 1;
- DYLIB_CURRENT_VERSION = 1;
- DYLIB_INSTALL_NAME_BASE = "@rpath";
- GENERATE_INFOPLIST_FILE = YES;
- INFOPLIST_KEY_NSHumanReadableCopyright = "";
- INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
- IPHONEOS_DEPLOYMENT_TARGET = 11.1;
- LD_RUNPATH_SEARCH_PATHS = (
+ DRIVERKIT_DEPLOYMENT_TARGET = 19.0;
+ ENABLE_TESTABILITY = YES;
+ FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
- "@executable_path/Frameworks",
- "@loader_path/Frameworks",
+ "$(PLATFORM_DIR)/Developer/Library/Frameworks",
);
- MARKETING_VERSION = 1.0;
- PRODUCT_BUNDLE_IDENTIFIER = izyumkin.MCEmojiPicker;
+ HEADER_SEARCH_PATHS = "$(inherited)";
+ INFOPLIST_FILE = MCEmojiPicker.xcodeproj/MCEmojiPicker_Info.plist;
+ IPHONEOS_DEPLOYMENT_TARGET = 11.1;
+ LD_RUNPATH_SEARCH_PATHS = "$(inherited) $(TOOLCHAIN_DIR)/usr/lib/swift/macosx";
+ MACOSX_DEPLOYMENT_TARGET = 10.13;
+ OTHER_CFLAGS = "$(inherited)";
+ OTHER_LDFLAGS = "$(inherited)";
+ OTHER_SWIFT_FLAGS = "$(inherited)";
+ PRODUCT_BUNDLE_IDENTIFIER = MCEmojiPicker;
+ PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
- SWIFT_EMIT_LOC_STRINGS = YES;
- SWIFT_VERSION = 5.0;
- TARGETED_DEVICE_FAMILY = "1,2";
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited)";
+ SWIFT_VERSION = 4.2;
+ TARGET_NAME = MCEmojiPicker;
+ TVOS_DEPLOYMENT_TARGET = 11.0;
+ WATCHOS_DEPLOYMENT_TARGET = 4.0;
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
- C4346B022958429100817147 /* Build configuration list for PBXProject "MCEmojiPicker" */ = {
+ OBJ_2 /* Build configuration list for PBXProject "MCEmojiPicker" */ = {
isa = XCConfigurationList;
buildConfigurations = (
- C4346B0D2958429100817147 /* Debug */,
- C4346B0E2958429100817147 /* Release */,
+ OBJ_3 /* Debug */,
+ OBJ_4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
- C4346B0F2958429100817147 /* Build configuration list for PBXNativeTarget "MCEmojiPicker" */ = {
+ OBJ_51 /* Build configuration list for PBXNativeTarget "MCEmojiPicker" */ = {
isa = XCConfigurationList;
buildConfigurations = (
- C4346B102958429100817147 /* Debug */,
- C4346B112958429100817147 /* Release */,
+ OBJ_52 /* Debug */,
+ OBJ_53 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
- rootObject = C4346AFF2958429100817147 /* Project object */;
+ rootObject = OBJ_1 /* Project object */;
}
diff --git a/MCEmojiPicker.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/MCEmojiPicker.xcodeproj/project.xcworkspace/contents.xcworkspacedata
index 919434a..fe1aa71 100644
--- a/MCEmojiPicker.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ b/MCEmojiPicker.xcodeproj/project.xcworkspace/contents.xcworkspacedata
@@ -4,4 +4,4 @@
-
+
\ No newline at end of file
diff --git a/MCEmojiPicker.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/MCEmojiPicker.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file mode 100644
index 0000000..a72dc2b
--- /dev/null
+++ b/MCEmojiPicker.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
@@ -0,0 +1,8 @@
+
+
+
+
+ IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded
+
+
+
\ No newline at end of file
diff --git a/MCEmojiPicker.xcodeproj/project.xcworkspace/xcuserdata/ivanizumkin.xcuserdatad/UserInterfaceState.xcuserstate b/MCEmojiPicker.xcodeproj/project.xcworkspace/xcuserdata/ivanizumkin.xcuserdatad/UserInterfaceState.xcuserstate
index 640bfdd..5e3fb07 100644
Binary files a/MCEmojiPicker.xcodeproj/project.xcworkspace/xcuserdata/ivanizumkin.xcuserdatad/UserInterfaceState.xcuserstate and b/MCEmojiPicker.xcodeproj/project.xcworkspace/xcuserdata/ivanizumkin.xcuserdatad/UserInterfaceState.xcuserstate differ
diff --git a/MCEmojiPicker.xcodeproj/xcshareddata/xcschemes/MCEmojiPicker-Package.xcscheme b/MCEmojiPicker.xcodeproj/xcshareddata/xcschemes/MCEmojiPicker-Package.xcscheme
new file mode 100644
index 0000000..8ec542b
--- /dev/null
+++ b/MCEmojiPicker.xcodeproj/xcshareddata/xcschemes/MCEmojiPicker-Package.xcscheme
@@ -0,0 +1,58 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Package.swift b/Package.swift
index a1472b6..e63f7ac 100644
--- a/Package.swift
+++ b/Package.swift
@@ -1,4 +1,4 @@
-// swift-tools-version:5.7
+// swift-tools-version: 5.7
import PackageDescription
diff --git a/Sources/MCEmojiPicker/Resource/Extensions/Bundle+Extension.swift b/Sources/MCEmojiPicker/Resource/Extensions/Bundle+Extension.swift
new file mode 100644
index 0000000..5973e29
--- /dev/null
+++ b/Sources/MCEmojiPicker/Resource/Extensions/Bundle+Extension.swift
@@ -0,0 +1,21 @@
+//
+// Bundle+Extension.swift
+// MCEmojiPicker
+//
+// Created by Иван Изюмкин on 25.12.2022.
+//
+
+import Foundation
+
+#if !SPM
+extension Bundle {
+ /// Localization bundle.
+ static var module: Bundle {
+ let path = Bundle(for: MCUnicodeManager.self).path(
+ forResource: "MCEmojiPicker",
+ ofType: "bundle"
+ ) ?? ""
+ return Bundle(path: path) ?? Bundle.main
+ }
+}
+#endif
diff --git a/Sources/MCEmojiPicker/Services/MCUnicodeManager.swift b/Sources/MCEmojiPicker/Services/MCUnicodeManager.swift
index 2316d3b..2516cc0 100644
--- a/Sources/MCEmojiPicker/Services/MCUnicodeManager.swift
+++ b/Sources/MCEmojiPicker/Services/MCUnicodeManager.swift
@@ -56,29 +56,26 @@ final class MCUnicodeManager: MCUnicodeManagerProtocol {
- Parameter type: Emoji category type.
*/
public func getEmojiCategoryTitle(for type: MCEmojiCategoryType) -> String {
- let path = Bundle(for: MCUnicodeManager.self).path(forResource: "MCEmojiPicker", ofType: "bundle") ?? ""
- // Localization bundle.
- let bundle = Bundle(path: path) ?? Bundle.main
// Localization file name.
let localizationTableName = "MCEmojiPickerLocalizable"
switch type {
case .people:
- return NSLocalizedString("emotionsAndPeople", tableName: localizationTableName, bundle: bundle, comment: "")
+ return NSLocalizedString("emotionsAndPeople", tableName: localizationTableName, bundle: .module, comment: "")
case .nature:
- return NSLocalizedString("animalsAndNature", tableName: localizationTableName, bundle: bundle, comment: "")
+ return NSLocalizedString("animalsAndNature", tableName: localizationTableName, bundle: .module, comment: "")
case .foodAndDrink:
- return NSLocalizedString("foodAndDrinks", tableName: localizationTableName, bundle: bundle, comment: "")
+ return NSLocalizedString("foodAndDrinks", tableName: localizationTableName, bundle: .module, comment: "")
case .activity:
- return NSLocalizedString("activities", tableName: localizationTableName, bundle: bundle, comment: "")
+ return NSLocalizedString("activities", tableName: localizationTableName, bundle: .module, comment: "")
case .travelAndPlaces:
- return NSLocalizedString("travellingAndPlaces", tableName: localizationTableName, bundle: bundle, comment: "")
+ return NSLocalizedString("travellingAndPlaces", tableName: localizationTableName, bundle: .module, comment: "")
case .objects:
- return NSLocalizedString("items", tableName: localizationTableName, bundle: bundle, comment: "")
+ return NSLocalizedString("items", tableName: localizationTableName, bundle: .module, comment: "")
case .symbols:
- return NSLocalizedString("symbols", tableName: localizationTableName, bundle: bundle, comment: "")
+ return NSLocalizedString("symbols", tableName: localizationTableName, bundle: .module, comment: "")
case .flags:
- return NSLocalizedString("flags", tableName: localizationTableName, bundle: bundle, comment: "")
+ return NSLocalizedString("flags", tableName: localizationTableName, bundle: .module, comment: "")
}
}
}