> On 12 Sep 2016, at 15:51, Quincey Morris > <quinceymor...@rivergatesoftware.com> wrote: > > On Sep 12, 2016, at 01:32 , Gerriet M. Denkmann <gerr...@mdenkmann.de> wrote: >> >> In my real (as opposed to playground) code, each class lives in a different >> file. > > I just tried it with classes in different files, and no compile error. I > don’t think this is a Swift 2 thing, because the “is” has been around since > the beginning.
I also tried a small test project: and could NOT reproduce the compiler warning (“classes are unrelated”). The I got back to the real project: and could also not reproduce it there. One explanation: working with Swift, I quite often (a few times per day) see strange (runtime) errors. Cleaning the project, then building again invariable fixes these. Maybe this was one of those. Thanks for your help and your patience! Kind regards, Gerriet. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com