On Mar 31, 2014, at 11:33 PM, Christiaan Hofman wrote:

> 
> On Mar 31, 2014, at 22:36, Reto Stöckli wrote:
> 
>> Thanks Christiaan! The single search you sketched works and is faster too. 
>> 
>> However, when the user hits search after all results are retrieved, the 
>> following error comes up:
>> 
>> 2014-03-31 22:30:25.409 BibDesk[74542:903] -[__NSArray0 bytes]: unrecognized 
>> selector sent to instance 0x100e01bc0
>> 
>> The error is created here (around line 269):
>>        // notify that we stopped retrieving, but don't add nil as that 
>> indicates an error
>>        [[self serverOnMainThread] addPublicationsToGroup:[NSArray array]];
>> 
>> What should I do there instead (another question from a ObjC novice!). 
>> Attached you find the current code.
>> 
>> Reto
>> 
>> <BDSKISIGroupServer.m>
> 
> Sorry, my mistake. It's not so much about Obj-C but rather about the 
> peculiarities of our code. Just ignore the second part of the comment and 
> pass nil instead of an empty array.
> 
> Be careful about using this code as it is, as it was mostly a proof of 
> concept, I haven't been very careful in rewriting. I also did not apply 
> several things I mentioned earlier.

Thanks for the hint. I've tested the code with the current SVN checkout this 
morning with a few searches and imports and have now committed three files to 
the repository:

BDSKISIGroupServer.m 
WOKMWSAuthenticateService.m 
WokSearchService.m

Let's see what happens. I'm around to fix things if it gives problems. Give it 
a try.

Reto


------------------------------------------------------------------------------
_______________________________________________
Bibdesk-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to