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
| //: A UIKit based Playground for presenting user interface | |
| import SwiftUI | |
| import PlaygroundSupport | |
| struct HList<Content: View>: View { | |
| @State private var scrollOffset: CGFloat = 0 | |
| @State private var previousScrollOffset: CGFloat = 0 | |
| private let numberOfItems: Int |
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
| // | |
| // PagerView.swift | |
| // | |
| // Created by Majid Jabrayilov on 12/5/19. | |
| // Copyright © 2019 Majid Jabrayilov. All rights reserved. | |
| // | |
| import SwiftUI | |
| struct PagerView<Content: View>: View { | |
| let pageCount: Int |