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 HammerHeart: SwiftUI.App { | |
@UIApplicationDelegateAdaptor private var delegate: AppDelegate | |
@Shared(.appTintColor) var appTintColor: Color | |
var body: some Scene { | |
WindowGroup { | |
AppView(store: AppDelegate.store) | |
.accentColor(appTintColor) | |
.tint(appTintColor) | |
.onChange(of: appTintColor) { |
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
// Here's the construction of the view | |
// Coordinate is an abstraction in my case – you can just use CLLocationCoordinate2D from the proxy | |
MapReader { proxy in | |
Map(initialPosition: .rect(store.track.bounds.mapRect(insetBy: 0.1)), scope: mapScope) { | |
// map containing polyline | |
} | |
.onTapGesture(perform: { | |
screenCoord in | |
if let tapLocation = proxy.convert(screenCoord, from: .local) { |
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
// | |
// Shaker.swift | |
// | |
// | |
// Created by Rico Becker on 30.03.24. | |
// | |
import PlaydateKit | |
struct Shaker { | |
let gravity: Float = 9.80665 |
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 Foundation | |
// # Structure | |
// - SwiftPackage | |
// - Sources | |
// - Tests | |
// - Resources | |
// - test.txt | |
// - SwiftPackageTests | |
// - SwiftPackageTests.swift |
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
Pod::Spec.new do |spec| | |
spec.name = "R.swift.Library" | |
spec.version = "5.0.0.alpha.2" | |
spec.license = "MIT" | |
spec.summary = "Companion library for R.swift, featuring types used to type resources" | |
spec.description = <<-DESC | |
This library contains types used by the `R.generated.swift` file that is normally generated by R.swift. R.swift depends on this pod to include some types and other libraries can use this project to extend R.swift types. | |
R.swift is a tool to get strong typed, autocompleted resources like images, fonts and segues in Swift projects. |
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
Pod::Spec.new do |spec| | |
spec.name = "R.swift" | |
spec.version = "5.0.0.alpha.2" | |
spec.license = "MIT" | |
spec.summary = "Get strong typed, autocompleted resources like images, fonts and segues in Swift projects" | |
spec.description = <<-DESC | |
R.swift is a tool to get strong typed, autocompleted resources like images, fonts and segues in Swift projects. |
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
Pod::Spec.new do |s| | |
s.name = "Moya" | |
s.version = "0.6.1" | |
s.summary = "Network abstraction layer written in Swift" | |
s.description = <<-EOS | |
Moya abstracts network commands using Swift Generics to provide developers | |
with more compile-time confidence. | |
A ReactiveCocoa extension exists as well. Instructions for its installation | |
are in [the README](https://github.com/ashfurrow/Moya). | |
EOS |
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
Pod::Spec.new do |s| | |
s.name = 'CSV' | |
s.version = '0.0.2' | |
s.license = 'MIT' | |
s.platform = :osx | |
s.summary = "Format data to the comma-separated values format." | |
s.homepage = 'https://github.com/rdavies/CSV' | |
s.author = { 'Ryan Davies' => '[email protected]' } | |
s.source = { :git => 'https://github.com/rdavies/CSV.git', :tag => s.version.to_s } | |
s.source_files = 'CSV/*.{h,m}' |
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
Pod::Spec.new do |s| | |
s.name = "MMDrawerController+Storyboard" | |
s.version = "0.0.1" | |
s.summary = "Storyboard category extension for MMDrawerController" | |
s.homepage = "https://github.com/TomSwift/MMDrawerController-Storyboard" | |
s.license = { :type => 'MIT', :file => 'LICENSE' } | |
s.author = { "Nick Hodapp" => "[email protected]" } | |
s.source = { :git => "https://github.com/TomSwift/MMDrawerController-Storyboard.git", :tag => "0.0.1" } | |
s.platform = :ios, '6.0' |
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
We take images from your camera, scramble them, beam them to our orbiting satellite. | |
Unscramble them, then scramble them again, then unscramble them that all-important final time. | |
Our competitors claim we scramble our images too much. | |
http://www.springfieldspringfield.co.uk/view_episode_scripts.php?episode=s20e16 |
NewerOlder