Search
 
SCRIPT & CODE EXAMPLE
 

SWIFT

change placeholder color swift

myTextField.attributedPlaceholder = NSAttributedString(string: "placeholder text",
                             attributes: [NSAttributedString.Key.foregroundColor: UIColor.white])
Comment

set white place holder color in swift

placeholderLabel.textColor (Swift 4)

_placeholderLabel.textColor (Swift 3 or less)
Comment

PREVIOUS NEXT
Code Example
Swift :: swift close view 
Swift :: collectionview cellssize swift 4 
Swift :: ios make http request 
Swift :: how to set the font of text in swiftui 
Swift :: simple alert swifti 
Swift :: swift inheritance 
Swift :: swift array remove 
Swift :: hello world in swift 
Swift :: swift dictionary sorted 
Swift :: swiftui tutorial 
Swift :: hstack spacing swiftui 
Swift :: how to make month format in swift 
Swift :: convert secondsfrom1970 to date swift 
Swift :: swift add enum storyboard 
Swift :: struct vs class in swift 
Swift :: SwiftCSV and RealmSwift library 
Swift :: send receive udp swift 
Swift :: Swift nested if Statement 
Swift :: Swift Computed Property In Extension 
Swift :: how to check if something is in a set in swift 
Swift :: Swift Optional Binding (if-let 
Swift :: swift constants 
Swift :: uilabel without constraint 
Swift :: how to declare populated dictionary in swift 
Swift :: swift truncate a float 
Swift :: mp3 player with swift iOS & macOS 
Swift :: while loop swift 
Ruby :: devise generate controller 
Ruby :: rails prepare testing db 
Ruby :: ruby reference a file in a gem 
ADD CONTENT
Topic
Content
Source link
Name
6+1 =