This file contains hidden or 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
| public struct SkeletonGradientAnimationView: View { | |
| @State var offset: CGFloat = 0 | |
| public var body: some View { | |
| ZStack { | |
| GeometryReader { reader in | |
| let largestSide = reader.size.width > reader.size.height ? reader.size.width : reader.size.height | |
| LinearGradient( |
This file contains hidden or 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 | |
| struct KeyPad: View { | |
| @Binding var string: String | |
| var action: () -> Void | |
| var body: some View { | |
| VStack { | |
| KeyPadRow(keys: ["1", "2", "3"]) | |
| KeyPadRow(keys: ["4", "5", "6"]) | |
| KeyPadRow(keys: ["7", "8", "9"]) |
This file contains hidden or 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 WebKit | |
| typealias WebCallBack = ((String?) -> Void)? | |
| class MyWKDelegate: NSObject, WKNavigationDelegate { | |
| private var webCallBack: WebCallBack = nil | |
| init(webCallBack: WebCallBack) { | |
| self.webCallBack = webCallBack |
OlderNewer