• 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: Pre-defined methods - documentation?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pre-defined methods - documentation?


  • Subject: Re: Pre-defined methods - documentation?
  • From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
  • Date: Sat, 8 May 2004 17:42:46 -0500

Tim Hewett, email@hidden, wrote:
>I've found by chance that the variables that Interface Builder connects
>to on-screen controls have default "hidden" accessor methods created
>for them automatically. For example my app has a text box known to
>the code as "statusString". Creating a method called "setStatusString:"
>so that a class outside the controller could set the contents of this
>text
>box stopped all text from appearing in this box, even though the body
>of this method simply called [statusString setStringValue:value]; and
>returned. Renaming this method to "setStatusStringValue" solved the
>problem, so clearly it was overriding something. Is there any
>documentation
>covering this hidden talent, so far I've found none and it has wasted me
>both days and hair...!

<http://developer.apple.com/documentation/Cocoa/Conceptual/KeyValueCoding/>


| Jonathan 'Wolf' Rentzsch http://rentzsch.com
| Red Shed Software http://redshed.net
| "better" necessarily means "different"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: NSView's autoresizing
  • Next by Date: Re: Pre-defined methods - documentation?
  • Previous by thread: Custom Frameworks, building and using
  • Next by thread: Re: Pre-defined methods - documentation?
  • Index(es):
    • Date
    • Thread