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

Re: doesNotRecognizeSelector exception


  • Subject: Re: doesNotRecognizeSelector exception
  • From: Jeffrey Walton <email@hidden>
  • Date: Sat, 26 Mar 2011 23:30:38 -0400

On Sat, Mar 26, 2011 at 10:35 PM, Sherm Pendley <email@hidden> wrote:
> On Sat, Mar 26, 2011 at 10:21 PM, Jeffrey Walton <email@hidden> wrote:
>>
>> 2011-03-26 22:12:50.029 CryptoSandbox[123:707] -[UIView
>> userSelectedFile:fileSystemObject:suppliedContext:]: unrecognized
>> selector sent to instance 0x1dbd00
>
> 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.
>
I'm not sure what its being sent to. below, I changed 'delegate' to
'callbackDelegate' in case of a hidden name clash. Then I put in a few
NSLogs. The message is clearly not being sent to the delegate that was
init'd in the picker. The delegate changes from 0x1434b0 to 0x1283d0.

WTF?

Jeff

2011-03-26 23:21:17.564 MyTestApp[233:707]
EncryptFileController::changeSrcFileTapped: self = 0x1434b0
2011-03-26 23:21:17.566 MyTestApp[233:707]
EncryptFileController::changeSrcFileTapped: FilePicker = 0x159800
2011-03-26 23:21:17.548 MyTestApp[233:707]
FilePicker::initWithDelegate: self = 0x159800
2011-03-26 23:21:17.557 MyTestApp[233:707]
FilePicker::initWithDelegate: delegate = 0x1434b0
2011-03-26 23:21:20.279 MyTestApp[233:707]
FilePicker::doneButtonPressed: delegate = 0x1283d0
_______________________________________________

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: doesNotRecognizeSelector exception
      • From: Quincey Morris <email@hidden>
    • Re: doesNotRecognizeSelector exception
      • From: Jeffrey Walton <email@hidden>
References: 
 >doesNotRecognizeSelector exception (From: Jeffrey Walton <email@hidden>)
 >Re: doesNotRecognizeSelector exception (From: Kyle Sluder <email@hidden>)
 >Re: doesNotRecognizeSelector exception (From: Jeffrey Walton <email@hidden>)
 >Re: doesNotRecognizeSelector exception (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: doesNotRecognizeSelector exception
  • Next by Date: Re: doesNotRecognizeSelector exception
  • Previous by thread: Re: doesNotRecognizeSelector exception
  • Next by thread: Re: doesNotRecognizeSelector exception
  • Index(es):
    • Date
    • Thread