How to remove all objects from a NSTreeController ?

2009-11-26 Thread Sébastien Stormacq
Dear All, I am developing an Cocoa application using a NSTreeView, bound to a NSTreeController. The application is build around a master-detail structure, with an NSOutlineView on the left side and a NSTableView on the right side (similar to iTunes) I would like to remove all elements from the

Re: How to remove all objects from a NSTreeController ?

2009-11-26 Thread Sébastien Stormacq
rce methods (easy > way) or bindings (easier way)? > > On Friday, November 27, 2009, Sébastien Stormacq wrote: >> Dear All, >> >> I am developing an Cocoa application using a NSTreeView, bound to a >> NSTreeController. >> The application is build around a

Re: How to remove all objects from a NSTreeController ?

2009-11-26 Thread Sébastien Stormacq
On 27 Nov 2009, at 07:04, Rob Keniger wrote: > > On 26/11/2009, at 11:27 PM, Sébastien Stormacq wrote: > >> I am developing an Cocoa application using a NSTreeView, bound to a >> NSTreeController. >> The application is build around a master-detail structure, with

Re: How to remove all objects from a NSTreeController ?

2009-11-26 Thread Sébastien Stormacq
2009, at 07:33, Rob Keniger wrote: > > On 27/11/2009, at 4:26 PM, Sébastien Stormacq wrote: > >>> You don't need to do this. Just create an NSArrayController for your >>> NSTableView that is bound to the "selection" key of the NSTreeController. >&g

Application crashing on iPod Touch, not on iPhone

2009-12-02 Thread Sébastien Stormacq
Dear All, I developed an iPhone / iPod application without testing on an iPod Touch (as I don't have any of such device) According to the AppStore review team, the application crashes at startup when no wifi network is available on the Touch. The application runs correctly on the iPhone. The

Re: Application crashing on iPod Touch, not on iPhone

2009-12-02 Thread Sébastien Stormacq
from my XIB file --Seb On 02 Dec 2009, at 10:01, Glenn L. Austin wrote: > Check the fonts that you're using on your UIPushButtons. It looks like > you're using a web-based font (stack frame 24). > > On Dec 2, 2009, at 12:54 AM, Sébastien Stormacq wrote: > >

Re: Application crashing on iPod Touch, not on iPhone

2009-12-02 Thread Sébastien Stormacq
e fonts on some things in IB -- it's just not > obvious. > > Otherwise, you're going to have to get an iPod touch. > > On Dec 2, 2009, at 1:15 AM, Sébastien Stormacq wrote: > >> Yes, this is awkward >> >> - My App do not use UIPushButton, just

Re: Application crashing on iPod Touch, not on iPhone

2009-12-02 Thread Sébastien Stormacq
; obvious. > > Otherwise, you're going to have to get an iPod touch. > > On Dec 2, 2009, at 1:15 AM, Sébastien Stormacq wrote: > >> Yes, this is awkward >> >> - My App do not use UIPushButton, just UIBarButtonItem (in a UIBar). These >> do not i

Re: Application crashing on iPod Touch, not on iPhone

2009-12-02 Thread Sébastien Stormacq
2 Dec 2009, at 18:16, Sébastien Stormacq wrote: > Just double checked. The Webview is created and loaded when the user needs > it, not at application startup time. > So I guess, i have to wait for my newly order iPod :-) > > --Seb > > > > > On 02 Dec 2009, at

Re: Application crashing on iPod Touch, not on iPhone

2009-12-03 Thread Sébastien Stormacq
> On Dec 2, 2009, at 11:42 AM, Sébastien Stormacq wrote: > >> I just borrowed an iPod Touch from a friend and tested my app on it. >> It works as expected. I can not reproduce the steps Apple said it crashed. >> >> What's the procedure when we don't

Re: Application crashing on iPod Touch, not on iPhone

2009-12-03 Thread Sébastien Stormacq
I totally agree with you Here is my stack trace Frame 15 is the last line from my code, it calls [NSURL urlWithString] (frame 14) 0 libSystem.B.dylib 0x0008e7e0 __semwait_signal_nocancel + 24 1 libSystem.B.dylib 0x0008e128 nanosleep$NOCANCEL + 100 2 li