27 Commits

Author SHA1 Message Date
Nuno Vieira fddf7b06db Update README.md 2022-10-07 11:50:58 +01:00
cardoso 553795344f new images 2020-08-06 15:15:54 -03:00
Matheus Cardoso 32107e4811 Update README.md 2020-07-22 19:04:08 -03:00
Matheus Cardoso c45d1ed621 Update README.md 2020-07-20 11:42:32 -03:00
Matheus Cardoso c7218c1bef Update README.md 2020-07-17 23:10:18 -03:00
Matheus Cardoso f3c710d779 Update README.md 2020-07-17 16:21:46 -03:00
Matheus Cardoso c0dab3ca85 Update README.md 2020-07-17 16:19:46 -03:00
Matheus Cardoso ade17943e2 Update README.md 2020-07-17 15:15:09 -03:00
Matheus Cardoso 653893188b Update README.md 2020-07-17 15:14:35 -03:00
cardoso c92c919bdb Bump version 2020-07-17 12:03:47 -03:00
Matheus Cardoso 2b916886f1 Update README.md 2020-07-17 00:15:55 -03:00
Matheus Cardoso 9f0f7b618b Update README.md 2020-07-17 00:15:26 -03:00
Matheus Cardoso da4b2201c9 Update README.md 2020-07-17 00:14:30 -03:00
Matheus Cardoso fd58978949 Update README.md 2020-07-17 00:12:48 -03:00
Matheus Cardoso 850feca6ae Update README.md 2020-07-17 00:11:51 -03:00
Matheus Cardoso 82854e07f4 Update README.md 2020-07-17 00:11:21 -03:00
Matheus Cardoso 1607c81038 Add files via upload 2020-07-17 00:03:01 -03:00
cardoso 56d00e8b48 Bump v0.1.6 2020-07-16 23:52:28 -03:00
cardoso 6c1b15badc Update demo gif 2020-07-16 23:51:34 -03:00
cardoso 4f834e166b Merge branch 'main' of github.com:GetStream/Streamoji into main 2020-07-16 23:51:24 -03:00
cardoso 5a05a1ca18 Adjust unicode emoji size 2020-07-16 23:51:13 -03:00
cardoso 3c4f90e656 Increase demo font size 2020-07-16 23:50:16 -03:00
Matheus Cardoso 84f8a31c7f Update README.md 2020-07-16 22:30:39 -03:00
Matheus Cardoso 78d39f29d8 Update README.md 2020-07-16 22:20:16 -03:00
Matheus Cardoso a26cca9afe Update swift.yml 2020-07-16 22:14:46 -03:00
Matheus Cardoso 7aed670b37 Update swift.yml 2020-07-16 22:10:12 -03:00
cardoso 0a4d72a5d1 Support Carthage & Bump 0.1.5 2020-07-16 22:00:07 -03:00
19 changed files with 517 additions and 25 deletions
+1 -1
View File
@@ -14,4 +14,4 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build
run: xcodebuild
run: xcodebuild -project Streamoji.xcodeproj CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO
+2
View File
@@ -0,0 +1,2 @@
github "kean/Nuke" ~> 8.4
github "kirualex/SwiftyGif" ~> 5.2.0
@@ -2,52 +2,53 @@
"images" : [
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "2x"
"scale" : "2x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"size" : "20x20",
"scale" : "3x"
"scale" : "3x",
"size" : "20x20"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "2x"
"scale" : "2x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"size" : "29x29",
"scale" : "3x"
"scale" : "3x",
"size" : "29x29"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "2x"
"scale" : "2x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"size" : "40x40",
"scale" : "3x"
"scale" : "3x",
"size" : "40x40"
},
{
"idiom" : "iphone",
"size" : "60x60",
"scale" : "2x"
"scale" : "2x",
"size" : "60x60"
},
{
"filename" : "Untitled 2.png",
"idiom" : "iphone",
"size" : "60x60",
"scale" : "3x"
"scale" : "3x",
"size" : "60x60"
},
{
"idiom" : "ios-marketing",
"size" : "1024x1024",
"scale" : "1x"
"scale" : "1x",
"size" : "1024x1024"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "baby-yoda.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

+1 -1
View File
@@ -36,7 +36,7 @@ class ViewController: UIViewController {
textView.isEditable = true
textView.textAlignment = .center
textView.font = .systemFont(ofSize: 24)
textView.font = .systemFont(ofSize: 32)
view.addSubview(textView)
textView.frame = view.frame
+9 -2
View File
@@ -7,9 +7,16 @@
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/getstream/streamoji/Swift)](https://github.com/GetStream/Streamoji/actions?query=workflow%3ASwift)
[![Cocoapods](https://img.shields.io/cocoapods/v/Streamoji)](https://cocoapods.org/pods/Streamoji)
![Cocoapods platforms](https://img.shields.io/cocoapods/p/Streamoji)
![SPM & Carthage compatible](https://img.shields.io/badge/SPM%20%26%20Carthage-compatible-green)
[![License](https://img.shields.io/github/license/getstream/streamoji)](/LICENSE)
[![Twitter](https://img.shields.io/twitter/url?url=https%3A%2F%2Fgithub.com%2FGetStream%2FStreamoji)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2FGetStream%2FStreamoji)
[![Twitter Follow](https://img.shields.io/twitter/follow/getstream_io?style=social)](https://twitter.com/intent/follow?screen_name=getstream_io)
### :warning: This project has a new home :house: https://github.com/cardoso/Streamoji
Custom emojis are a fun way to bring more life and customizability to your apps. They're available in some of the most popular apps, such as Slack, Discord, and Twitch. However, iOS SDK doesn't provide straight forward support for custom emojis out of the box. Now, you're a couple code lines away from adding them to your own app with this library.
Streamoji is a custom emoji rendering library for iOS. It supports GIF <img src="https://github.com/GetStream/Streamoji/blob/main/meta/emojis/carlton.gif?raw=true" width="24" />, images <img src="https://github.com/GetStream/Streamoji/blob/main/meta/emojis/doge.png?raw=true" width="24"/>, and unicode 🦊. It loads from URLs or local assets. Caching is taken care of and performance is ⚡️ fast! Made with 💘 by the folks @ [Stream](https://getstream.io).
<img align="right" src="https://github.com/GetStream/Streamoji/raw/main/meta/images/demo.gif" width="33%" />
@@ -58,7 +65,7 @@ textView.attributedText = NSAttributedString(string:
textView.configureEmojis(exampleEmojis, rendering: .highestQuality)
```
You can also tweak a couple (for now) rendering options: `quality` and `scale`.
You can also tweak a couple (for now) rendering options: quality and scale in relation to the surrounding text.
## Example
@@ -75,7 +82,7 @@ pod 'Streamoji'
## Author
cardoso, matheus@gestream.io
[@cardoso](https://github.com/cardoso), matheus@getstream.io
## License
+1 -1
View File
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = 'Streamoji'
s.version = '0.1.4'
s.version = '0.1.7'
s.summary = 'Custom emoji rendering library for iOS apps with support for GIF & images.'
s.swift_version = '5.2'
+336
View File
@@ -0,0 +1,336 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objects = {
/* Begin PBXBuildFile section */
807E5AF124C12D9600791815 /* Streamoji.h in Headers */ = {isa = PBXBuildFile; fileRef = 807E5AEF24C12D9600791815 /* Streamoji.h */; settings = {ATTRIBUTES = (Public, ); }; };
807E5AF824C12DDB00791815 /* Classes in Resources */ = {isa = PBXBuildFile; fileRef = 807E5AF724C12DDB00791815 /* Classes */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
807E5AEC24C12D9600791815 /* Streamoji.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Streamoji.framework; sourceTree = BUILT_PRODUCTS_DIR; };
807E5AEF24C12D9600791815 /* Streamoji.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Streamoji.h; sourceTree = "<group>"; };
807E5AF024C12D9600791815 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
807E5AF724C12DDB00791815 /* Classes */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Classes; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
807E5AE924C12D9600791815 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
807E5AE224C12D9600791815 = {
isa = PBXGroup;
children = (
807E5AEE24C12D9600791815 /* Streamoji */,
807E5AED24C12D9600791815 /* Products */,
);
sourceTree = "<group>";
};
807E5AED24C12D9600791815 /* Products */ = {
isa = PBXGroup;
children = (
807E5AEC24C12D9600791815 /* Streamoji.framework */,
);
name = Products;
sourceTree = "<group>";
};
807E5AEE24C12D9600791815 /* Streamoji */ = {
isa = PBXGroup;
children = (
807E5AEF24C12D9600791815 /* Streamoji.h */,
807E5AF024C12D9600791815 /* Info.plist */,
807E5AF724C12DDB00791815 /* Classes */,
);
path = Streamoji;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
807E5AE724C12D9600791815 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
807E5AF124C12D9600791815 /* Streamoji.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */
/* Begin PBXNativeTarget section */
807E5AEB24C12D9600791815 /* Streamoji */ = {
isa = PBXNativeTarget;
buildConfigurationList = 807E5AF424C12D9600791815 /* Build configuration list for PBXNativeTarget "Streamoji" */;
buildPhases = (
807E5AE724C12D9600791815 /* Headers */,
807E5AE824C12D9600791815 /* Sources */,
807E5AE924C12D9600791815 /* Frameworks */,
807E5AEA24C12D9600791815 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = Streamoji;
productName = Streamoji;
productReference = 807E5AEC24C12D9600791815 /* Streamoji.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
807E5AE324C12D9600791815 /* Project object */ = {
isa = PBXProject;
attributes = {
LastUpgradeCheck = 1160;
ORGANIZATIONNAME = "Matheus Cardoso";
TargetAttributes = {
807E5AEB24C12D9600791815 = {
CreatedOnToolsVersion = 11.6;
};
};
};
buildConfigurationList = 807E5AE624C12D9600791815 /* Build configuration list for PBXProject "Streamoji" */;
compatibilityVersion = "Xcode 9.3";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
en,
Base,
);
mainGroup = 807E5AE224C12D9600791815;
productRefGroup = 807E5AED24C12D9600791815 /* Products */;
projectDirPath = "";
projectRoot = "";
targets = (
807E5AEB24C12D9600791815 /* Streamoji */,
);
};
/* End PBXProject section */
/* Begin PBXResourcesBuildPhase section */
807E5AEA24C12D9600791815 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
807E5AF824C12DDB00791815 /* Classes in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
807E5AE824C12D9600791815 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin XCBuildConfiguration section */
807E5AF224C12D9600791815 /* 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;
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;
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 = 11.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";
VERSIONING_SYSTEM = "apple-generic";
VERSION_INFO_PREFIX = "";
};
name = Debug;
};
807E5AF324C12D9600791815 /* 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;
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1;
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 = 11.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 = "";
};
name = Release;
};
807E5AF524C12D9600791815 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = FWD9V5VYJ2;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Streamoji/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = so.cardo.Streamoji;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
807E5AF624C12D9600791815 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
CODE_SIGN_STYLE = Automatic;
DEFINES_MODULE = YES;
DEVELOPMENT_TEAM = FWD9V5VYJ2;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = Streamoji/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = so.cardo.Streamoji;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
807E5AE624C12D9600791815 /* Build configuration list for PBXProject "Streamoji" */ = {
isa = XCConfigurationList;
buildConfigurations = (
807E5AF224C12D9600791815 /* Debug */,
807E5AF324C12D9600791815 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
807E5AF424C12D9600791815 /* Build configuration list for PBXNativeTarget "Streamoji" */ = {
isa = XCConfigurationList;
buildConfigurations = (
807E5AF524C12D9600791815 /* Debug */,
807E5AF624C12D9600791815 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 807E5AE324C12D9600791815 /* Project object */;
}
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:Streamoji.xcodeproj">
</FileRef>
</Workspace>
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>
@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1160"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "807E5AEB24C12D9600791815"
BuildableName = "Streamoji.framework"
BlueprintName = "Streamoji"
ReferencedContainer = "container:Streamoji.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "807E5AEB24C12D9600791815"
BuildableName = "Streamoji.framework"
BlueprintName = "Streamoji"
ReferencedContainer = "container:Streamoji.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
+2
View File
@@ -81,6 +81,8 @@ internal final class EmojiView: UIView {
private func commonInit() {
imageView.contentMode = .scaleAspectFit
label.font = .systemFont(ofSize: frame.width/1.1)
label.numberOfLines = 0
addSubview(imageView)
addSubview(label)
}
+22
View File
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
</plist>
+19
View File
@@ -0,0 +1,19 @@
//
// Streamoji.h
// Streamoji
//
// Created by Matheus Cardoso on 16/07/20.
// Copyright © 2020 Matheus Cardoso. All rights reserved.
//
#import <Foundation/Foundation.h>
//! Project version number for Streamoji.
FOUNDATION_EXPORT double StreamojiVersionNumber;
//! Project version string for Streamoji.
FOUNDATION_EXPORT const unsigned char StreamojiVersionString[];
// In this header, you should import all the public headers of your framework using statements like #import <Streamoji/PublicHeader.h>
Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 910 KiB

After

Width:  |  Height:  |  Size: 733 KiB