• 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: Swift Headers (or lack of)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Swift Headers (or lack of)


  • Subject: Re: Swift Headers (or lack of)
  • From: "Geist, Jim" <email@hidden>
  • Date: Thu, 05 Jun 2014 15:58:27 +0000
  • Thread-topic: Swift Headers (or lack of)

Title: Swift Headers (or lack of)
And, I only know that's true for system frameworks. I don't know what the story is for our own classes.

Sent from my iPad

On Jun 5, 2014, at 8:55, "Geist, Jim" <email@hidden> wrote:

If you right click and pick "Go to definition", Xcode will display the Swift interface for whatever you clicked on. My understanding is that they are all autogenerated from the Objective-C headers.

Sent from my iPad

On Jun 5, 2014, at 8:44, "Gordon Apple" <email@hidden> wrote:

Ok, Swift does not use header files. My first question about private methods has apparently been answered, in that this was an oversight which will be shortly corrected. I was overjoyed when Objective C removed the need for forward declarations. I can remember screaming at the computer: “it’s in there damit. You’re a computer.  Just find it”. I can understand that now the compiler/linker can do without header files. I have not yet downloaded the new stuff, so maybe this is handled in xcode, but my next question is what about headers for us programmers. If I’m using a class from elsewhere, I don’t want to be looking at a massive implementation file. Is there a provision for just displaying the public definitions?
_______________________________________________
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
_______________________________________________
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
 _______________________________________________
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: 
 >Swift Headers (or lack of) (From: Gordon Apple <email@hidden>)
 >Re: Swift Headers (or lack of) (From: "Geist, Jim" <email@hidden>)

  • Prev by Date: Re: Swift Headers (or lack of)
  • Next by Date: Re: swift and objective-c
  • Previous by thread: Re: Swift Headers (or lack of)
  • Next by thread: Re: Swift Headers (or lack of)
  • Index(es):
    • Date
    • Thread