Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to reflect API changes from beta to final #43

Open
helje5 opened this issue Jul 31, 2019 · 2 comments
Open

Update to reflect API changes from beta to final #43

helje5 opened this issue Jul 31, 2019 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@helje5
Copy link
Member

helje5 commented Jul 31, 2019

Lots of them, from ObservableObject to onTapAction.

@helje5 helje5 added the help wanted Extra attention is needed label Jul 31, 2019
@helje5
Copy link
Member Author

helje5 commented Aug 2, 2019

  • TabbedView => TabView
  • BindableObject => ObservableObject
  • ObjectBinding => ObservedObject
  • tapAction => onTapGesture
  • what else has changed?

@helje5 helje5 changed the title Update to reflect Beta 5 changes Update to reflect API changes from beta to final Oct 18, 2019
@helje5
Copy link
Member Author

helje5 commented Oct 22, 2019

Update to reflect API changes from beta to final

tapAction was renamed to onTapGesture in SwiftUI, that's why:

@available(iOS 13.0, OSX 10.15, watchOS 6.0, *)
@available(tvOS, unavailable)
extension View {
    public func onTapGesture(count: Int = 1, perform action: @escaping () -> Void) -> some View
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant