PYSearch alternatives and similar libraries
Based on the "TextField & TextView" category.
Alternatively, view PYSearch alternatives based on common mentions on social networks and blogs.
-
JVFloatLabeledTextField
UITextField subclass with floating labels - inspired by Matt D. Smith's design: http://dribbble.com/shots/1254439--GIF-Mobile-Form-Interaction?list=users -
SkyFloatingLabelTextField
A beautiful and flexible text field control implementation of "Float Label Pattern". Written in Swift. -
Reel Search
:octocat: 🔍 RAMReel is a UI controller that allows you to choose options from a list. Swift UI library made by @Ramotion -
NextGrowingTextView
📝 The next in the generations of 'growing textviews' optimized for iOS 8 and above. -
InputBarAccessoryView
A simple and easily customizable InputAccessoryView for making powerful input bars with autocomplete and attachments -
RPFloatingPlaceholders
UITextField and UITextView subclasses with placeholders that change into floating labels when the fields are populated with text. -
KMPlaceholderTextView
A UITextView subclass that adds support for multiline placeholder written in Swift. -
UITextField-Navigation
🏄♂️ UITextField-Navigation makes it easier to navigate between UITextFields and UITextViews -
PasswordTextField
A custom TextField with a switchable icon which shows or hides the password and enforce good password policies -
CocoaTextField
Apple TextField created according to the Material.IO guidelines of 2019. Featured at Medium. -
ARAutocompleteTextView
ARAutocompleteTextView is a subclass of UITextView that automatically displays text suggestions in real-time. This is perfect for automatically suggesting the domain as a user types an email address, #hashtag or @alexruperez. -
CHIOTPField
CHIOTPField is a set of textfields that can be used for One-time passwords, SMS codes, PIN codes, etc. Mady by @ChiliLabs - https://chililabs.io -
AwesomeTextField
Awesome TextField is a nice and simple libriary for iOS and Mac OSX. It's highly customisable and easy-to-use tool. Works perfectly for any registration or login forms in your app. -
Streamoji
DISCONTINUED. :godmode: Custom emoji rendering library for iOS apps with support for GIF & still images - plug-in extension for UITextView - performance, cache ✅ - Made with 💘 by @GetStream -
CBPinEntryView
A customisable view for entering arbitrary length pins, codes or passwords in iOS. Supports iOS 12 one time codes. -
MBAutoGrowingTextView
DISCONTINUED. An auto-layout base UITextView subclass which automatically grows with user input and can be constrained by maximal and minimal height -
RSFloatInputView
A Float Input View with smooth animation and supporting icon and seperator written with Swift -
MVAutocompletePlaceSearchTextField
iOS - Subclass of UITextField to achieve autocompletion for Place Search like Google Places, Uber and Much more apps having maps. -
NxEnabled
DISCONTINUED. Library that allows you binding `enabled` property of button with textable elements (TextView, TextField)
CodeRabbit: AI Code Reviews for Developers
* 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 PYSearch or a related project?
README
- 🔍 An elegant search controller for iOS.
QQ chat room
Features
- [x] Support a variety of hot search style
- [x] Support a variety of search history style
- [x] Support a variety of search results display mode
- [x] Support a variety of search view controller display mode
- [x] Support search suggestions
- [x] Support search history (record) cache
- [x] Support callback using delegate or block completion search
- [x] Support CocoaPods
- [x] Support localization
- [x] Support vertical and horizontal screen on iPhone and iPad
Requirements
- iOS 7.0 or later
- Xcode 7.0 or later
Architecture
Main
PYSearch
PYSearchConst
PYSearchViewController
PYSearchSuggestionViewController
Category
UIColor+PYSearchExtension
UIView+PYSearchExtension
NSBundle+PYSearchExtension
Contents
Getting Started
Usage
Renderings
Styles
Hot search style
Search history style
How to use
- Use CocoaPods:
pod "PYSearch"
- Import the main file:
#import <PYSearch.h>
- Manual import:
- Drag All files in the
PYSearch
folder to project - Import the main file:
#import "PYSearch.h"
- Drag All files in the
Details (See the example program PYSearchExample for details)
// 1. Create hotSearches array
NSArray *hotSeaches = @[@"Java", @"Python", @"Objective-C", @"Swift", @"C", @"C++", @"PHP", @"C#", @"Perl", @"Go", @"JavaScript", @"R", @"Ruby", @"MATLAB"];
// 2. Create searchViewController
PYSearchViewController *searchViewController = [PYSearchViewController searchViewControllerWithHotSearches:hotSeaches searchBarPlaceholder:@"Search programming language" didSearchBlock:^(PYSearchViewController *searchViewController, UISearchBar *searchBar, NSString *searchText) {
// Call this Block when completion search automatically
// Such as: Push to a view controller
[searchViewController.navigationController pushViewController:[[UIViewController alloc] init] animated:YES];
}];
// 3. present the searchViewController
UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:searchViewController];
[self presentViewController:nav animated:NO completion:nil];
Custom
Custom search suggestions display
// 1. Set dataSource searchViewController.dataSource = self; // 2. Implement dataSource method
Custom search result dispaly
// 1. Set searchResultShowMode searchViewController.searchResultShowMode = PYSearchResultShowModeEmbed; // 2. Set searchResultController searchViewController.searchResultController = [[UIViewController alloc] init];
Set hotSearchStyle(default is PYHotSearchStyleNormalTag)
// Set hotSearchStyle searchViewController.hotSearchStyle = PYHotSearchStyleColorfulTag;
Set searchHistoryStyle(default is PYSearchHistoryStyleCell)
// Set searchHistoryStyle searchViewController.searchHistoryStyle = PYSearchHistoryStyleBorderTag;
Set searchHistoriesCachePath(default is PYSEARCH_SEARCH_HISTORY_CACHE_PATH)
// Set searchHistoriesCachePath searchViewController.searchHistoriesCachePath = @"The cache path";
Set searchHistoriesCount(default is 20)
// Set searchHistoriesCount searchViewController. searchHistoriesCount = 6;
Set searchResultShowMode(default is PYSearchResultShowModeCustom)
// Set searchResultShowMode searchViewController.searchResultShowMode = PYSearchResultShowModeEmbed;
Set searchSuggestionHidden(deafult is NO)
// Set searchSuggestionHidden searchViewController.searchSuggestionHidden = YES;
Hope
- If you have any questions during the process or want more interfaces to customize,you can issues me!
- Instead of giving me star, it is better to throw a bug to me!
- If you want to participate in the maintenance of this project or have a good design style, welcome to pull request!
- If you feel slightly discomfort in use, please contact me QQ:499491531 or Email:[email protected].
- Hope to improve this project together, let it become more powerful, able to meet the needs of most users!
Licenses
All source code is licensed under the MIT License.
*Note that all licence references and agreements mentioned in the PYSearch README section above
are relevant to that project's source code only.