All Projects → younatics → Highlighter

younatics / Highlighter

Licence: mit
🖍 Highlight whatever you want!

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Highlighter

Kube Metrics Adapter
General purpose metrics adapter for Kubernetes HPA metrics
Stars: ✭ 309 (-66.01%)
Mutual labels:  pod
Xhpaykit
🔥不用官方SDK实现微信支付、支付宝支付
Stars: ✭ 544 (-40.15%)
Mutual labels:  pod
Gqanimation
几种常见的动画,如晴天,雨天,多云,雷阵雨,二维码扫描,脉冲等
Stars: ✭ 19 (-97.91%)
Mutual labels:  pod
Xhlaunchad
🔥The screen opening advertising solutions - 开屏广告、启动广告解决方案-支持静态/动态图片广告,mp4视频广告,全屏/半屏广告、兼容iPhone/iPad. 【 Github下载不了/下载慢 可以访问国内下载地址: https://gitee.com/CoderZhuXH/XHLaunchAd】
Stars: ✭ 3,578 (+293.62%)
Mutual labels:  pod
Laravel Blade
This package adds syntax definitions for the Laravel Blade engine.
Stars: ✭ 395 (-56.55%)
Mutual labels:  highlighter
Frakti
The hypervisor-based container runtime for Kubernetes.
Stars: ✭ 630 (-30.69%)
Mutual labels:  pod
Knphotobrowser
📷 图片 || 视频 浏览器(本地和网络) , UIViewController + CollectionView , 完美适配 iPhone 以及 iPad ,屏幕旋转功能 , 适配SDWebImage 5.0
Stars: ✭ 296 (-67.44%)
Mutual labels:  pod
Ios Imagezoomviewer
ImageZoomViewer is a simple to use Objective C framework that allows the capability of viewing images with zoom-in zoom-out functionality.
Stars: ✭ 14 (-98.46%)
Mutual labels:  pod
Hae
HaE - BurpSuite Highlighter and Extractor
Stars: ✭ 397 (-56.33%)
Mutual labels:  highlighter
Numericaltextentry
An iOS library for beautiful number entry fields. iPad friendly. Written in Swift.
Stars: ✭ 16 (-98.24%)
Mutual labels:  pod
Fwpopupview
弹窗控件:支持AlertView、Sheet、自定义视图的PopupView。AlertView中可以嵌套自定义视图,各组件的显示隐藏可配置;Sheet仿微信样式;同时提供自定义弹出。更多配置请参考”可设置参数“,提供OC使用Demo。
Stars: ✭ 361 (-60.29%)
Mutual labels:  pod
Pysearch
🔍 An elegant search controller which replaces the UISearchController for iOS (iPhone & iPad) .
Stars: ✭ 3,816 (+319.8%)
Mutual labels:  pod
Kydrawercontroller
Side Drawer Navigation Controller similar to Android
Stars: ✭ 632 (-30.47%)
Mutual labels:  pod
Kubectl Plugins
A Collection of Plugins for kubectl Integration (exec as any user, context switching, etc).
Stars: ✭ 340 (-62.6%)
Mutual labels:  pod
Openebs
Leading Open Source Container Attached Storage, built using Cloud Native Architecture, simplifies running Stateful Applications on Kubernetes.
Stars: ✭ 7,277 (+700.55%)
Mutual labels:  pod
Swiftproject
swift project that brings together some demos, componented, Target-Action, use Swift
Stars: ✭ 310 (-65.9%)
Mutual labels:  pod
Badgehub
A way to quickly add a notification badge icon to any view. Make any view of a full-fledged animated notification center.
Stars: ✭ 592 (-34.87%)
Mutual labels:  pod
Openshift Psap
Example roles and yaml files for performance-sensitive applications running on OpenShift
Stars: ✭ 20 (-97.8%)
Mutual labels:  pod
Fcfilemanager
iOS File Manager on top of NSFileManager for simplifying files management. 📂
Stars: ✭ 862 (-5.17%)
Mutual labels:  pod
Certified Kubernetes Security Specialist
Curated resources help you prepare for the CNCF/Linux Foundation CKS 2021 "Kubernetes Certified Security Specialist" Certification exam. Please provide feedback or requests by raising issues, or making a pull request. All feedback for improvements are welcome. thank you.
Stars: ✭ 691 (-23.98%)
Mutual labels:  pod

Highlighter

Awesome Version Carthage Compatible License: MIT Build Status Platform Swift 5.0

Updates

See CHANGELOG for details

Intoduction

🖍 Highlight whatever you want! Highlighter will magically find UI objects such as UILabel, UITextView, UITexTfield, UIButton in your UITableViewCell or other Class.

See YNSearch for advanced usage

demo

Requirements

Highlighter is written in Swift 5.0. Compatible with iOS 9.0+

Installation

Cocoapods

Highlighter is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'Highlighter'

Carthage

github "younatics/Highlighter"

Usage

You can search any UIView using view.highlight(text:normal:highlight:type:) It will search subviews for the provided text and highlight them using the attributes provided.

To search all supported subview use:

view.highlight(text: "Foo", normal: normalAttributes, highlight: highlightedAttributes)

or you can limit the search to a single type using:

view.highlight(text: "Foo", normal: normalAttributes, highlight: highlightedAttributes, type: UIButton.self)

Examples

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
guard let cell = self.ynSearchListViewDelegate?.ynSearchListView(tableView, cellForRowAt: indexPath) as? SearchViewCell else { return UITableViewCell() }
            
  if let changedText = ynSearchTextFieldText {
    cell.highlight(text: changedText, normal: nil, highlight: [NSBackgroundColorAttributeName: UIColor.yellow])
    }
  return cell
  }
}

References

Please tell me or make pull request if you use this library in your application :)

MotionBook

YNSearch

Author

younatics Twitter

License

Highlighter is available under the MIT license. See the LICENSE file for more info.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].