diff --git a/guides/common-features/template-syntax.md b/guides/common-features/template-syntax.md index dbcdeb04..bba5b2be 100644 --- a/guides/common-features/template-syntax.md +++ b/guides/common-features/template-syntax.md @@ -90,7 +90,7 @@ your app to support. Covers iOS 16+, macOS 13+ and watchOS 9+. -- [Platform library HexDocs](https://hexdocs.pm/live_view_native_swift_ui/) +- [Platform library HexDocs](https://hexdocs.pm/live_view_native_swiftui/) - [Swift library docs](https://liveview-native.github.io/liveview-client-swiftui/documentation/liveviewnative/) - [SwiftUI docs](https://developer.apple.com/documentation/swiftui/) - [SwiftUI tutorials](https://developer.apple.com/tutorials/swiftui) diff --git a/guides/introduction/installation.md b/guides/introduction/installation.md index 33d1925a..ca6e6665 100644 --- a/guides/introduction/installation.md +++ b/guides/introduction/installation.md @@ -55,7 +55,7 @@ end The `:live_view_native` dependency isn't useful on its own. You'll also need to add any _platform libraries_ you want your project to be compatible with. These libraries provide the platform-specific code that allows them to connect to your app and render LiveViews within their native environments. -This guide covers installation for the officially supported platforms, [SwiftUI](https://hexdocs.pm/live_view_native_swift_ui) (iOS, macOS and watchOS) and [Jetpack](https://hexdocs.pm/live_view_native_jetpack) (Android). +This guide covers installation for the officially supported platforms, [SwiftUI](https://hexdocs.pm/live_view_native_swiftui) (iOS, macOS and watchOS) and [Jetpack](https://hexdocs.pm/live_view_native_jetpack) (Android). @@ -66,7 +66,7 @@ Adds compatibility for iOS 16+, macOS 13+ and watchOS 9+. def deps do [ # other dependencies here... - {:live_view_native_swift_ui, "~> 0.2"} + {:live_view_native_swiftui, "~> 0.2"} ] end ``` diff --git a/guides/introduction/your-first-native-liveview.md b/guides/introduction/your-first-native-liveview.md index b4703926..40542a4a 100644 --- a/guides/introduction/your-first-native-liveview.md +++ b/guides/introduction/your-first-native-liveview.md @@ -69,7 +69,7 @@ platform you want to support. This is done by extending LiveView's standard `ren Each platform will have its own custom `:format`, render sigil and HEEx syntax, which are all pulled in by the `LiveViewNative.LiveView` macro inherited toward the top of your LiveView. The following example demonstrates handling the `:swiftui` platform for LiveView Native apps -with the `:live_view_native_swift_ui` dependency, which covers iOS, iPadOS and macOS support: +with the `:live_view_native_swiftui` dependency, which covers iOS, iPadOS and macOS support: ```elixir # lib/my_app_web/live/hello_live.ex @@ -133,7 +133,7 @@ are some recommended resources for the SwiftUI and Jetpack platforms: Covers iOS 16+, macOS 13+ and watchOS 9+. -- [Platform library HexDocs](https://hexdocs.pm/live_view_native_swift_ui/) +- [Platform library HexDocs](https://hexdocs.pm/live_view_native_swiftui/) - [Swift library docs](https://liveview-native.github.io/liveview-client-swiftui/documentation/liveviewnative/) - [SwiftUI docs](https://developer.apple.com/documentation/swiftui/) - [SwiftUI tutorials](https://developer.apple.com/tutorials/swiftui) diff --git a/lib/live_view_native/platforms.ex b/lib/live_view_native/platforms.ex index 807af8c4..9667646a 100644 --- a/lib/live_view_native/platforms.ex +++ b/lib/live_view_native/platforms.ex @@ -1,10 +1,6 @@ defmodule LiveViewNative.Platforms do @moduledoc false - @type env_platforms_map() :: %{ - String.t() => %LiveViewNativePlatform.Env{} - } - @default_platforms [LiveViewNative.Platforms.HTML] @env_platforms :live_view_native