• 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
Funny Panther issue with [NSArray -componentsJoinedByString]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Subclass of NSWindowController doesn't initialize correctly from initWithWindowNibName
  • Next by Date: NSTableView Drag and drop (internally)
  • Previous by thread: Re: Subclass of NSWindowController doesn't initialize correctly from initWithWindowNibName
  • Next by thread: Re: Funny Panther issue with [NSArray -componentsJoinedByString]
  • Index(es):
    • Date
    • Thread