This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import SwiftUI | |
import UIKit | |
struct NotesTextView: UIViewRepresentable { | |
@Binding var text: String | |
class Coordinator: NSObject, UITextViewDelegate { | |
@Binding var text: String |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import UIKit | |
struct Constants { | |
struct Design { | |
struct Color { | |
struct Primary { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension UIView { | |
func dropShadow() { | |
self.layer.shadowOpacity = 0.7 | |
self.layer.shadowOffset = CGSize(width: 3.0, height: 2.0) | |
self.layer.shadowRadius = 5.0 | |
} | |
} |