nibs don't know about protocols?
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