3 ms·
> You quickly get left behind in the Apple ecosystem if you don’t move with Apple. The number of binaries and frameworks in iOS 14 using Objective-C vastly exc
by _qulr 6y ago
> You quickly get left behind in the Apple ecosystem if you don’t move with Apple.
The number of binaries and frameworks in iOS 14 using Objective-C vastly exceeds this relatively small list. Objective-C hasn't been jettisoned by Apple by any stretch of the imagination.
- machello13 6y agoNo, but they're releasing new frameworks with Swift-only APIs. They're not "jettisoning" Objective-C, and I'm sure teams at Apple will continue to write stuff in Obj-C for years to come. It'll likely never disappear entirely. But that number will continue to shrink.
- Apocryphon 6y agoThat's only because WidgetKit uses SwiftUI. Granted, if more and more APIs become reliant on preexisting Swift-only APIs like SwiftUI or Core ML, that certainly leaves Objective-C out of the cutting edge.
- CharlesW 6y ago> Objective-C hasn't been jettisoned by Apple by any stretch of the imagination. True, but melling didn't say that Objective-C has been jettisoned. My understanding is that you can't iOS home screen widgets in Objective-C, correct? If so, isn't that a reasonably-clear signal that Objective-C developers are starting to be left behind?
- _qulr 6y ago> My understanding is that you can't iOS home screen widgets in Objective-C, correct? I don't know, I haven't looked into them. But Swift is now more than 6 years old, and iOS home screen widgets are literally only days old, so I'd say "You quickly get left behind in the Apple ecosystem" is an exaggeration.
- plorkyeran 6y agoIf you're a fan of obj-c it's perfectly reasonable to pretend that swift is just a DSL for describing views and write all of the logic for your widget in obj-c. In that setup SwiftUI is replacing interface builder xibs rather than obj-c.