All Projects → edgar-zigis → Cocoatextfield

edgar-zigis / Cocoatextfield

Licence: mit
Apple TextField created according to the Material.IO guidelines of 2019. Featured at Medium.

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Cocoatextfield

Rearrange
Collection of utilities for interacting with NSRange and NSTextRange
Stars: ✭ 28 (-85.64%)
Mutual labels:  uitextview, cocoa
Ragtextfield
Subclass of UITextField that adds an animated placeholder and an optional hint label below the text.
Stars: ✭ 227 (+16.41%)
Mutual labels:  material, textfield
Cminputview
💪之前代码是基于UITextView进行的封装,侵入性较强,不方便使用,现使用Category重构代码,支持Cocoapods
Stars: ✭ 149 (-23.59%)
Mutual labels:  textfield, uitextview
LycricsTextView
No description or website provided.
Stars: ✭ 14 (-92.82%)
Mutual labels:  uitextview, textfield
Material
A UI/UX framework for creating beautiful applications.
Stars: ✭ 11,870 (+5987.18%)
Mutual labels:  material, textfield
Unifiedcontactpicker
Stars: ✭ 178 (-8.72%)
Mutual labels:  material
Password Strength
Angular UI library to illustrate and validate a password's strength with material design - Angular V9 supported
Stars: ✭ 186 (-4.62%)
Mutual labels:  material
Polybar Collection
Beautiful collection of Polybar themes
Stars: ✭ 172 (-11.79%)
Mutual labels:  material
Mail Notifr
Mail Notifr - Gmail Notifier for macOS
Stars: ✭ 172 (-11.79%)
Mutual labels:  cocoa
Ngx Material File Input
File input for Angular Material form-field
Stars: ✭ 193 (-1.03%)
Mutual labels:  material
Cocoa Rest Client
A free, native Apple macOS app for testing HTTP/REST endpoints
Stars: ✭ 2,257 (+1057.44%)
Mutual labels:  cocoa
Wwdc Notes
WWDCNotes.com content ✨
Stars: ✭ 183 (-6.15%)
Mutual labels:  cocoa
Vanilla Back To Top
Simple and smooth Back To Top button
Stars: ✭ 179 (-8.21%)
Mutual labels:  material
Twitterx
Keeping Twitter for macOS alive with code injection
Stars: ✭ 187 (-4.1%)
Mutual labels:  cocoa
React Mdc Web
Material Design Components for React
Stars: ✭ 175 (-10.26%)
Mutual labels:  material
Browser Base
Modern and feature-rich web browser base based on Electron
Stars: ✭ 2,417 (+1139.49%)
Mutual labels:  material
React Native Paper Dates
Smooth and fast cross platform Material Design date and time picker for React Native Paper
Stars: ✭ 173 (-11.28%)
Mutual labels:  material
Kau
An extensive collection of Kotlin Android Utils
Stars: ✭ 182 (-6.67%)
Mutual labels:  material
Vuetify Daterange Picker
The missing date range picker for Vuetify JS you have been looking for.
Stars: ✭ 192 (-1.54%)
Mutual labels:  material
Materialshadows
Material Shadows for android : A library for supporting convex material shadows
Stars: ✭ 2,145 (+1000%)
Mutual labels:  material

CocoaTextField

Highly customizable text field created according to Material.IO guidelines.

Minimum iOS version 11.0

alt text

Carthage

github "edgar-zigis/CocoaTextField" ~> 1.1.1

Cocoapods

pod 'CocoaTextField', '~> 1.1.1'

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/edgar-zigis/CocoaTextField.git", .upToNextMajor(from: "1.1.1"))
]

Usage

let v = CocoaTextField()
v.placeholder = "Your hint"
v.inactiveHintColor = UIColor(red: 209/255, green: 211/255, blue: 212/255, alpha: 1)
v.activeHintColor = UIColor(red: 94/255, green: 186/255, blue: 187/255, alpha: 1)
v.focusedBackgroundColor = UIColor(red: 236/255, green: 239/255, blue: 239/255, alpha: 1)
v.defaultBackgroundColor = UIColor(red: 250/255, green: 250/255, blue: 250/255, alpha: 1)
v.borderColor = UIColor(red: 239/255, green: 239/255, blue: 239/255, alpha: 1)
v.errorColor = UIColor(red: 231/255, green: 76/255, blue: 60/255, alpha: 0.7)
v.borderWidth = 1
v.cornerRadius = 11

Remarks

It can be used both programmatically and with storyboards. Samples are available at CocoaTextFieldTest

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].