FROM : Nick Rogers
DATE : Thu Mar 13 03:00:37 2008
Here's the declaration of updateProgress:
- (void)updateProgress:(NSMutableDictionary *)dict;
Console Log:
[Switching to process 2321 thread 0x9013]
2008-03-13 07:21:09.194 DiskViewer[2321] *** -[Progress
updateProgress:]: selector not recognized [self = 0x3377a0]
[Switching to process 2321 local thread 0xf03]
2008-03-13 07:21:09.222 DiskViewer[2321] *** NSThread: ignoring
exception '*** -[Progress updateProgress:]: selector not recognized
[self = 0x3377a0]' that raised during delayed perform of target
0x3377a0 and selector 'updateProgress:'
[Switching to process 2321 thread 0x9013]
Here Progress is the class that has the method that is called when
detaching this secondary thread.
It resolves the exception and moves ahead and updateProgress is not
called.
cheers,
Nick
On 13-Mar-08, at 7:14 AM, John Stiles wrote:
> Maybe you should show us the definition of -updateProgress and tell
> us what you mean by "didn't work." For instance, are any errors
> logged to the Run Log?
>
>
> Nick Rogers wrote:
>> Yes I was using updateProgress with the colon earlier, but still
>> didn't worked.
>>
>> Wishes,
>> Nick
>>
>> On 13-Mar-08, at 7:00 AM, John Stiles wrote:
>>
>>> If -updateProgress is taking "data" as an argument, then you
>>> probably want
>>> @selector(updateProgress:)
>>>
>>> Note the colon.
>>>
>>> Nick Rogers wrote:
>>>>
>>>> Hi,
>>>> In my secondary thread I'm doing:
>>>> [self performSelectorOnMainThread:@selector(updateProgress)
>>>> withObject:data waitUntilDone:YES];
>>>>
>>>> with the error that self does not recognize the selector
>>>> updateProgress.
>>>> I have imported the main AppController.h into this secondary
>>>> class file. still the problem.
>>>>
>>>> Regards,
>>>> Nick
>>>>
>>>> _______________________________________________
>>>>
>>>> Cocoa-dev mailing list (<email_removed>)
>>>>
>>>> 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/jstiles%
>>>> 40blizzard.com
>>>>
>>>> This email sent to <email_removed>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (<email_removed>)
>>
>> 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/jstiles%
>> 40blizzard.com
>>
>> This email sent to <email_removed>
DATE : Thu Mar 13 03:00:37 2008
Here's the declaration of updateProgress:
- (void)updateProgress:(NSMutableDictionary *)dict;
Console Log:
[Switching to process 2321 thread 0x9013]
2008-03-13 07:21:09.194 DiskViewer[2321] *** -[Progress
updateProgress:]: selector not recognized [self = 0x3377a0]
[Switching to process 2321 local thread 0xf03]
2008-03-13 07:21:09.222 DiskViewer[2321] *** NSThread: ignoring
exception '*** -[Progress updateProgress:]: selector not recognized
[self = 0x3377a0]' that raised during delayed perform of target
0x3377a0 and selector 'updateProgress:'
[Switching to process 2321 thread 0x9013]
Here Progress is the class that has the method that is called when
detaching this secondary thread.
It resolves the exception and moves ahead and updateProgress is not
called.
cheers,
Nick
On 13-Mar-08, at 7:14 AM, John Stiles wrote:
> Maybe you should show us the definition of -updateProgress and tell
> us what you mean by "didn't work." For instance, are any errors
> logged to the Run Log?
>
>
> Nick Rogers wrote:
>> Yes I was using updateProgress with the colon earlier, but still
>> didn't worked.
>>
>> Wishes,
>> Nick
>>
>> On 13-Mar-08, at 7:00 AM, John Stiles wrote:
>>
>>> If -updateProgress is taking "data" as an argument, then you
>>> probably want
>>> @selector(updateProgress:)
>>>
>>> Note the colon.
>>>
>>> Nick Rogers wrote:
>>>>
>>>> Hi,
>>>> In my secondary thread I'm doing:
>>>> [self performSelectorOnMainThread:@selector(updateProgress)
>>>> withObject:data waitUntilDone:YES];
>>>>
>>>> with the error that self does not recognize the selector
>>>> updateProgress.
>>>> I have imported the main AppController.h into this secondary
>>>> class file. still the problem.
>>>>
>>>> Regards,
>>>> Nick
>>>>
>>>> _______________________________________________
>>>>
>>>> Cocoa-dev mailing list (<email_removed>)
>>>>
>>>> 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/jstiles%
>>>> 40blizzard.com
>>>>
>>>> This email sent to <email_removed>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (<email_removed>)
>>
>> 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/jstiles%
>> 40blizzard.com
>>
>> This email sent to <email_removed>
| Related mails | Author | Date |
|---|---|---|
| Nick Rogers | Mar 13, 02:27 | |
| John Stiles | Mar 13, 02:30 | |
| Nick Rogers | Mar 13, 02:32 | |
| John Stiles | Mar 13, 02:44 | |
| Nick Rogers | Mar 13, 03:00 | |
| Dave Hersey | Mar 13, 03:03 | |
| Thomas Engelmeier | Mar 13, 10:16 |






Cocoa mail archive

