Skip to content

Instantly share code, notes, and snippets.

Avatar

Jordan Favray jofvr

  • France
View GitHub Profile
@jofvr
jofvr / UITextViewPlaceholder.swift
Last active Mar 24, 2021 — forked from tijme/UITextViewPlaceholder.swift
The correct way to implement a placeholder in a UITextView (Swift) + without delegate + Swift 4 AND correct bug on place holder
View UITextViewPlaceholder.swift
//
// UITextViewPlaceholder.swift
// TextViewPlaceholder
//
// Original Copyright (c) 2017 Tijme Gommers <tijme@finnwea.com>
// Modified Copyright (c) 2017 Jordan Favray <j.favray@free.fr>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights