On Mar 9, 2017, at 09:59 , Steve Mills mailto:sjmi...@mac.com>> wrote:
>
> When and how should this be happening?
FWIW, when I tried to use this persistent state facility (quite a few years ago
now), I decided that it was working as advertised, but that the intended
behavior was so weird that i
> On 21 Mar 2016, at 5:02 PM, Quincey Morris
> wrote:
>
> On Mar 20, 2016, at 20:20 , Graham Cox wrote:
>>
>> This is driving me insane!
>
> a. Can you produce a test project that demonstrates the behavior? (Preferably
> not via drag-and-drop, since that’s so much harder to debug.)
>
> b.
On Mar 20, 2016, at 20:20 , Graham Cox wrote:
>
> This is driving me insane!
a. Can you produce a test project that demonstrates the behavior? (Preferably
not via drag-and-drop, since that’s so much harder to debug.)
b. It’s not the actual problem, but I wonder why you construct the needed
pa
> On 27 Mar 2015, at 14:34, Alex Kac wrote:
>
> I'm trying to get rid of NSOutlineView horizontal separator lines.
> I've tried the following with no luck.
>
> self.outlineView.gridStyleMask = NSTableViewGridNone;
> self.outlineView.gridColor = [NSColor clearColor];
> self.outlineView.intercell
> On 7 Jan 2015, at 8:01 pm, Leonardo wrote:
>
> The zoom occurs so slowly
On 10.10?
This is a bug in the OS. They changed it so that it would interpolate pinch
events to create a "smooth animation" of the zoom, but it doesn't work. The
events arrive at 90 per second so the graphics can nev
Hi Leornardo,
Please log this as a bug. You are running Mac OS 10.10, right?
corbin
> On Jan 7, 2015, at 1:01 AM, Leonardo wrote:
>
> Hi, I'm struggling with a singular trouble.
> In my window I have put an NSOutlineView and a NSScrollView containing a
> NSClipView containing an NSView.
>
> I
On 2014 Sep 18, at 12:51, Corbin Dunn wrote:
> Have you logged a bug on this issue?
On Sept 17, I filed a bug 18365579, on the slow behavior in Safari.
Hmmm, maybe I should file a separate bug on the underlying AppKit behavior.
With two teams getting it in their in-box, it has a better chanc
> On Sep 16, 2014, at 4:48 PM, Jerry Krinock wrote:
>
>
> On 2014 Sep 16, at 15:23, Kyle Sluder wrote:
>
>> I'd try wrapping things in an NSAnimationContext with
>> allowsImplicitAnimation=NO. Though I'm not sure where you would have the
>> opportunity to wrap the built-in expand behavior.
On Sep 16, 2014, at 5:50 PM, Alex Zavatone wrote:
> All I want is to turn off that distracting NSOutline expand/collapse
> animation all the time, everywhere. So useless and certainly distracting.
> Certainly doesn't make my UI any faster or enhance my user experience.
>
> If anyone knows how
Just wait - next year we’ll have a “Modern AppKit” rewritten for Swift and to
be more like UIKit. I keep hoping.
> On Sep 16, 2014, at 5:48 PM, Jerry Krinock wrote:
>
> Weird that here we are with the Apple Watch and Swift, and old NSOutlineView
> still doesn’t work as it should.
Alex Kac - P
All I want is to turn off that distracting NSOutline expand/collapse animation
all the time, everywhere. So useless and certainly distracting. Certainly
doesn't make my UI any faster or enhance my user experience.
If anyone knows how, I'll gladly mail them 50 bucks.
Is there an NSUserDefaults
On 2014 Sep 16, at 15:23, Kyle Sluder wrote:
> I'd try wrapping things in an NSAnimationContext with
> allowsImplicitAnimation=NO. Though I'm not sure where you would have the
> opportunity to wrap the built-in expand behavior.
Yes, I’ve never understood “graphics contexts” and its new friend
On Tue, Sep 16, 2014, at 05:04 PM, Jerry Krinock wrote:
>
> > On 2014 Sep 16, at 10:29, Jens Alfke wrote:
> >
> > Maybe it's the animation that ends up dereferencing all the rows? I forget
> > whether there's a way to disable the animations on an NSOutlineView …
>
> I can’t find any such contr
> On 2014 Sep 16, at 10:29, Jens Alfke wrote:
>
> Maybe it's the animation that ends up dereferencing all the rows? I forget
> whether there's a way to disable the animations on an NSOutlineView …
I can’t find any such control, Jens.
* * *
Apparently, *someone* inside Apple knows how to make
> On Sep 16, 2014, at 10:23 AM, Jerry Krinock wrote:
>
> Apparently it’s the *expand* operation which is not smart enough to realize
> the small number of items that can be displayed. (So I guess you would not
> see this behavior in a table view.) Maybe there is a technical reason for
> thi
> On 2014 Sep 16, at 06:13, SevenBits wrote:
>
> Could you perhaps upload the source? I'd like to take a look at this, as I am
> trying to do something like this as well.
Here you go…
https://github.com/jerrykrinock/NSOutlineViewLazinessDemo
Unfortunately, it was easy to reproduce the proble
On 10 Sep 2014, at 12:49 pm, Shane Stanley wrote:
> FWIW, and this is unrelated to your problem, I'm not sure you should delete
> the empty custom views, but rather drag the outline view and text view/scroll
> view into them.
>
> At least, I did what you outlined on a project some time ago. Wh
On 10 Sep 2014, at 10:45 am, Charles Jenkins wrote:
> Then I deleted the left side’s empty custom view object and replaced it with
> a Source View. I deleted the right side’s empty custom view object and
> replaced it with one of the text view objects.
FWIW, and this is unrelated to your probl
On Sep 9, 2014, at 17:45 , Charles Jenkins wrote:
> My question is: assuming that my Document class is indeed acting as the
> outline view’s delegate, which of these graphical objects is supposed to be
> the one calling outlineView:objectForTableColumn:byItem:?
That’s a data source method, not
Also I have a fundamental question about the objects I get when I drag a Source
View onto a window. I built my UI by dragging a vertical splitter onto the
empty window. Then I deleted the left side’s empty custom view object and
replaced it with a Source View. I deleted the right side’s empty cu
Quincey,
Thanks for the reply.
At the time of my original posting I had verified several times that all the
protocol functions got called and were returning the values I expected them to
return. The objectValueForTableColumn one was returning a String, the title I
hoped would appear in the o
On Sep 9, 2014, at 04:16 , Charles Jenkins wrote:
> Actually, if there is a space between the underscore and the name, Xcode
> presents a warning saying it’s extraneous. I cut and pasted the original
> prototypes from the documentation in order to avoid typos, and Xcode
> immediately displayed
> On 9 Sep 2014, at 7:16 pm, Charles Jenkins wrote:
>
> Quincey,
>
>
>
> Move my breakpoint up to the function declaration to see if it’s really being
> called
> Reinsert the space after the underscore and ignore Xcode’s warnings
> Delete the underscore altogether
>
>
You don’t want a spa
Quincey,
Actually, if there is a space between the underscore and the name, Xcode
presents a warning saying it’s extraneous. I cut and pasted the original
prototypes from the documentation in order to avoid typos, and Xcode
immediately displayed warning messages. Removing the space made Xcode h
Hi,
On Sep 8, 2014, at 6:00 PM, Charles Jenkins wrote:
> I changed the relevant method to this:
>
> func outlineView(
>_outlineView: NSOutlineView!,
>objectValueForTableColumn tableColumn: NSTableColumn!,
>byItem item: AnyObject!
>) -> AnyObject!
> {
>let node = getDocumen
On Sep 8, 2014, at 16:00 , Charles Jenkins wrote:
> I changed the relevant method to this:
>
> func outlineView(
>_outlineView: NSOutlineView!,
>objectValueForTableColumn tableColumn: NSTableColumn!,
>byItem item: AnyObject!
>) -> AnyObject!
> {
>let node = getDocumentNodeF
Ken,
Thanks for trying to help me out. I tried to follow your advice, but I must not
have completely understood it.
I changed the relevant method to this:
func outlineView(
_outlineView: NSOutlineView!,
objectValueForTableColumn tableColumn: NSTableColumn!,
byItem item: AnyObject!
On Sep 6, 2014, at 11:58 AM, Charles Jenkins wrote:
> I’m returning the correct string that should appear at every node of the
> tree, but it’s not being used. Each node in the tree is a text view cell. If
> I leave IB’s default title of “Text View Cell,” that’s what appears on every
> node of
uot;
Sent: Saturday, June 14, 2014 2:17:30 PM
Subject: Re: NSOutlineView floating group row question
On Jun 14, 2014, at 5:02 PM, Lee Ann Rucker wrote:
> Actually, the "default" color you get from IB may not be the "proper" color:
> rdar://16040037
>
> Vie
On Jun 14, 2014, at 5:02 PM, Lee Ann Rucker wrote:
> Actually, the "default" color you get from IB may not be the "proper" color:
> rdar://16040037
>
> View-based SourceList header cell default text color should not be a custom
>
> It's 49% gray, instead of a named system color. One effect of
uot;Bill Cheeseman"
To: "Cocoa-Dev Cocoa-Dev Mail"
Sent: Saturday, June 14, 2014 12:07:24 PM
Subject: Re: NSOutlineView floating group row question
On Jun 14, 2014, at 2:52 PM, Kyle Sluder wrote:
> Do you override -viewWillDraw anywhere? That is the method NSTableView uses
On Jun 14, 2014, at 3:28 PM, Quincey Morris
wrote:
> It might be simplest to try deleting your source outline view, and adding a
> normal one, then reconfiguring as a source list manually.
Actually, I've been through every single setting in the Source List library
object in the nib file a d
On Jun 14, 2014, at 1:03 PM, Bill Cheeseman wrote:
> I have a view-based NSOutlineView with the Floats Group Rows setting turned
> on in Interface Builder. The outline view is the one supplied by the Source
> List object in the Xcode 5.1.1 Interface Builder library. It has Highlight
> set to th
On Jun 14, 2014, at 11:03 , Bill Cheeseman wrote:
> I must be overlooking something in those examples.
I have a vague recollection of once trying to use the IB source list item and
running into something that seemed oddly configured.
It might be simplest to try deleting your source outline vie
On Jun 14, 2014, at 2:52 PM, Kyle Sluder wrote:
> Do you override -viewWillDraw anywhere? That is the method NSTableView uses
> to push down style attributes to its row views and their cells, so don’t
> forget to call super.
>
> Also, what color have you assigned to your text fields? If it’s
On Jun 14, 2014, at 11:03 AM, Bill Cheeseman wrote:
>
> Can anybody explain the trick to me? I must be overlooking something in those
> examples.
Do you override -viewWillDraw anywhere? That is the method NSTableView uses to
push down style attributes to its row views and their cells, so don’t
On 23 May 2014, at 1:09 pm, Kyle Sluder wrote:
> Did you remember to set your table view to View Based mode first? I just
> successfully dropped a Custom View _below_ the existing text cell view
> in a table view in Xcode 5.1.1.
Yep, it's set to view-based. Strange, I just can't drop a custom
On Thu, May 22, 2014, at 07:00 PM, Graham Cox wrote:
> I still have a problem doing this though. In the video, a custom table
> row view is shown as a subview of the table, and sure enough, the
> identifier and class can be set there. But when I try it, there is no
> such view available, neither al
Thanks Ken, though it turned out to be a stupid error on my part (not
unexpectedly!).
My custom cell view declared a property I called 'layer' which returns the
associated model object. Of course this conflicts with NSView's 'layer'
property which returns any underlying Core Animation layer, so
On 22 May 2014, at 2:20 pm, Kyle Sluder wrote:
> On May 22, 2014, at 12:15 AM, Graham Cox wrote:
>>
>> So I want to use a custom subclass of NSTableRowView so I can use an
>> in-house UI highlighting style. It's far from obvious how to do this, even
>> though other documentation states that
On May 21, 2014, at 10:10 PM, Graham Cox wrote:
> I'm using NSOutlineView with view-based rows. I've set it up to allow drag
> and drop of a row. When the drag is initiated, it throws an exception with
> the following stack trace:
>
> #00x7fff8b6d4e4a in objc_exception_throw ()
> #1
On May 22, 2014, at 12:15 AM, Graham Cox wrote:
>
> So I want to use a custom subclass of NSTableRowView so I can use an in-house
> UI highlighting style. It's far from obvious how to do this, even though
> other documentation states that this is the 'correct' approach to customising
> the row
Simpler than that - set the text field back to the standard default of "Text
Color", and NSTextFieldCell knows what to do, just like in cell-based. So it's
just IB throwing a wrench in the works.
On Feb 11, 2014, at 12:44 PM, Lee Ann Rucker wrote:
> Poked at it until I got it working: by defaul
Poked at it until I got it working: by default, IB creates the Source List
HeaderCell text field with 49% gray text color. Set it to white and it works as
expected - gray when not selected, white when it is.
Filed rdar://16040037 - the NSTextFieldCell should work the same whether in
view- or ce
I wonder if this is a side-effect of -[NSOutlineView autoresizesOutlineColumn].
I had to set it to NO for our app.
On 2 Oct 2013, at 11:57, Jakob Egger wrote:
> I had a similar issue with NSOutlineView in 10.8. I had an outline view that
> could be hidden by the user, and every time it was sho
I had a similar issue with NSOutlineView in 10.8. I had an outline view that
could be hidden by the user, and every time it was shown again, the width of
the outline column shrank by a certain amount. It might be a bug in
NSOutlineView.
Calling -reloadData after the view is shown fixed the issu
On 2013 Oct 01, at 15:38, Trygve Inda wrote:
> No matter how I configure the nib, the cell is always 8 pixels too
> narrow until I resize the window which causes it to work correctly after
> that.
I remember that drove me crazy when I first used an outline view some years
ago. A couple things
On Jun 24, 2013, at 14:41 , Robert Fiedler wrote:
> Does anybody have an idea what could be the reason for that behavior or in
> what direction I should dig?
I believe I've seen similar behavior caused by malfunctioning auto-layout
constraints on the text and image subviews. Make sure you have
I've figured it out.
Seems the item is collapsable only when the delegate method *-
(BOOL)outlineView:(NSOutlineView *)outlineView
shouldShowOutlineCellForItem:(id)item* returns YES for that item.
Otherwise, you can only expand the item.
Thanks,
On Wed, Jun 19, 2013 at 11:20 AM, Jens Alfke wr
On Jun 18, 2013, at 7:16 PM, Peng Gu wrote:
>[[self.outlineView animator] collapseItem:item];
I’ve never tried using the animator proxy to do this; I don’t think it’s
necessary (the expand/collapse will be animated anyway.) Have you tried calling
the view directly?
—Jens
smime.p7s
On May 2, 2013, at 3:44 PM, Gordon Apple wrote:
> We did get a customRowView to work in the TableViewPlayground sample. The
> popover showed a simple color image view with some text that displayed the
> row number. As you mouse over the outline, any previous popover closes and a
> new one a
On May 2, 2013, at 3:15 PM, Quincey Morris
wrote:
> On May 2, 2013, at 14:52 , Corbin Dunn wrote:
>
>> On Apr 17, 2013, at 2:09 PM, Quincey Morris
>> wrote:
>>
>>> On Apr 17, 2013, at 10:50 , Gordon Apple wrote:
>>>
We are converting tables and outlines to view-based. So far, so go
We did get a customRowView to work in the TableViewPlayground sample. The
popover showed a simple color image view with some text that displayed the
row number. As you mouse over the outline, any previous popover closes and
a new one appears at the edge of the outline/table view row.
I filed a r
On May 2, 2013, at 14:52 , Corbin Dunn wrote:
> On Apr 17, 2013, at 2:09 PM, Quincey Morris
> wrote:
>
>> On Apr 17, 2013, at 10:50 , Gordon Apple wrote:
>>
>>> We are converting tables and outlines to view-based. So far, so good, on
>>> tables. But NSOutlineView has been a pain. First of
On Apr 21, 2013, at 11:51 AM, Gordon Apple wrote:
> Our view-based NSOutlineView still has a few annomalies, but mostly works.
> Now, we are attempting to install a hoverView in our outline column to
> launch a popover (display only) when mousing over a row. This works just
> fine with NSTableV
On Apr 17, 2013, at 2:09 PM, Quincey Morris
wrote:
> On Apr 17, 2013, at 10:50 , Gordon Apple wrote:
>
>> We are converting tables and outlines to view-based. So far, so good, on
>> tables. But NSOutlineView has been a pain. First of all, there is no
>> documentation on this, zero, zip, na
Our view-based NSOutlineView still has a few annomalies, but mostly works.
Now, we are attempting to install a hoverView in our outline column to
launch a popover (display only) when mousing over a row. This works just
fine with NSTableViews, but so far does not work at all with NSOutlineView.
We
On Apr 17, 2013, at 18:08 , Gordon Apple wrote:
> Our outlineView is not stable and it sometimes edits the wrong row.
FWIW, the several times I saw instability and other odd behavior, it turned out
I was doing something to the outline view on a non-main thread. The odd
behavior didn't necessa
By now, I¹m sure you¹ve seen my second posting. That at least got things
showing up in (mostly) the right place. We always had a mixture of bindings
and data source, mainly because line numbers were hard to do with bindings.
With view=based tables and a little subclassing, it¹s not so hard. For
We had assumed that outlineView:objectValueForTableColumn:item was not
called if the table was bound to a NSTreeController. Wrong assumption. If
we returned the correct value, or just eliminated this method, it mostly
works correctly. However, there a few anomalies. The outline text indents
prop
On Apr 17, 2013, at 10:50 , Gordon Apple wrote:
> We are converting tables and outlines to view-based. So far, so good, on
> tables. But NSOutlineView has been a pain. First of all, there is no
> documentation on this, zero, zip, nada, zilch, in the NSOutlineView
> Reference. You have to rely
On Feb 7, 2013, at 23:15 , Kyle Sluder wrote:
> Subclass NSOutlineView and override -textDidEndEditing: to do the right
> thing? (Or whatever the delegate method is that gives you the "movement
> reason.")
Weirdly, it doesn't get to this delegate method -- nor does *my* delegate ever
get mess
On Feb 7, 2013, at 9:41 PM, Quincey Morris
wrote:
> Anyway, this gave me a simple test project, now bug-reported as #13178419.
> Unfortunately, I don't see a workaround.
Subclass NSOutlineView and override -textDidEndEditing: to do the right thing?
(Or whatever the delegate method is that giv
On Feb 7, 2013, at 16:00 , Quincey Morris
wrote:
> Everything works, except for one thing. If I click on a text field to begin
> editing, type a few characters, then press Esc, then editing ends, but the
> text doesn't revert to what it was before editing began.
Well, it appears to a NSOutlin
On Aug 10, 2012, at 22:18 , Graham Cox wrote:
> In my outline view I return NO for a certain row from the delegate method
> [outlineView:shouldCollapseItem:], which is also set to be a 'group' item.
> This does prevent the group item being collapsed correctly, but it still
> shows that horribl
On Feb 15, 2012, at 1:18 AM, Uli Kusterer wrote:
> Any chance of you posting this radar on http://openradar.me ? I'd love to
> learn more about this issue.
That's really pretty much all there is to it. I suppose it might be worth
posting so others know about it, but the entire bug is that view
On 14.02.2012, at 23:55, Kyle Sluder wrote:
> On Tue, Feb 14, 2012 at 12:34 PM, Mikkel Eide Eriksen
> wrote:
>> Hi,
>>
>> I was going to implement a source list, but it's causing XCode and the
>> Simulator to freak out. I did the following in my existing project (and then
>> in a fresh projec
On 14/02/2012, at 23.55, Kyle Sluder wrote:
> View-based table views and outline views crash the IB simulator. This
> is a known issue.
>
> r. 9442221
Thanks for the into.
Mikkel
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not po
On Tue, Feb 14, 2012 at 12:34 PM, Mikkel Eide Eriksen
wrote:
> Hi,
>
> I was going to implement a source list, but it's causing XCode and the
> Simulator to freak out. I did the following in my existing project (and then
> in a fresh project to make sure):
>
> 1. Create window nib
> 2. Add a sou
Thanks Kyle. For some reason I missed the superclass (NSTableView) docs when
trying to solve my NSOutlineView selection issues.
However --- I remember (our previous implementation) that when you use an
NSTreeController (Or NSArrayController in the case of NSTableView) to control
the NSOutLineVi
On Mon, Nov 14, 2011 at 6:18 AM, Motti Shneor wrote:
> However, if we need to PROGRAMMATICALLY set the selection, using
> selectRowIndexes:byExtendingSelection: for example,
> outlineView:shouldSelectItem: is never called.
>From "Selecting and Deselecting Rows Programmatically" in the Table
Vi
Thanks Kyle, I'll try to apply that. In the meantime, I also found the
AbstractView sample code which does something similar. I'll see which one fits
my code better.
- Koen.
On Oct 29, 2011, at 5:34 PM, Kyle Sluder wrote:
> On Sat, Oct 29, 2011 at 1:18 PM, Koen van der Drift
> wrote:
>> I'm
On Sat, Oct 29, 2011 at 1:18 PM, Koen van der Drift
wrote:
> I'm setting up drag and drop for my NSOutlineView and I want to prevent
> parents being dropped on one of their children. The parent and children are
> all of the Group entity. I understand I need to do this in the
> outlineView:valid
On Oct 3, 2011, at 01:36 , Gilles Celli wrote:
> As you suggested I tried the different options (putting a button cell in IB)
> and also returning with a non-nil cell for the NSOutlineView…but I'm not
> quite sure what you mean: Do I need to remove the "buttonColumn" and have
> only one column
Quincey, thanks for the quick reply!
As you suggested I tried the different options (putting a button cell in IB)
and also returning with a non-nil cell for the NSOutlineView…but I'm not quite
sure what you mean:
Do I need to remove the "buttonColumn" and have only one column ? And then
generat
On Oct 2, 2011, at 13:14 , Gilles Celli wrote:
> Now I want to have a NSButtonCell for all the DataTypeNames (leaf node of the
> OvItem items class)…I've setup an NSOutlineView with 2 columns: first column
> named
> "buttonColumn" and a second one to display the Items…
>
> I've tried to generat
I finally found the bug which caused my NSOutlineView to display the content
only if the user was scrolling inside of it, but never showed up correctly at
program launch:
The problem was that I've put the method expandItem:exandChildren inside
NSOutlineView delegate method outlineView:willDisp
Yes; for a cell based tableview all it does is invalidate the row/column pairs.
For view based, it drops the view and queries it again.
corbin
On Sep 8, 2011, at 12:12 PM, Sebastien Boisvert wrote:
> Does -reloadDataForRowIndexes:columnIndexes: work on NSOutlineView? I'm
> trying to use this t
Michael & Graham: thanks for the reply
I agree that my Item class and its structure for the outline view has to be
reworked...I'll let you know since I'm on vacancy for one week…
-Gilles
On 2 sept. 2011, at 14:35, Michael Babin wrote:
> On Sep 2, 2011, at 7:15 AM, Gilles Celli wrote:
>
>> I'
On 02/09/2011, at 10:48 PM, Gilles Celli wrote:
> Yes forgot to say that I've a data source for the outline view….
>
> My OvItem.h class looks like this:
Yes, but how and when does that structure get established? That's what matters
here - obviously the data structure needs to be ready when t
Yes forgot to say that I've a data source for the outline view….
My OvItem.h class looks like this:
#import
@interface OvItem : NSObject {
NSString *title;
NSMutableArray *children;
BOOL isParent;
}
@property (nonatomic, readwrite, copy) NSString *title;
@property
On Sep 2, 2011, at 7:15 AM, Gilles Celli wrote:
> I've setup a Document based application with an NSOutlineView which displays
> Parent-Item along with its children…with XCode 4 on OS X Lion.
>
> When launching the application, the outline view shows the Root title…only if
> I refresh the outl
Ah HA!
This problem has bugged me for ages and I could never find it. I too
worked around it with re-saves or forcing nib recompilation whenever
one of them worked. I always blamed some obscure corruption in IB but
since I'm stuck on 10.5 I assumed it was just something to live with.
I
OK, I think I found the reason for the problem.
I'm using the generally excellent BWToolkit in my app, but it has some issues.
One of these is that the version I'm using completely breaks nib decoding by
brute-force switching out the standard NSButtonCell class for the unarchiver.
That's just n
On Jan 24, 2011, at 12:38 PM, Markus Spoettl wrote:
> Am I dreaming this example project up?
For the record: It appears so. However, there's a topic in the NSScrollView
programming guide that talks in detail about synchronizing two scroll views:
http://developer.apple.com/library/mac/#documenta
Hi Kevin, (cc'ing the list, in case others have the same question).
On Jan 12, 2011, at 12:55 PM, Kevin Meaney wrote:
> Thanks Corbin,
>
> Will modifying the current selection of the outline view in the delegate
> method outlineView:selectionIndexesForProposedSelection cause any problems as
>
On Jan 12, 2011, at 10:45 AM, Kevin Meaney wrote:
> Hi,
>
> In my outline view I need to allow multiple selection, but only allow all
> selected items to have the same parent. In other words as soon as the user
> selects an item with a different parent to the currently selected items even
> i
Quincey pretty much got it right. Here's what happens:
Table needs a cell (to draw, edit, type select, etc).
It calls -preparedCellAtColumn:row: -- this is a public funnel point, and can
be overridden. Some examples on the dev site do this.
preparedCellAtColumn:row does this, in this order (whi
On 6 Oct 2010, at 11:29, Quincey Morris wrote:
>
> This all means that anything you choose to configure in #1 may or may not
> still be in effect by the time you get to #2, but that's an implementation
> detail on which you cannot rely, because there's no API contract that
> anything is kept.
On Oct 6, 2010, at 02:58, jonat...@mugginsoft.com wrote:
> What does work is:
>
> 1. in - outlineView:dataCellForTableColumn:item: construct my popup cell
> when required.
> 2.in - outlineView:willDisplayCell:forTableColumn:item: select item in popup
> cell according to model.
>
> In step 1 I
>
> I think it is your misunderstanding of what is going on.
>
> When the user interacts with a cell (editing, or tracking - in this case,
> tracking is happening), the cell is copied. This is required, if you think
> about it, since you don't want to have any other cells in the table be
> r
On Oct 5, 2010, at 3:36 PM, jonat...@mugginsoft.com wrote:
>
> On 5 Oct 2010, at 23:03, Quincey Morris wrote:
>
>> On Oct 5, 2010, at 03:53, jonat...@mugginsoft.com wrote:
>>
>>> However it appears that the binding machinery causes the NSPopUpButtonCell
>>> selection to be reset after the use
On Oct 5, 2010, at 15:36, jonat...@mugginsoft.com wrote:
> I have a separate NSPopUpButtonCell that I recycle and configure as and when
> required.
> The issue is that when the NSPopUpButtonCell is selected and the user selects
> an item from the popup NSMenu the user's selection is reset.
> ie:
On 5 Oct 2010, at 23:03, Quincey Morris wrote:
> On Oct 5, 2010, at 03:53, jonat...@mugginsoft.com wrote:
>
>> However it appears that the binding machinery causes the NSPopUpButtonCell
>> selection to be reset after the user has interacted with the control.
>>
>> I therefore have to resync th
On Oct 5, 2010, at 03:53, jonat...@mugginsoft.com wrote:
> However it appears that the binding machinery causes the NSPopUpButtonCell
> selection to be reset after the user has interacted with the control.
>
> I therefore have to resync the NSPopUpButtonCell selection to the model in -
> outlin
Word up! Looks like the solution ... Thanks.
-koko
On Sep 16, 2010, at 6:24 PM, Jerry Krinock wrote:
On 2010 Sep 16, at 11:46, k...@highrolls.net wrote:
I found a hack in the archives to impose a delay on the auto expand
when over a parent node but was wondering if there is a 'preferred'
On 2010 Sep 16, at 11:46, k...@highrolls.net wrote:
> I found a hack in the archives to impose a delay on the auto expand when over
> a parent node but was wondering if there is a 'preferred' or 'acceptable'
> method of changing the auto expand threshold.
If you're looking for a solution to th
On Sep 14, 2010, at 7:36 PM, k...@highrolls.net wrote:
> what do i need to implement so I can drag item within an NSOutline View?
http://developer.apple.com/library/mac/#samplecode/DragNDropOutlineView/Introduction/Intro.html
-jcr
___
Cocoa-dev mail
On Sep 14, 2010, at 7:36 PM, k...@highrolls.net wrote:
> what do i need to implement so I can drag item within an NSOutline View?
http://developer.apple.com/library/mac/#samplecode/DragNDropOutlineView/Introduction/Intro.html
-jcr
___
Cocoa-dev mail
Word up to Nick and Dave ...
All my issues were because in writeItems:toPasteboard I wasn't doing
anything ... I was just trying to stub in code to get the process.
Ergo, upon doing
[pboard declareTypes:[NSArray arrayWithObject:@"HTREEITEM"]
owner:self];
[pboard setData:[NSData d
1 - 100 of 286 matches
Mail list logo