On May 23, 2016, at 11:16 , Raimond Hettrich wrote:
>
> I have the following problem with the constellation
> coreData-treeController-outlineView.
Well, you keep asking, and you keep getting no answer, because no one on this
list knows the answer — the problem domain is too larg
Hallo all,
I´m new in objective-c coding and I have the following problem with the
constellation coreData-treeController-outlineView.
I’ve got an view based outlineView which shows an hierarchical tree. I can add
a new row with the default values of my entities attributes. I can add new
Hallo All,
I have a view-based OutlineView with one column bound to an TreeController
(arrangedObjects) and the TableViewCell bound to objectValue.name. The
TreeController is bound to the managedObjectContext.
Nearly everything is fine. With the Add-Button a new line will be added with
the
On 06/06/2013, at 5:01 AM, Chris Tracewell wrote:
> Thanks for the reply. This OV is acting as a master for a detail view that
> must be saved before the selection changes if it's dirty. Is there another
> method to intercept the OV row click before selection actually changes
> wherein I can
Thanks for the reply. This OV is acting as a master for a detail view that must
be saved before the selection changes if it's dirty. Is there another method to
intercept the OV row click before selection actually changes wherein I can
validate and present an NSAlert for save,cancel,discard optio
On 05/06/2013, at 11:56 AM, Chris Tracewell wrote:
> Is this normal behavior? Thanks for the help.
Probably. This method should just answer the question, not attempt to interrupt
things by showing an alert etc. You'll need to put that functionality elsewhere.
--Graham
_
I've got a view controller set up as the delegate for an outlineView. The view
controller implements the -(BOOL)outlineView:(NSOutlineView *)outlineView
shouldSelectItem:(id)item delegate method. I show an alert and return NO if the
user has not saved some changes or return YES if all is
rmation into the cell via
OutlineView delegate calls.
I'm guessing, the question is...
Do I get the cells from the Source List and load it using the delegate methods,
similar to the example, or can the nodeText be bound directly.
Does anyone know where to find an example of using the "
Hi Leonardo,
On Oct 17, 2011, at 11:15 AM, Leonardo wrote:
> Hi,
> I am developing a timeline interface. I have a splitView with 2 views.
> The left one contains an outlineView displaying the name of the tracks.
> The right one contains a simple view containings a blue rectangle
Hi,
I am developing a timeline interface. I have a splitView with 2 views.
The left one contains an outlineView displaying the name of the tracks.
The right one contains a simple view containings a blue rectangle (the
track) that can be dragged horizontally by the user.
Before Lion I used to
Well, this isn't the first time I've felt stupid.
I had thought it should work that way, but I wasn't dragging _far_enough_
to the left.
Thanks for setting me straight!
John V.
On Sat, Sep 10, 2011 at 08:00:30PM -0700, Jerry Krinock wrote:
>
> On 2011 Sep 10, at 16:28, John Velman wrote:
>
>
On 2011 Sep 10, at 16:28, John Velman wrote:
> In principle, I could change the target in outlineView:validateDrop… but the
> built in "line with circle on the left end" would still indicate it was
> dropping on a child.
No, the "line with circle on the left end" indicates that the user is dro
OSX, using Xcode 4.
In my outline view drag and drop I'd like to be able to drop between rows
(at any level). This only seems possible if the item on the row above has
no children.
I have a custom container tree node in my model, with bindings via an
NSTreeController. I've implemented a data sou
Hi,
I'm starting using a nsdatepickercell in an outlineview, but cannot
edit the values.
The column is editable though, and my delegate returns YES for
outlineView:(NSOutlineView *)outlineView shouldEditTableColumn:(NSTableColumn
*)tableColumn item:(id)item.
I
ggetto: Re: OutlineView with big text editor
On 27.11.2010, at 15:43, gMail.com <http://gMail.com> wrote:
> Hi, I have set a custom cell showing icon + text on my outlineView column.
> It works well, but whenever I double click on the row to edit the text, I
> get a text field ed
+0100
A: "gMail.com"
Cc:
Oggetto: Re: OutlineView with big text editor
On 27.11.2010, at 15:43, gMail.com <http://gMail.com> wrote:
> Hi, I have set a custom cell showing icon + text on my outlineView column.
> It works well, but whenever I double click on the row to ed
On 27.11.2010, at 15:43, gMail.com wrote:
> Hi, I have set a custom cell showing icon + text on my outlineView column.
> It works well, but whenever I double click on the row to edit the text, I
> get a text field editor bigger than the cell itself and covering the left
> icon. Ho
Hi, I have set a custom cell showing icon + text on my outlineView column.
It works well, but whenever I double click on the row to edit the text, I
get a text field editor bigger than the cell itself and covering the left
icon. How can I make this text field editor fit the cell bounds and not
Thanks for this - I've done as you suggested and it works fine. Serves me
right for attempting to learn from examples on the web ;)
On Wed, May 26, 2010 at 1:27 PM, Graham Cox wrote:
>
> On 26/05/2010, at 10:12 PM, Pascal Harris wrote:
>
> > - (id)outlineView:(NSOutli
On 26/05/2010, at 10:12 PM, Pascal Harris wrote:
> - (id)outlineView:(NSOutlineView *)outlineView
> objectValueForTableColumn:(NSTableColumn *)tableColumn byItem:(id)item
> {
>if ([[[tableColumn headerCell] stringValue] compare:@"Key"] ==
> NSOrderedSame)
>
I'm trying to populate an OutlineView. I've had success in the past but
now, apparently, I'm unable to do it!
Looking at this code:
- (id)outlineView:(NSOutlineView *)outlineView child:(int)index
ofItem:(id)item
{
if (item == nil)
{
[mailListDict writeToFil
Thanks Joanna, my data is not Core Data and I haven't had the opportunity to
use it much. I did some research and it is definitely on my list of things to
learn. Not sure why NSTreeController does not support predicate filters...
Funny, Finder has a hidden preference to show or hide hidden fil
Hi Tony
> Based on a user preference, I want to be able to selectively show/not show
> items contained in the tree controller by an outline view. For example,
> suppose the tree controller has these items: A,B,C,D,D,E,F,G,H. The outline
> view will normally display all of the items. Now suppo
After some research, NSTreeController does not support predicates.
subclass'ing looks like the way to go. I'll look into to-many properties as
well.
Thanks so much!
-tony
On Mar 30, 2010, at 8:51 PM, Kyle Sluder wrote:
> On Tue, Mar 30, 2010 at 8:35 PM, Tony Romano wrote:
>> One obvious me
On Tue, Mar 30, 2010 at 8:35 PM, Tony Romano wrote:
> One obvious method(albeit brute force) is to rebuild the tree controller list
> and redisplay it. For what I want to do, this is way too expensive of an
> operation. In addition, the user can toggle back and forth the preference.
> There
Based on a user preference, I want to be able to selectively show/not show
items contained in the tree controller by an outline view. For example, suppose
the tree controller has these items: A,B,C,D,D,E,F,G,H. The outline view will
normally display all of the items. Now suppose the user sets
On Feb 4, 2010, at 2:47 AM, Poonam Virupaxi Shigihalli wrote:
parentObject = [outlineview parentObject:item]; //Here it always
returns Groups2 even though i want to remove from Group1 one, since
cocoa is a duplicate entry(Same memory location).
You can't have the same item in two p
On 04/02/2010, at 9:47 PM, Poonam Virupaxi Shigihalli wrote:
> parentObject = [outlineview parentObject:item]; //Here it always returns
> Groups2 even though i want to remove from Group1 one, since cocoa is a
> duplicate entry(Same memory location).
>
> [parentObject re
Dear All,
NSOutlineView displays as follows:
Group1
---Cocoa
---Mac
Group2
Cocoa
Macbook
Cocoa is a duplicate entry present in two groups also.
I have rightmousedown action for outlineview. when the user right clicks on any
of the group items. i has the following operations
On Jan 4, 2010, at 06:21:47, Sean McBride wrote:
> Rick Mann (rm...@latencyzero.com) on 2010-01-04 4:08 AM said:
>
>> I have an NSTreeController and outline view displaying a hierarchy of
>> Group objects. This works fine. The NSTreeController is bound to the
>> managed object context, and uses
Rick Mann (rm...@latencyzero.com) on 2010-01-04 4:08 AM said:
>I have an NSTreeController and outline view displaying a hierarchy of
>Group objects. This works fine. The NSTreeController is bound to the
>managed object context, and uses a fetch predicate of "parent == nil".
>
>It won't let me sele
I have an NSTreeController and outline view displaying a hierarchy of Group
objects. This works fine. The NSTreeController is bound to the managed object
context, and uses a fetch predicate of "parent == nil".
It won't let me select more than one row. Is it simply not possible to do so?
TIA,
Ri
It should ask for a particular child just once, but that is an
implementation detail. You should always return the same item, and not
a new item. It sounds like you expect the outlineview to retain the
objects; however, it does not. You have to manage them in an array (or
dictionary
Hi,
I am using outline view to display a set of entities, here my problem
is outlineView:child:ofItem: method is getting called more than once
for an item of index X of a particular parent.
As each call to outlineView:child:ofItem: is returns a new child with
different address, in further
to change. The
> code below is the controller object, and is simply controlling the view.
>
> .corbin
>
>
> On Mar 18, 2009, at 4:19 AM, David Yamartino wrote:
>
> Below is the code for "OutlineView" (on your machine in
>> Developer/Examples/AppKit/OutlineV
Below is the code for "OutlineView" (on your machine in
Developer/Examples/AppKit/OutlineView). It presents an expandable view of
everything on your machine from / (root).
How would I point this app to look at a specific folder (say "Library")
located on the desktop?
I&
Below is the code for "OutlineView" (on your machine in
Developer/Examples/AppKit/OutlineView). It presents an expandable
view of
everything on your machine from / (root).
How would I point this app to look at a specific folder (say
"Library")
located on the desktop?
Below is the code for "OutlineView" (on your machine in
Developer/Examples/AppKit/OutlineView). It presents an expandable view of
everything on your machine from / (root).
How would I point this app to look at a specific folder (say "Library")
located on the desktop?
I
On Feb 27, 2009, at 9:18 AM, Jerry Krinock wrote:
On 2009 Feb 26, at 23:39, Stuart Malin wrote:
BOOL isViewInFocus = self controlView] window] firstResponder]
isEqual:[self controlView]];
Is there perhaps a better way to determine if a view is "key" ?
No, but I believe you should al
On 2009 Feb 26, at 23:39, Stuart Malin wrote:
BOOL isViewInFocus = self controlView] window] firstResponder]
isEqual:[self controlView]];
Is there perhaps a better way to determine if a view is "key" ?
No, but I believe you should also check that the control view's window
-isKeyWindo
Well "focus" does have a meaning (see -[NSView lockFocus]), but I
figured you didn't mean that here.
It sounds like you want to subclass NSOutlineView and override
-resignFirstResponder.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.c
Is there perhaps a better way to determine if a view is "key" ?
~~~
What my post concerned is that when some other view becomes key from
the OutlineView having been key, the OV delegate receives a
outlineView:willDisplayCell:forTableColumn:item: message -- but only
for an item t
What is "focus"? Do you mean when the outline view becomes key, or
when the window becomes key, or something else?
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
o a TableColumn of an OutlineView.
My delegate for the OV implements willDisplay:cell: I need to
redisplay all cells when the OV loses or gains focus, but this
method seems only to be called for the highlighted row. Is there
some property I need to activate for the OV so that all visible
I have a custom cell attached to a TableColumn of an OutlineView. My
delegate for the OV implements willDisplay:cell: I need to redisplay
all cells when the OV loses or gains focus, but this method seems only
to be called for the highlighted row. Is there some property I need to
activate
I have a data model that is bound to a TreeController. The
TreeController manages an OutlineView.
When I first implemented this, I bound the TableColumn backing the
OutlineView to the TreeController (the TableColumn's Value property to
the TreeController's arrangedObjects with a
On Feb 24, 2009, at 11:48 AM, Corbin Dunn wrote:
I've just published a blog that has screen shots of these states:
http://stuartmalin.blogspot.com/2009/02/troubles-with-cocoa-custom.html
Your table column's width is changing automatically (because you
have setAutoresizesOutlineColumn:YES),
I've just published a blog that has screen shots of these states:
http://stuartmalin.blogspot.com/2009/02/troubles-with-cocoa-
custom.html
Your table column's width is changing automatically (because you have
setAutoresizesOutlineColumn:YES), but your view is set to not show
horizontal s
the borders for all cells (level 0
and level 1) are no longer visible on the right side.
c) the OutlineView is in a splitter. If I move the splitter to expand
the outline view's width, when I release, the right side of the cell
borders are all visible (both level 0 and level 1 items), and a
On Feb 24, 2009, at 12:38 PM, Stuart Malin wrote:
I have been reading various blogs, tried to search CocoaBuilder, and
have ben looking at the code in Apple's PhotoSearch sample, but am
not clear about the best way to handle this situation:
I have an NSOutlineView for which I have set a cu
I have been reading various blogs, tried to search CocoaBuilder, and
have ben looking at the code in Apple's PhotoSearch sample, but am not
clear about the best way to handle this situation:
I have an NSOutlineView for which I have set a custom cell (sub class
of NSTextViewCell) in order to
seen on the left in a single-column NSOutlineView, while the
files display on the right in an NSTableView.
I use bindings with an NSTreeController as a data source for my OutlineView,
as follows :
• OutlineView.content = bound to => TreeController.arrangedObjects
and
• Tree
r as a data source for my OutlineView,
as follows :
• OutlineView.content = bound to => TreeController.arrangedObjects
and
• TreeController.contentArray = bound to =>
ImportModule.currentPlugin.children
Just to be clear about the latter, "ImportModule" is an object
The only solution I can see is to go through all items in the
OutlineView and record which of them are expanded or not, and record
the curent selection. Then call [TreeController fetch], and then go
through the items again, reexpanding and reselecting if necessary.
This means that using CoreDat
Hi Peter,
I only skimmed through your description/question, but I'm reasonable
sure I know what you're asking and what the answer is.
The outlineView identifies its items by pointer comparison. So two
objects that are logically the same can show up in the tree together,
but the
Hi,
After upgrading to 10.5.6, I got a problem with NSOutlineView and
NSTreeController in my CoreData application. When executing fetch: on
the NSTreeController, deeply nested items (nesting level>=2) collapses
in the NSOutlineView.
I created a minimal XCode project with the same problem,
You're probably going to have to display an image in an outlineview
cell. Start by looking at ImageAndTextCell in the DragNDropOutlineView
Developer example
The alternative is to place NSAttributedStrings that have images
imbedded in the outlineview. But I could never get the formatti
entries in an outlineView group. Documentation?
Thanks. I'm not sure what to search for ...
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-a
Thanks for the help.
I would like to display the small blue circle and associated numbers that
refer to the amount of entries in an outlineView group. Documentation?
Thanks. I'm not sure what to search for ...
v.
___
Cocoa-dev mailing list (Coco
Thank you Quincey,
Very nice explanation i'll adjust my code.
Sandro Noel.
On 17-Nov-08, at 6:45 PM, Quincey Morris wrote:
On Nov 17, 2008, at 13:51, Sandro Noel wrote:
I cant seem to get my data to display properly in the Outline View,
and i am sure it is because of the organisation of my
On Nov 17, 2008, at 13:51, Sandro Noel wrote:
I cant seem to get my data to display properly in the Outline View,
and i am sure it is because of the organisation of my data
See here:
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSTreeController_Cla
Greetings!
Once again, I am faced with a problem :)
I cant seem to get my data to display properly in the Outline View,
and i am sure it is because of the organisation of my data that it
does not display
so I'm asking you guy's to sugest some ideas.
I have an array of Dictionaries the dict
ove in a particular cell of an outlineView
I'd be grateful is someone could push me in the right direction.
Sure,
http://developer.apple.com/samplecode/PhotoSearch/index.html
-corbin
kiran Sanka
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
w:inView];
}
But when mouse roll over to discEjectImage i would like set another
image like finder EjectImage.But i dont know how to work out with
mouseEntered and mouseMove in a particular cell of an outlineView
I'd be grateful is someone could push me in the right direction.
i would like set another
image like finder EjectImage.But i dont know how to work out with
mouseEntered and mouseMove in a particular cell of an outlineView
I'd be grateful is someone could push me in the right direction.
kiran Sanka
___
Coco
On 7/17/08 3:58 PM, Jonathan Dann said:
>Yeah come to think of it I saw this behaviour when adopting the
>mediator pattern in my app. In the NSPersistentDoc tutorial you can
>create a Dept. object just using NSObjectController, then bind your
>array contorller's contentSet binding to the object c
ww.rogue-research.com/vtk/TreeTest.zip>
It's a master-detail interface. The master is a tableview/
arraycontroller on the left, the detail is an outlineview/
treecontroller
on the right. The treecontroller's 'contentSet' binding is bound to
'arrayController.selection.
to illustrate:
<http://www.rogue-research.com/vtk/TreeTest.zip>
It's a master-detail interface. The master is a tableview/
arraycontroller on the left, the detail is an outlineview/treecontroller
on the right. The treecontroller's 'contentSet' binding is bound to
'array
data and non-
core data apps.
http://espresso-served-here.com
HTH
Jon
On 15 Jul 2008, at 22:59, "Sean McBride" <[EMAIL PROTECTED]>
wrote:
Hi all,
I have an outlineview populated by binding to a treecontroller. It
displays CoreData entities of type "Person&
Hi all,
I have an outlineview populated by binding to a treecontroller. It
displays CoreData entities of type "Person". "Person" has 'parent' and
'children' relationships. Displaying everything works fine.
Now the outlineview must support dro
Is there a document which describes how columns interact with enclosed cells
when dealing with bindings?
There's a message flow going on that I'm not aware of. setObjectValue is
passed different things for the same binding depending on if my class
subclasses NSTextFieldCell or NSButtonCell. I don'
On Thu, May 15, 2008 at 1:39 PM, David <[EMAIL PROTECTED]> wrote:
> I do not understand how the column in the NSOutlineView knows how to set the
> property to the cell. How are the cell and column related? How do they
> interact?
You bind the value of the column to a property, and then the column
I'm trying to have a hierarchical set of choices with a checkbox next to
each one. How can I best set this up?
My current thinking was to try and create a NSButtonCell subclass which
would act like a NSTextCell in that setting its value would set its title,
but I'd parse the string which is encoded
Hi everybody,
I am stuck with a (maybe trivial) problem, but I did not find a
solution suitable for my case in the old messages and on the net.
My situation is this: I want to use a custom button cell inside an
OutlineView to add some color and text to the basic checkbox and draw
a set of
I have an OutlineView bound to an NSTreeController. I would like to
set the selected row of the OutlineView at the applications launch to
the second row. It defaults to the first. I have tried many
combination of the code below to no avail. If I trigger the code from
a button it works just fine
HI,
Long time ago I posted the same problem, but I can't still fix this
yet. So I need your help.
Phenomenon:
Outline view draws gray bezeled box as a background of each cell on
Leopard.
But the view doesn't draw the box on Tiger.
My environment:
Xcode 3.0
IB 3.0, but the nib file is form
76 matches
Mail list logo