• 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
Re: I think I have found a big bug in NSBrowser
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I think I have found a big bug in NSBrowser


  • Subject: Re: I think I have found a big bug in NSBrowser
  • From: Hamish Allan <email@hidden>
  • Date: Tue, 31 Jan 2006 01:22:21 +0000


On 30 Jan 2006, at 20:14, Andre wrote:

On 平成 18/01/30, at 9:00, Hamish Allan wrote:

I have also implemented a couple of workarounds for NSBrowser bindings bugs relating to selection indexes. They are available in a demonstration project here:

http://igor.gold.ac.uk/~map01ra/assorted/NSBrowserBugWorkarounds.zip

Cool, thanks, thats an even better file browser sample code than the SinpleBrowser example. Very nice.

You're welcome.

Anyway, I am very glad to know that there is at least ONE other person in the world using NSBrowser bindings :)

Yea, its so nice to use bindings, the only thing is, that with NSBrowser, I'm finding that to make up for the lost functionality, I'm writing just as much code........... as before bindings.

I'm certainly spending as much time as I would have done, but hopefully the time I spend now will be of use in future projects both for myself and others. To be honest I think that NSBrowser is also a bit of a pain to use without bindings.


I think, PF4, basically, a one man job (using NSBrowser subclass I believe) blows the whole "finder team" to bits. But, thats MHO.

I looked at PF a year or two ago and thought it had rather a bloated feel to it. But I recently downloaded PF4 and it was much better than I remembered it. I'm not sure whether it's me or PF that's changed! I still don't really understand why it implements its own terminal, console, etc.


I'm thinking about just ditching NSBrowser all together. If I had time, I would use NSTableColumns and or even NSTableViews, so I can sort the content of the browser,in each column. Also, handling the bindings my self, I can set the representedObject and the objectValue of the cells... currently NSBrowser doesn't set the represented object.... if I had time anyways...

I've never really understood what the purpose of the represented object was -- it certainly doesn't seem to have much point when bindings are used. Being able to sort browser columns would be nice, but I don't think that NSTableHeaderView/Cell would be a very good fit for it. Have you considered an NSOutlineView? It uses the same bindings (to NSTreeController) as NSBrowser does, so you should be able to just swap one out for the other.


Best wishes,
Hamish

_______________________________________________
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


  • Follow-Ups:
    • Re: I think I have found a big bug in NSBrowser
      • From: Andre <email@hidden>
References: 
 >Re: I think I have found a big bug in NSBrowser (From: Hamish Allan <email@hidden>)
 >Re: I think I have found a big bug in NSBrowser (From: Andre <email@hidden>)
 >Re: I think I have found a big bug in NSBrowser (From: Hamish Allan <email@hidden>)
 >Re: I think I have found a big bug in NSBrowser (From: Andre <email@hidden>)
 >Re: I think I have found a big bug in NSBrowser (From: Hamish Allan <email@hidden>)
 >Re: I think I have found a big bug in NSBrowser (From: Andre <email@hidden>)

  • Prev by Date: Strange resizing issue with NSView
  • Next by Date: Re: I think I have found a big bug in NSBrowser
  • Previous by thread: Re: I think I have found a big bug in NSBrowser
  • Next by thread: Re: I think I have found a big bug in NSBrowser
  • Index(es):
    • Date
    • Thread