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 | |
struct StartView: View { | |
@State var monthlySaving: String = "" | |
@State var yearlyReturn: String = "" | |
@State var savings: String = "" | |
@State var amountToReach: String = "" | |
@State var yearsSaving: String = "" | |
@State private var tapped = false |
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 | |
struct AccountView: View { | |
var cardViews: [NameData] = DataList.allItems | |
let columns = [GridItem(.adaptive(minimum: 150))] | |
@State private var showMoreButton = false | |
var body: some View { |
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 | |
struct BoxesLoadingView: View { | |
@State private var moveBoxeDown = false | |
@State private var moveBoxRight = false | |
@State private var moveBoxUp = false | |
@State private var moveAllBoxesLeft = false | |
@State private var refreshPage = false | |
var body: some View { |
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
struct WithAnimationDelaysChallenge: View { | |
@State private var showHouse: Bool = false | |
@State private var showStar: Bool = false | |
@State private var showGlobe: Bool = false | |
@State private var showFlight: Bool = false | |
@State private var borderFill: CGFloat = 0.0 | |
@State private var showButton: Bool = false | |
var body: some View { |
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 | |
struct SelectedButton: View { | |
@State var tabButtons = tabs[0] | |
var body: some View { | |
VStack { | |
ScrollView(.horizontal, showsIndicators: false) { | |
ScrollViewReader { value in | |
HStack(spacing: 20) { |
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 | |
struct SelectedButton: View { | |
@State var tabButtons = tabs[0] | |
@Namespace var animation | |
var body: some View { | |
VStack { | |
HStack { | |
ScrollView(.horizontal, showsIndicators: false) { |
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
struct OnboardingInfoViewAnimation: View { | |
@State private var appearHeadingObjects: Bool = false | |
@State private var offsetHeadingObjects: Bool = false | |
@State private var removeHeadingImage: Bool = false | |
@State private var offsetImageandText: Bool = false | |
@State private var appearImageandText: Bool = false | |
var body: some View { | |
ZStack { |
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 | |
struct AppleLoadingCursor: View { | |
@State private var showView: Bool = false | |
@State private var rotateCursor: Bool = false | |
var body: some View { | |
VStack { | |
ZStack { | |
if showView { |
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
struct WithAnimationPaymentChallenge: View { | |
@State private var scalePayment: Bool = false | |
@State private var moveUpAndRight: Bool = false | |
@State private var moveDownAndRight: Bool = false | |
var body: some View { | |
VStack { | |
Text("Payment App") | |
.font(.largeTitle) | |
.fontWeight(.semibold) |
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
struct AfterFiveIntroAnimation: View { | |
@State private var appearText = false | |
@State private var goLeft = false | |
@State private var goRight = false | |
@State private var showStartPageScreen = false | |
@Namespace var startPageAppear | |
var body: some View { | |
VStack { |
OlderNewer