Created
November 21, 2019 13:46
-
-
Save rudrankriyam/da82d9f951b1e99d03cfbdd2263cd264 to your computer and use it in GitHub Desktop.
Creating an Apple like Splash Screen in SwiftUI Information Container 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 InformationContainerView: View { | |
var body: some View { | |
VStack(alignment: .leading) { | |
InformationDetailView(title: "Match", subTitle: "Match the gradients by moving the Red, Green and Blue sliders for the left and right colors.", imageName: "slider.horizontal.below.rectangle") | |
InformationDetailView(title: "Precise", subTitle: "More precision with the steppers to get that 100 score.", imageName: "minus.slash.plus") | |
InformationDetailView(title: "Score", subTitle: "A detailed score and comparsion of your gradient and the target gradient.", imageName: "checkmark.square") | |
} | |
.padding(.horizontal) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment