News for hackers. Stuff that matters.
Re:Apple’s use of Swift in iOS 12 by thelastidiot on Friday September 28, 2018 @01:39AM (#18091306)
A bit useless. Are they using it in the top ten (mail, web, cal, clock, etc.)? How much of Swift compared to ObjC code? Those are the real answers I would expect to read in your article.
Re:Apple’s use of Swift in iOS 12 by coldtea on Friday September 28, 2018 @01:43AM (#18091316)
And all those answers are IN the article.

>Are they using it in the top ten (mail, web, cal, clock, etc.)?

No.

>How much of Swift compared to ObjC code?

Much less.

It makes sense too. You don't rewrite perfectly good programs in a new language just for the fun of it.

Re:Apple’s use of Swift in iOS 12 by tormeh on Friday September 28, 2018 @05:40PM (#18097286)
>perfectly good programs

The Holy Grail of software engineering

Re:Apple’s use of Swift in iOS 12 by ericlewis on Friday September 28, 2018 @10:12AM (#18093489)
it is indeed used in a few top 10 apps
Re:Apple’s use of Swift in iOS 12 by sigjuice on Friday September 28, 2018 @06:15AM (#18092218)
Apps that predate Swift will likely contain little to no Swift. There is no good reason for it to be otherwise.
Re:Apple’s use of Swift in iOS 12 by jernfrost on Friday September 28, 2018 @05:16PM (#18097133)
I rewrote a commerical app to Swift and saw a lot of advantages. The rewrite uncovered a number of bugs due to the stricter type checking, and general strictness (no unitialized variables e.g).

It also allowed us to get more people involved in development. People new to apple development found Objective-C to be a bigger barrier. Odd syntax and a bit old fashion.

Mind you I quite liked Objective-C. But it seems a bit pointless when you got Swift.

Re:Apple’s use of Swift in iOS 12 by ericlewis on Friday September 28, 2018 @10:12AM (#18093494)
dock is one of the oldest apps on macOS, was rewritten in swift when it was announced.