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 ListWithMoveUpAction: View { | |
| @AccessibilityFocusState private var focus: String? | |
| @State private var users = ["Glenn", "Malcolm", "Nicola", "Terri"] | |
| var body: some View { | |
| NavigationStack { | |
| List(users, id: \.self) { user in | |
| Text(user) | |
| .accessibilityActions { | |
| Button { |
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
| // | |
| // PagedSelectableView.swift | |
| // FrameUpExample | |
| // | |
| // Created by Ryan Lintott on 2023-01-12. | |
| // | |
| import SwiftUI | |
| struct PagedSelectableView: 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
| // | |
| // JustifiedTextExample2.swift | |
| // FrameUpExample | |
| // | |
| // Created by Ryan Lintott on 2022-11-15. | |
| // | |
| import SwiftUI | |
| import WidgetKit |
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
| // | |
| // DoubleScrollTabView.swift | |
| // FrameUpExample | |
| // | |
| // Created by Ryan Lintott on 2022-11-13. | |
| // | |
| import FrameUp | |
| 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
| // | |
| // ShirtThatFits.swift | |
| // ShirtThatFits | |
| // | |
| // Created by Ryan Lintott on 2022-08-05. | |
| // | |
| import SwiftUI | |
| enum Shirt: Int, RawRepresentable, CaseIterable, Identifiable, Hashable, Codable, 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
| // | |
| // TwoSidedView.swift | |
| // FrameUpExample | |
| // | |
| // Created by Ryan Lintott on 2022-07-11. | |
| // | |
| import SwiftUI | |
| struct TwoSidedView<UpContent: View, DownContent: View>: 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
| // | |
| // FlippableView.swift | |
| // FrameUpExample | |
| // | |
| // Created by Ryan Lintott on 2022-07-11. | |
| // | |
| import SwiftUI | |
| struct FlippableView: 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
| // | |
| // LayoutThatFits.swift | |
| // WWDC22Experiments | |
| // | |
| // Created by Ryan Lintott on 2022-06-08. | |
| // | |
| import SwiftUI | |
| struct LayoutThatFits: Layout { |
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 ContentView: View { | |
| @State private var pictureExpanded = false | |
| var body: some View { | |
| VStack(alignment: .leading, spacing: 20.0) { | |
| Text("Once upon a time there was a turtle named George who made friends with a giraffe at the local water park and then they went on lots of adventures together.") | |
| Button { |
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
| // | |
| // InfoDictionary.swift | |
| // FrameUp | |
| // | |
| // Created by Ryan Lintott on 2021-05-11. | |
| // | |
| import SwiftUI | |
| struct InfoDictionary { |