Now I feel stupid.
For efficiency, my code was caching the values for the second column,
but I never cleared that cache before trying to refresh that column.
The browser was refreshing the (now incorrect) cached values - clearing
my cache out so that it was rebuilt fixed my issue.
Sorry fo
On May 5, 2014, at 4:58 PM, Paul Wasmund wrote:
> I am using an NSBrowser to display items and my code is based on the
> ComplexBrowser sample from Apple. This uses browser features introduced in
> 10.6 and does not implement a NSMatrix to display columns. The only support I
> see for implement
None of the suggestions panned out. The setting of the allowsBranchSelection
had no effect on being able to edit the first row entry programmatically and
neither did the isLeaf value. The other relevant values are:
isEditable = 1 indexPath = 1 indexes [13]
and those look good to me. Any othe
On Apr 4, 2013, at 3:13 PM, Paul Wasmund wrote:
> I am trying to use editItemAtIndexPath:withEvent:select: in my program to
> programatically start editing the text in my cell. It works for all items
> except those in the first column. As an experiment I added code to the Apple
> sample Complex
If the problem is with the index path, you could get selectedRowInColumn:0
and construct your own index path with the returned value.
--
Gary L. Wade
http://www.garywade.com/
On 4/4/2013 2:13 PM, "Paul Wasmund" wrote:
>I am trying to use editItemAtIndexPath:withEvent:select: in my program to
>p
On Sep 9, 2011, at 4:03 PM, Matt Neuburg wrote:
> I do hope you're filing bugs on all of this! m.
>
> On Tue, 06 Sep 2011 06:30:33 -0400, Bill Cheeseman
> said:
>>
>> The solution is to set the "Titled" checkbox in Interface Builder instead of
>> calling -setTitled: in -awakeFromNib. Surely
I do hope you're filing bugs on all of this! m.
On Tue, 06 Sep 2011 06:30:33 -0400, Bill Cheeseman said:
>
>The solution is to set the "Titled" checkbox in Interface Builder instead of
>calling -setTitled: in -awakeFromNib. Surely this is a bug in NSBrowser, and
>it must have been around since
On Sep 5, 2011, at 8:39 AM, Bill Cheeseman wrote:
> Long ago, I found that NSBrowser column titles disappear when the user
> manually scrolls the browser horizontally, or clicks a cell that forces the
> browser to scroll horizontally to show the children of the new selection in
> the next colu
Your instantiating your NSBrowser from a nib file. Try over riding
- (id)initWithCoder:(NSCoder *)coder
-raleigh
On Jun 26, 2011, at 4:18 AM, Ari Black wrote:
> On 11-06-26 7:04 AM, Fritz Anderson wrote:
>>
>> On 25 Jun 2011, at 7:05 PM, Ari Black wrote:
>>
>>> @implementation SpecialMatrix
>
On 11-06-26 7:04 AM, Fritz Anderson wrote:
On 25 Jun 2011, at 7:05 PM, Ari Black wrote:
@implementation SpecialMatrix
- (id)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode
prototype:(NSCell *)aCell numberOfRows:(NSInteger)numRows
numberOfColumns:(NSInteger)numColumns {
int x;
On 26 Jun 2011, at 6:18 AM, Ari Black wrote:
>> Second step: Maybe an NSBrowser doesn't instantiate any matrices until you
>> have responded to browser:numberOfRowsInColumn: with a non-zero value?
>>
>> — F
>
> That's possible, but I've tested adding items to the columns and
> SpecialMatr
On 25 Jun 2011, at 7:05 PM, Ari Black wrote:
> @implementation SpecialMatrix
>
> - (id)initWithFrame:(NSRect)frameRect mode:(NSMatrixMode)aMode
> prototype:(NSCell *)aCell numberOfRows:(NSInteger)numRows
> numberOfColumns:(NSInteger)numColumns {
>int x;
>x = 0; // I put a breakpoint he
I tried by setting break point on objc_exception_throw. Unable to get
anything from the stack trace.
Following is the stack trace.
#0 0x7fff835d70da in objc_exception_throw ()
#1 0x7fff81060c9b in -[NSBrowser _beginColumnDragging] ()
#2 0x7fff8105b04f in -[NSBrowserTableView d
On Apr 14, 2011, at 5:16 PM, Naresh Kongara wrote:
> HI All,
>
> I implemented drag and drop in NSBrowser, through which I can drag items from
> other views or windows of the applications. The drag and drop in NSBrowser is
> implemented through its delegate methods.
> Everything is going fine
On Mar 6, 2011, at 4:01 PM, Raleigh Ledet wrote:
> Why not just a headerViewController on NSBrowser proper?
That looks like it might be exactly what I want. I missed it when skimming
NSBrowser/Delegate docs.
Thanks.
--
Scott Ribe
scott_r...@elevated-dev.com
http://www.elevated-dev.com/
(303)
Why not just a headerViewController on NSBrowser proper?
-raleigh
On Mar 2, 2011, at 10:03 AM, Scott Ribe wrote:
> I need to implement a custom control, which would look very much like an
> NSBrowser with a "header row" above each column which would have 1 or 2
> controls per column. It seems
yes i found, thank a lot
Le 17 nov. 10 à 18:27, Dave DeLong a écrit :
NSBrowser is a subclass of NSControl, which happens to have a target
and action mechanism. Have you tried hooking up your browser's
target and action?
Dave
On Nov 17, 2010, at 8:52 AM, Bruno Causse wrote:
i can navig
NSBrowser is a subclass of NSControl, which happens to have a target and action
mechanism. Have you tried hooking up your browser's target and action?
Dave
On Nov 17, 2010, at 8:52 AM, Bruno Causse wrote:
> i can navigate in a tree through the NSbrowser (mouse or keyboard),
> I would like to v
On Jul 26, 2010, at 12:32 PM, mark wrote:
>> On 25/07/2010, at 9:00 AM, mark wrote:
>>
>>> A problem which is driving me spastic:
>>> I have an NSBrowser that allowes multiple selection.
>>> When I double click one of the selected items, all other selected items
>>> deselect.
>>> I have set the
On 25/07/2010, at 9:00 AM, mark wrote:
A problem which is driving me spastic:
I have an NSBrowser that allowes multiple selection.
When I double click one of the selected items, all other selected
items deselect.
I have set the doubleaction and action methods and correct target.
These are
On 25/07/2010, at 9:00 AM, mark wrote:
> A problem which is driving me spastic:
> I have an NSBrowser that allowes multiple selection.
> When I double click one of the selected items, all other selected items
> deselect.
> I have set the doubleaction and action methods and correct target. These
Dear Corbin,
Thanks for responding, however I must contradict you, vertical drag with
ComplexBrower does work under 10.6. It does so because its cell is an
NSTextfieldCell which inherits from NSActionCell. "Since NSBrowserCell does not
inherit from NSActionCell, it doesn’t hold a target and act
On May 7, 2010, at 1:01 AM, Micha Fuhrmann wrote:
> Hi everyone,
>
> I've ran out of ideas, I just don't now what's wrong.
>
> I have an NSBrowser Object.
>
> I've set the delegate to another class which implements:
>
> - (BOOL)browser:(NSBrowser *)browser canDragRowsWithIndexes:(NSIndexSet
On May 7, 2010, at 1:01 AM, Micha Fuhrmann wrote:
> If I click-drag in the browser either right or left, the method is called.
> But if I click-drag up or down, it isn't. All that happens is the cells get
> selected. I've compared with the Apple example "ComplexBrowser", and i just
> cannot se
On Mar 18, 2010, at 9:48 AM, Keary Suska wrote:
> On Mar 18, 2010, at 8:40 AM, Corbin Dunn wrote:
>
>> Aj -- I believe this was a bug fixed in 10.6; maybe 10.5. What OS are you on?
>>
>> The work around is to set it up in awakeFromNib.
>
> Is there any way to tab into an NSBrowser in 10.4? It
arning experience. :)
Cheers,
--aj
From: Corbin Dunn
To: Andrew James
Cc: list-cocoa-dev
Sent: Thu, March 18, 2010 7:40:06 AM
Subject: Re: NSBrowser and tab order
Aj -- I believe this was a bug fixed in 10.6; maybe 10.5. What OS are you on?
The work around is to set it up in awakeFrom
On Mar 18, 2010, at 8:40 AM, Corbin Dunn wrote:
> Aj -- I believe this was a bug fixed in 10.6; maybe 10.5. What OS are you on?
>
> The work around is to set it up in awakeFromNib.
Is there any way to tab into an NSBrowser in 10.4? It seems that once the
browser loses focus, you can't get focus
Aj -- I believe this was a bug fixed in 10.6; maybe 10.5. What OS are you on?
The work around is to set it up in awakeFromNib.
corbin
On Mar 18, 2010, at 1:15 AM, Andrew James wrote:
> I have a nib file set up in Interface Builder with a window containing a
> single NSBrowser.
>
> I have set
Thanks for your response. That's exactly what I was doing but your response
made me take another look (I was working on this all day yesterday). It seems
I was reloading the column before the wrapper was completely saved (even though
I thought I was)! When I put the reload code in a button an
On Feb 14, 2010, at 3:53 PM, Brad Stone wrote:
> I have an app that saves it's documents in a fileWrapper. The document's
> window has a NSBrowser where users can attach files. Before the document is
> saved for the first time the NSBrower's root is a temporary attachments
> folder (because t
On Oct 13, 2008, at 15:44, Quincey Morris wrote:
> Your relationship is from categories to subcategories (and inversely
> from categories to parent categories). So calling the relationship
> "id" makes no sense. IAC, to-many relationship names make more sense
> if they're plural ("categories" in
On Oct 13, 2008, at 08:58, Mark Scardigno wrote:
My main goal here is to have core data application that implements an
NSBrowser view;
You've got a number of conceptual problems here, complicated by the
fact that Core Data is not a good place to start if you have no
experience with fundame
multiple cells redraw issue
mentioned in my other post, that would be fab ...
On Thu, Aug 7, 2008 at 7:59 PM, <[EMAIL PROTECTED]> wrote:
> Message: 4
> Date: Thu, 07 Aug 2008 12:37:28 -0400
> From: Bill Cheeseman <[EMAIL PROTECTED]>
> Subject: Re: -[NSBrowser scroll
on 2008-08-07 12:06 PM, Martin Redington at
[EMAIL PROTECTED] wrote:
> [apologies if this is a repost - I sent it a while ago, but didn't see
> it appear on the list or in the archives]
I guess you didn't see my reply either.
I reported this as a bug about 4 years ago, but I'm not aware that any
Am Do,07.08.2008 um 18:06 schrieb Martin Redington:
[apologies if this is a repost - I sent it a while ago, but didn't see
it appear on the list or in the archives]
I've got an app with a NSOutlineView and NSBrowser view of the same
data (the file system).
I preserve the user's selection betw
on 2008-08-02 8:58 PM, Martin Redington at [EMAIL PROTECTED]
wrote:
> Is the behaviour I'm seeing (not all column made visible if any is
> already visible) the expected behaviour?
I filed a bug about 4 years ago, but nothing came of it.
--
Bill Cheeseman - [EMAIL PROTECTED]
Quechee Software, Qu
36 matches
Mail list logo