• 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: Future of Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Future of Cocoa


  • Subject: Re: Future of Cocoa
  • From: Jens Alfke via Cocoa-dev <email@hidden>
  • Date: Tue, 19 Nov 2019 14:07:18 -0800


> On Nov 19, 2019, at 12:51 PM, Richard Charles via Cocoa-dev
> <email@hidden> wrote:
>
> If I understand it correctly, there is a linkage between Swift and
> Objective-C. Apple devised a way to call the Cocoa frameworks written in
> Objective-C from the Swift language using the magic of the LLVM compiler.

The Swift compiler and runtime know how the Objective-C runtime works, so so
Swift can treat Obj-C classes and objects as first-class citizens.

> A great question would be is possible for Apple to pull the Objective-C rug
> out from underneath the Cocoa frameworks leaving only a Swift implementation?

Sure, since you can create Obj-C compatible classes in Swift simply by using
the @objc annotation.

However, rewriting a framework from scratch is always a perilous activity and
not something to be done lightly. This may happen over time, but I wouldn't
expect wholesale rewrites in the near future.

—Jens
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Future of Cocoa (From: Turtle Creek Software via Cocoa-dev <email@hidden>)
 >Re: Future of Cocoa (From: Richard Charles via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: Future of Cocoa
  • Next by Date: Re: Future of Cocoa
  • Previous by thread: Re: Future of Cocoa
  • Next by thread: Re: Future of Cocoa
  • Index(es):
    • Date
    • Thread