How to use:
./wordle.sh
Or try the unlimit mode:
| # A Best in Class Checklist | |
| A boiled down checklist adapted from this [post](https://www.swiftjectivec.com/a-best-in-class-app/), created by @jordanmorgan10. | |
| > To use this, create a Github Issue in your own repo, and simply copy and paste this text. | |
| ## iOS Core Technology | |
| _Things any iOS app can benefit from_ | |
| - [ ] iCloud Sync | |
| - [ ] Focus Filter Support |
| // A URLSession extension that fetches data from a URL and decodes to some Decodable type. | |
| // Usage: let user = try await URLSession.shared.decode(UserData.self, from: someURL) | |
| // Note: this requires Swift 5.5. | |
| extension URLSession { | |
| func decode<T: Decodable>( | |
| _ type: T.Type = T.self, | |
| from url: URL, | |
| keyDecodingStrategy: JSONDecoder.KeyDecodingStrategy = .useDefaultKeys, | |
| dataDecodingStrategy: JSONDecoder.DataDecodingStrategy = .deferredToData, | |
| dateDecodingStrategy: JSONDecoder.DateDecodingStrategy = .deferredToDate |
| // | |
| // ContentView.swift | |
| // HelloStartupAnimation | |
| // | |
| // Created by Apple Design Dev on 1/26/22. | |
| // | |
| import SwiftUI | |
| import PureSwiftUI |
| import SwiftUI | |
| let width : CGFloat = 82.0 | |
| let height : CGFloat = 82.0 | |
| struct ContentView: View { | |
| @State private var toggle = false | |
| var body: some View { | |
| VStack { | |
| Spacer() | |
| ZStack { | |
| Image(systemName: "heart.fill") |
| import UIKit | |
| protocol StepAnimatable { | |
| /// Start a sequence where you add each step in the `addSteps` closure. Use the provided `AnimationSequence` object | |
| /// to add each step which should either be an actual animation or a delay. | |
| /// The `completion` closure is executed when the last animation has finished. | |
| /// - Parameters: | |
| /// - addSteps: Closure used to add steps to the provided `AnimationSequence` object | |
| /// - completion: Executed when the last animation has finished. |
| import SwiftUI | |
| import Charts | |
| import Combine | |
| import Foundation | |
| final class GameState: ObservableObject { | |
| struct Player { | |
| var position: Int | |
| var halfSize: Int = 150 |