{"repo":"buh/Spiral","free":true,"listed":false,"github":"https://github.com/buh/Spiral","clone":"git clone https://github.com/buh/Spiral.git","description":"Spiral is a SwiftUI shape for macOS, iOS and watchOS.","language":"Swift","stars":83,"topics":["ios","ipados","macos","shape","swift","swiftui","ui-components","watchos"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Spiral is a SwiftUI shape for macOS, iOS and watchOS. A spiral is a component that includes a point generator, Shape and View of the spiral. The point generator allows direct data to be used for particularly rare cases. The Shape and View of the spiral is designed for SwiftUI. The Spiral shape can be outlined or filled with the desired material. The SpiralView' allows you to place arbitrary views at spiral points. - Requirements - Installation - Preview - Usage - Spiral Shape - Spiral View - Documentation - Demo App - Support - License Requirements - Swift 5.5+ - Xcode 13+ - SwiftUI 2+ - macOS 11+ - iOS 14+ - watchOS 7+ Some of the requirements could be reduced if there is a demand for them. Installation 1. In Xcode go to File ⟩ Add Packages... 2. Search for the link below and click Add Package 3. Select to which target you want to add it and select Add Package Preview https://user-images.githubusercontent.com/284922/168488964-d07c9434-6e3c-4738-8a5a-b34c2b6c0122.mov https://user-images.githubusercontent.com/284922/168489048-ab6fd895-c26b-499e-aa3e-c6368e1e2fd2.mov Usage Example Usage Spiral Shape It has several parameters: - pathType : the type of path you want to draw. - startAt : the start angle of a spiral. - endAt : the end angle of a spiral. - smoothness : the point density which describes a spiral. - offsetRadius : spiral radius offset for each point with respect to the calculated angle and frame. - offsetAngle : angle offset of each spiral point with respect to the ca","default_branch":null,"files":null,"tree":[],"storefront":"/r/buh","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/buh/Spiral/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}