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
| // | |
| // SoundVisualizer.swift | |
| // Animations | |
| // | |
| // Created by Inncoder on 21/09/2020. | |
| // Copyright © 2020 Inncoder AS. All rights reserved. | |
| // | |
| import SwiftUI |
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
| // | |
| // Created by Inncoder on 01/10/2020. | |
| // Copyright © 2020 Inncoder AS. All rights reserved. | |
| // | |
| import SwiftUI | |
| struct CircleLoading: View { | |
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
| // | |
| // DarkTabBar.swift | |
| // Animations | |
| // | |
| // Created by Inncoder on 10/10/2020. | |
| // Copyright © 2020 Inncoder AS. All rights reserved. | |
| // | |
| import SwiftUI |
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
| struct Ghost: Shape { | |
| var time: CGFloat | |
| let width: CGFloat | |
| let height: CGFloat | |
| let curveHeight: CGFloat | |
| let curveLength: CGFloat | |
| func path(in rect: CGRect) -> Path { | |
| return ( | |
| Path { path in |
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
| // | |
| // SearchBox.swift | |
| // SeachBox | |
| // | |
| // Created by Inncoder. | |
| // | |
| import SwiftUI | |
| struct SearchBox: View { |
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
| struct Hourglass: View { | |
| let hourglassSize: CGFloat | |
| let glassColor: Color | |
| let sandColor: Color | |
| @State private var topOffset: CGFloat = 0 | |
| @State private var middleOffset: CGFloat = 0 | |
| @State private var bottomOffset: CGFloat = 0 | |
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
| // Created by Inncoder on 15/11/2020. | |
| // Copyright © 2020 Inncoder AS. All rights reserved. | |
| // | |
| import SwiftUI | |
| struct ShuffleLoading: View { | |
| @State private var offset: [CGFloat] = [0, 0, 0] | |
| @State private var rotation: [Double] = [0, 0, 0] |
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
| // | |
| // Toggle.swift | |
| // Animations | |
| // | |
| // Created by Inncoder on 18/11/2020. | |
| // Copyright © 2020 Inncoder AS. All rights reserved. | |
| // | |
| import SwiftUI |
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
| // Created by Inncoder. | |
| // Copyright © 2020 Inncoder AS. All rights reserved. | |
| // | |
| import SwiftUI | |
| struct NeumorphicToggle: View { | |
| @State private var toggled = false | |
| @State private var animating = false |
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
| struct ParticleEmitter { | |
| static var rectangle: ParticlesEmitter { | |
| get { | |
| let base = EmitterCell() | |
| .content(.circle(10)) | |
| .birthRate(20) | |
| .lifetime(14) | |
| .velocity(CGFloat(Int.random(in: 50...100))) | |
| .velocityRange(0) | |
| .emissionLongitude(10) |