Re: Swift Headers (or lack of)
Re: Swift Headers (or lack of)
- Subject: Re: Swift Headers (or lack of)
- From: "Geist, Jim" <email@hidden>
- Date: Thu, 05 Jun 2014 15:50:44 +0000
- Thread-topic: Swift Headers (or lack of)
Title: Swift Headers (or lack of)
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