NBEmojiSearchView alternatives and similar libraries
Based on the "Text" category.
Alternatively, view NBEmojiSearchView alternatives based on common mentions on social networks and blogs.
-
PhoneNumberKit
A Swift framework for parsing, formatting and validating international phone numbers. Inspired by Google's libphonenumber. -
ZSSRichTextEditor
A beautiful rich text WYSIWYG editor for iOS with a syntax highlighted source view -
Twitter Text Obj
Twitter Text Libraries. This code is used at Twitter to tokenize and parse text to meet the expectations for what can be used on the platform. -
FontAwesomeKit
Icon font library for iOS. Currently supports Font-Awesome, Foundation icons, Zocial, and ionicons. -
TwitterTextEditor
A standalone, flexible API that provides a full-featured rich text editor for iOS applications. -
RichEditorView
DISCONTINUED. RichEditorView is a simple, modular, drop-in UIView subclass for Rich Text Editing. -
SwiftyMarkdown
Converts Markdown files and strings into NSAttributedStrings with lots of customisation options. -
Atributika
Convert text with HTML tags, links, hashtags, mentions into NSAttributedString. Make them clickable with UILabel drop-in replacement. -
SwiftIconFont
Icons fonts for iOS (Font Awesome 5, Iconic, Ionicon, Octicon, Themify, MapIcon, MaterialIcon, Foundation 3, Elegant Icon, Captain Icon) -
NSStringEmojize
A category on NSString to convert Emoji Cheat Sheet codes to their equivalent Unicode characters -
Mustard
🌭 Mustard is a Swift library for tokenizing strings when splitting by whitespace doesn't cut it. -
Heimdall
Heimdall is a wrapper around the Security framework for simple encryption/decryption operations. -
AttributedTextView
Easiest way to create an attributed UITextView (with support for multiple links and from html)
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of NBEmojiSearchView or a related project?
README
NBEmojiSearchView
Integrate a searchable emoji dropdown into your iOS app in just a few lines.
[](screencast.gif)
To start searching, the user just types a :
. Then, the emojiSearchView
will automatically parse text to find the user's search query and display results appropriately. When the user selects an emoji, the emojiSearchView
will automatically insert it into the correct location in the textField
or textView
.
Installation
CocoaPods
CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries like NBEmojiSearchView in your projects.
pod "NBEmojiSearchView"
Alternative
Alternatively, you can just drag the Source folder into your project.
Usage
Instantiate an NBEmojiSearchView
, then install it on a UITextField
or UITextView
as shown below.
NBEmojiSearchView *emojiSearchView = [[NBEmojiSearchView alloc] init];
then
[emojiSearchView installOnTextField:textField];
or
[emojiSearchView installOnTextView:textView];
You control sizing and placement of the emojiSearchView
. The emojiSearchView
will appear and disappear at the appropriate times automatically.
Customization
The UITableView
that displays results is exposed.
@property (nonatomic, strong) UITableView *tableView;
Animation
The appearance and disappearance animations. Set these blocks with custom animations you'd like the emojiSearchView
to execute.
If you choose to customize these the appear or disappear animation, you MUST call appearAnimationDidFinish
or disappearAnimationDidFinish
when the animation completes, respectively.
@property (nonatomic, copy) void (^appearAnimationBlock)(); "Default: A non-animated alpha change from 0.0 to 1.0."
@property (nonatomic, copy) void (^disappearAnimationBlock)(); "Default: A non-animated alpha change from 1.0 to 0.0."
Example
self.emojiSearchView.appearAnimationBlock = ^{
[UIView animateWithDuration:0.2 animations:^{
weakSelf.emojiSearchView.alpha = 1.0;
} completion:^(BOOL finished) {
[weakSelf.emojiSearchView appearAnimationDidFinish];
}];
};
Other Visuals
The font of the emoji result cells.
@property (nonatomic, strong) UIFont *font;
The text color of the emoji result cells.
@property (nonatomic, strong) UIColor *textColor;
The header title of the tableView
that displays emoji search results.
@property (nonatomic, strong) NSString *headerTitle;
Delegate Methods
These delegate methods revolve around the appearance and disappearance of the search view. Please let me know or PR if you'd like additional delegate methods.
- (void)emojiSearchViewWillAppear:(NBEmojiSearchView *)emojiSearchView;
- (void)emojiSearchViewDidAppear:(NBEmojiSearchView *)emojiSearchView;
- (void)emojiSearchViewWillDisappear:(NBEmojiSearchView *)emojiSearchView;
- (void)emojiSearchViewDidDisappear:(NBEmojiSearchView *)emojiSearchView;