• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Does compile order matter for Swift files?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does compile order matter for Swift files?


  • Subject: Re: Does compile order matter for Swift files?
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 23 Jun 2017 13:30:28 -0700

On Jun 23, 2017, at 11:18 , Greg Weston <email@hidden> wrote:
>
> Sounds like my decision to hold off on Swift was well-advised.

My suggestion was not so much about stability, but about investing effort in
(a) learning specifics that change in 4 (as Jens said, the differences are not
huge, and there’s a migration path that works fairly well) and (b) hacking
around some defects and holes in 3 that are plugged in 4.

As an example of something minor that’s changed, [NS]Notification names are
strings in Swift 3, and a new Notification.Name struct in Swift 4.

As an example of something really useful that’s changed, Swift 4 has added a
block/closure based KVO “observe” function, easier to use than addObserver,
that is also type-safe on key paths and dependencies, and deploys back to 10.9.

Plus, the new source code editor is pretty good. It’s great being able to bring
up the “rename” refactoring UI to get a quick view of all uses of a function in
your source code window, without having to trek to global find.

So, it’s by no means a terrible decision to stay with Swift 3, but for someone
who’s just starting to invest time in Swift *at all*, it’s worth considering
starting at 4.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Does compile order matter for Swift files? (From: Greg Weston <email@hidden>)

  • Prev by Date: Re: Does compile order matter for Swift files?
  • Next by Date: How to Refactor/Rename a View Controller
  • Previous by thread: Re: Does compile order matter for Swift files?
  • Next by thread: Where do I find Xcode 4.6 Mountain_Lion offline DocSets ?
  • Index(es):
    • Date
    • Thread