Skip to content

Commit

Permalink
Renamed swift_ui to swiftui
Browse files Browse the repository at this point in the history
  • Loading branch information
bcardarella committed Dec 9, 2023
1 parent 9beb448 commit f468931
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion guides/common-features/template-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions guides/introduction/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).

<!-- tabs-open -->

Expand All @@ -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
```
Expand Down
4 changes: 2 additions & 2 deletions guides/introduction/your-first-native-liveview.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down
4 changes: 0 additions & 4 deletions lib/live_view_native/platforms.ex
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f468931

Please sign in to comment.