@erichoracek@mastodon.social avatar

erichoracek

@erichoracek@mastodon.social

Working on ChatGPT for iOS & Mac at OpenAI, previously design systems and iOS at Airbnb

This profile is from a federated server and may be incomplete. Browse more on the original instance.

erichoracek, to random
@erichoracek@mastodon.social avatar

We had a big launch today at OpenAI—something that I’m especially proud to have been a part of is a brand new ChatGPT app that runs natively for macOS, built using SwiftUI & AppKit!

My favorite feature is the launcher, which makes it easy to call up ChatGPT to ask a question from anywhere on your Mac with a keyboard shortcut. Makes it super easy to quickly paste some code or attach a screenshot of a window. Hope you find it useful!

A video depicting the ChatGPT launcher on macOS being used to quickly summarize a google doc from a screenshot.

dimillian, to random
@dimillian@mastodon.social avatar

My stance about the lack of proper StateObject autoclosure init with the new Observation framework.

erichoracek,
@erichoracek@mastodon.social avatar

@dimillian From what I remember there is a special autoclosure init when the value conforms to observable, did this go away? https://mastodon.social/@erichoracek/110509956031658352

erichoracek,
@erichoracek@mastodon.social avatar

@dimillian it was there in beta 1, guess it did go away! Here’s the swiftinterface from the first beta

erichoracek,
@erichoracek@mastodon.social avatar

@dimillian yeah, seems like a major regression from StateObject, it was one of the first things I checked for when the betas dropped. @chris any idea how to recreate the StateObject init behavior now with State and Observable? Seems almost like a mistake that it went away

erichoracek, to SwiftUI
@erichoracek@mastodon.social avatar

My last day at Airbnb was just a few weeks ago. While I'm super proud of everything we built together, I wanted to briefly highlight the last project I led: enabling new UI in Airbnb’s iOS app to be built using

erichoracek,
@erichoracek@mastodon.social avatar

We started by adding support to host SwiftUI views in Epoxy, our previous UI framework, to ensure SwiftUI could handle Airbnb’s custom UI needs. When that worked out well, we decided to rebuild our entire design system in SwiftUI to unlock its benefits for full screens.

SwiftUI not only made the implementation of Airbnb’s design system many times smaller due to its declarative paradigm—it made it dramatically more flexible thanks to its styling patterns and support for generic views with slots.

erichoracek,
@erichoracek@mastodon.social avatar

Now, almost all of Airbnb’s new screens and components in our latest launch were built using SwiftUI, and the vast majority of engineers said that SwiftUI made them more efficient without regressing the user-facing quality of their screens.

There will be a blog post published soon with many more details, but suffice to say that SwiftUI is definitely ready for broad adoption, and if adopted intentionally can improve the experience of building even the largest scale iOS apps!

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • mdbf
  • khanakhh
  • ethstaker
  • osvaldo12
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • InstantRegret
  • Youngstown
  • everett
  • slotface
  • kavyap
  • anitta
  • cubers
  • Durango
  • modclub
  • tacticalgear
  • ngwrru68w68
  • tester
  • GTA5RPClips
  • provamag3
  • cisconetworking
  • normalnudes
  • Leos
  • megavids
  • lostlight
  • All magazines