• 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: Terminate app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Terminate app


  • Subject: Re: Terminate app
  • From: Charles Srstka <email@hidden>
  • Date: Mon, 13 Jul 2015 18:55:48 -0500

On Jul 13, 2015, at 11:48 AM, Quincey Morris <email@hidden> wrote:
>
> Note that in Swift, you can write SomeClass.instanceMethod (instanceOfSomeClass, …) as an equivalent of instanceOfSomeClass.instanceMethod (…), and the error message you got is helpfully trying to show you how to do that. :)

You can? I hadn’t noticed this.

What’s the intended use of that, to force an instance to use a superclass’s implementation of some method instead of the overridden version? If so, that seems really open to abuse…

Charles

_______________________________________________

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


  • Follow-Ups:
    • Re: Terminate app
      • From: Jens Alfke <email@hidden>
    • Re: Terminate app
      • From: Quincey Morris <email@hidden>
References: 
 >Terminate app (From: "Jan E. Schotsman" <email@hidden>)
 >Re: Terminate app (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: NSPredicate or Collection operators?
  • Next by Date: Re: Terminate app
  • Previous by thread: Re: Terminate app
  • Next by thread: Re: Terminate app
  • Index(es):
    • Date
    • Thread