• 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
nibs don't know about protocols?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

nibs don't know about protocols?


  • Subject: nibs don't know about protocols?
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 01 Jun 2010 11:00:54 -0700
  • Thread-topic: nibs don't know about protocols?

Just a minor thing I'm curious about; I'll give a simple example.

A UIApplication's delegate property is defined as an id
<UIApplicationDelegate>. But if I hook up the UIApplication proxy object in
a nib to another instance as its delegate, and if that other instance does
not adopt UIApplicationDelegate, there seems to be no penalty: the nib
doesn't complain, and the app runs fine.

So... Are nibs just ignorant of protocols?

Thx - m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.tidbits.com/matt/default.html#applescriptthings



_______________________________________________

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: nibs don't know about protocols?
      • From: Kyle Sluder <email@hidden>
  • Prev by Date: Re: Which color space?
  • Next by Date: Re: App will not launch
  • Previous by thread: Re: Reduce the size of an NSImage
  • Next by thread: Re: nibs don't know about protocols?
  • Index(es):
    • Date
    • Thread