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 CardView: View { | |
var item: ItemData | |
var animation: Namespace.ID | |
var body: some View { | |
HStack { | |
Circle() | |
.frame(width: 75) | |
.foregroundColor(item.color) | |
.overlay { |
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 RepeatingViews: View { | |
@State private var disappearEast: Bool = false | |
@State private var appearEast: Bool = false | |
@State private var moveEast: Bool = false | |
@State private var disappearSugarBeet: Bool = false | |
@State private var appearSugarBeet: Bool = false | |
@State private var moveSugarBeet: Bool = 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 AddText: View { | |
@Environment(\.presentationMode) var presentationMode | |
@EnvironmentObject var dataViewModel: DataViewModel | |
@State var addSomeText: String = "" | |
var body: some View { | |
Form { |
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 SelectedButton: View { | |
@State var tabButtons = tabs[0] | |
@Namespace var animation | |
var body: some View { | |
VStack { | |
HStack { | |
ScrollView(.horizontal, showsIndicators: false) { | |
ScrollViewReader { value in | |
LazyHStack(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 TypeWriterEffect: View { | |
@State private var appearText: Bool = false | |
@State private var theText: String = "" | |
@State private var theSecondText: String = "" | |
let finishedText: String = "Hello there ☺️" | |
let secondFinishedText: String = "How are you this fine evening?" |
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 { |
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 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 SelectedButton: View { | |
@State var tabButtons = tabs[0] | |
@Namespace var animation | |
var body: some View { | |
VStack { | |
HStack { | |
ScrollView(.horizontal, showsIndicators: false) { |