Carson Katri

Results 36 issues of Carson Katri

This adds compatibility with the `.htmlMeta()` and `.htmlTitle()` modifiers added in #483. 2 special cases were also added: 1. `WindowGroup` has a `title` parameter, which can now be used to...

SwiftUI compatibility
Fiber

SwiftUI marks a lot of inits and View extension funcs `@inlinable`, so I went in and did the same. Not sure if it will lead to any performance differences. Do...

refactor

The tool itself is written in Tokamak. The extension might work in Firefox too, but I haven't tried it. So far it lets you browse the `View` tree, hover over...

enhancement

The following additions can be made to TokamakDOM: 1. `@Ref` property wrapper for accessing DOM nodes inside Tokamak ```swift struct ContentView: View { @Ref var button: JSObjectRef! var body: some...

API design

[API reference](https://developer.apple.com/documentation/swiftui/view/onchange(of:perform:))

SwiftUI compatibility

Resolves #63. This is hidden behind `#if swift(>=5.5)` to ensure it still builds on older Xcode versions.

The basic idea is that you can await any `Request` using `call()`: ```swift let getTodos = AnyRequest { Url("todos.com/api") } let todos = try await getTodos.call() ``` `callAsFunction` could also...

enhancement

Currently, `RequestView` only supports `Data?` as a return type. This enhancement is to allow `Json?` and `String?` as responses as well by adding more initializers: ```swift RequestView(myRequest) { (data: Data?)...

enhancement

## `Socket` Web socket support is a large task, so it may be a while. Here's an example of what the syntax could look like: ```swift let ws = Socket...

enhancement