Releases: shortcut/shortcut-swiftui-ios
Releases · shortcut/shortcut-swiftui-ios
1.1.0
What's Changed
- Setting min iOS version to 14 by @lemonandlime in #24
- Added View+Frame extension by @lemonandlime in #25
Full Changelog: 1.0.7...1.1.0
1.0.7
Fix build error
1.0.6
New overlay(isPresented:) Modifier
Whats new in this release:
New overlay(isPresented:)
view modifier
Example:
struct Example: View {
@State private var isShowingOverlay = false
var body: some View {
VStack(spacing: 50) {
Button("Show overlay") {
isShowingOverlay.toggle()
}
RoundedRectangle(cornerRadius: 12)
.fill(Color.blue)
.overlay(isPresented: isShowingOverlay) {
Text("Hello, world!")
}
}
}
}
Fixed version problem
Fixed problems with version tag 1.0.3
.
What was the problem:
There was a version 1.0.3
. Later there was a new commit. Then the tag 1.0.3
was removed and assigned to this new commit.
Because of this, there might be problem to build project with version 1.0.3
and cause error like this:
error project: Revision ffab3eb63d0f438bd4ef2db34b4af05a3036ff9b for shortcut-swiftui-ios remoteSourceControl https://github.com/shortcut/shortcut-swiftui-ios.git version 1.0.3 does not match previously recorded value 4121f78958d85f8619ffc452989d7b19fefceaf9
Open class for ModalViewRouter
- Made ModalViewRouter class open so it can be inherited
watchOS support
- Added the watchOS support
Fixed Alert Presenter
1.0.1