I'm on the road so i cant discuss this further right now. One reason it's more 
helpful to keep this discussion on-list. :)

--Kyle Sluder
(Sent from the road)

On Mar 26, 2011, at 8:23 PM, Jeffrey Walton <noloa...@gmail.com> wrote:

> On Sat, Mar 26, 2011 at 11:01 PM, Jeffrey Walton <noloa...@gmail.com> wrote:
>> On Sat, Mar 26, 2011 at 10:37 PM, Kyle Sluder <kyle.slu...@gmail.com> wrote:
>>> On Sat, Mar 26, 2011 at 7:35 PM, Sherm Pendley <sherm.pend...@gmail.com> 
>>> wrote:
>>>> The delegate message is being sent to an instance of UIView - not to
>>>> your controller. That would indicate that the first argument you're
>>>> sending to -initWithDelegate:withContext: is not what it should be.
>>> 
>>> Or nobody's retaining the delegate, and therefore it's being replaced
>>> in memory with the UIView instance. The reason delegates are
>>> unretained in Cocoa is because they typically have a strong reference
>>> to the thing they are a delegate of.
>> Correct: the file picker is not retaining the delegate (per Hillegass
>> and retain loop/cycle).
>> 
>> Should the delegate be retained by FilePicker? In this case, to avoid
>> the retain loop, MyViewController *should not* retain the FilePicker?
> Changing the code so that the FilePicker retained the delegate did not help.
> 
> Jeff
_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to