Funny Panther issue with [NSArray -componentsJoinedByString]
Funny Panther issue with [NSArray -componentsJoinedByString]
- Subject: Funny Panther issue with [NSArray -componentsJoinedByString]
- From: Claudio Procida <email@hidden>
- Date: Sat, 19 Aug 2006 01:47:24 +0200
I'm having a really funny surprise with Panther for two lines of code :(
Somehow, my TVProgram objects seem not to receive -description for a
while.
From the docs I see that -componentsJoinedByString: is a 10.0 API
and should work
The code:
// NSArrayController *programsController
[programsController commitEditing];
NSLog(@"%@", [[programsController content]
componentsJoinedByString:@"\n"]);
The output:
---[Tiger]--->8---
Night Visions
Tg La7
Polizia: Squadra soccorso
...
CNN
Ken il Guerriero: La città stregata
Highlander
Grand Prix Moto
3 minuti con Media shopping
Shopping By Night
...
---[/Tiger]--->8---
---[Panther]--->8---
// What the ?
<TVProgram: 0x31a9b0>
<TVProgram: 0x3d10a0>
... // Random length
<TVProgram: 0x3fc2d20>
<TVProgram: 0x3b31a0>
// From now on all OK
Highlander
Grand Prix Moto
3 minuti con Media shopping
Shopping By Night
...
---[/Panther]--->8---
Is this a known issue?
Claudio
--
http://www.emeraldion.it
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden