Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Operating Systems Programming Software Apple

Apple Debuts SwiftUI and New Xcode Interactive Development Experience (venturebeat.com) 41

Apple today announced SwiftUI, a framework that complements its open source compiled programming language for iOS, macOS, watchOS, tvOS, Linux, and other platforms alongside a reimagined development experience in Xcode 11. VentureBeat reports: SwiftUI lets developers specify UI with simple declarations. In practice, it reduces hundreds of lines of code to just a few, and it provides default support for common features like localization for right-to-left languages. That's in addition to built-in support for animated transitions, live previews, and the newly announced dark mode and accessibility tools in iOS.

Apple says it's fully integrated with the aforementioned Xcode development experience and native frameworks for Apple Watch, tvOS, and macOS apps. Within the new Xcode, speaking of, library views live in a left-side drawer from which they can be dragged and dropped onto the app design canvas; as they're added, code populates the editor on the left. Meanwhile, views can be adjusted with custom-tailored inspectors or the code converted into a scalable list, and previews can run directly on connected Apple devices, including iPhone, iPad, iPod touch, Apple Watch, and Apple TV.

This discussion has been archived. No new comments can be posted.

Apple Debuts SwiftUI and New Xcode Interactive Development Experience

Comments Filter:
  • Looks like a framework for people who really love Swing and really love HTML. Bet it'll be popular.
    • by AHuxley ( 892839 )
      No more complex math and years of study.
      To connect users GUI actions with app output.
      Everyone is reduced to education level code.
      At a pace and CPU/GPU speed set by the brand.
      Enjoy the safe GUI sandbox. To code outside the provided GUI is sinful.
  • Welcome back (Score:4, Informative)

    by AHuxley ( 892839 ) on Monday June 03, 2019 @08:59PM (#58704706) Journal
    to Hypercard https://en.wikipedia.org/wiki/... [wikipedia.org] for your next project.
    A GUI to let everyone try and code with.
  • I'm not an iOS developer, I'm trying to work out the mechanics of the UI and communication to the data layer. It looks similar to MVVM in C#/WPF, except WPF uses XML (called XAML) to layout the widgets and specify the path to the data being used for the widget, and has an explicit interface for signaling changes (INotifyPropertyChanged). So the data object signals a change in state to the widget automatically? The laying out of the widgets in code is nice, XAML was a big step forward 14 years ago in definin
    • Yeah, the mention of "declarative layout" and "binding" had me wondering if it was similar in concept to WPF/XAML as well. If so, this could be a pretty big deal for Swift developers. I've written some fairly complex applications using C#/WPF/XAML, like my game engine's editor. I have to admit I've become a pretty big fan of how nice it is to have a powerful layout and data binding mechanism like that.

      It's interesting that the layout language is Swift itself. That makes things easier in some ways, since

  • ... a certain class of opinion leaders.

    If you want me in your walled garden, it better be a nice one.

    This seems the right way to got in exchange for developers devoting themselves to the iOS, macOS and iPadOS platforms. I totally didn't care about the Keynote this time and didn't watch it, but all the things I'm hearing got me curious. I'll take a look at apple once again after all.

    My 2 eurocents.

The opossum is a very sophisticated animal. It doesn't even get up until 5 or 6 PM.

Working...