Hi all,
I am trying to make a user interface in which there is a view that
contains multiple subviews, one of which is an NSTextView. The parent
view should be embedded in an NSScrollView. The idea is that when the
NSTextView is typed in, and possibly resizes as a consequence, it's
parent
Hi Ross,
Thanks for your reply,
On Sep 09, 2009, at 13:15, Ross Carter wrote:
I've googled for a solution, found nothing. I tried making it by
observing the NSViewFrameChangedNotification of the NSTextView from
it's parent, and resizing, but this is more tricky then I imagined.
I think yo
Hi all,
I've made an NSActionCell subclass for indicating the priority of an
object, similar to the rating column in iTunes. The visual aspects of
it are working fine, as well as displaying the correct priority for
table rows that have a priority value set.
The problem is setting the new
On Sep 10, 2009, at 09:40, BareFeet wrote:
Hi Florijan,
I've made an NSActionCell subclass for indicating the priority of
an object, similar to the rating column in iTunes. The visual
aspects of it are working fine, as well as displaying the correct
priority for table rows that have a pr
Darren,
On Sep 14, 2009, at 09:11, Darren Wheatley wrote:
Hi,
I'm learning Cocoa / Objective-C. Right now I'm trying to build a
simple Core Data application.
I've built a helper app to read in CSV and populate an XML core data
store. That works fine.
I have seen lots of examples of bin
On Sep 11, 2009, at 13:36, Ross Carter wrote:
It looks like you instantiate the NSTextView in the nib. I would
start by setting up the NSTextView manually and adding it as a
subview to your FSEmbeddedTextView2 instance. Make sure that the
textView has its resizing behavior set up correctly
Hi all,
I have been experiencing an error in my app that does not make
sense... Here is the situation:
A CoreData app. I have a table and one of it's columns' value bound to
an array controller's "arrangedObjects.group.title". The controller
contains objects of the Note entity. Note relat
On Sep 29, 2009, at 17:37, Bryan Matteson wrote:
Cannot remove an observer for the key path
"group.name" from , most likely because the value
for the key "group" has changed without an appropriate KVO
notification being sent. Check the KVO-compliance of the FSNote
class.
Means exactly
On Sep 29, 2009, at 19:21, Quincey Morris wrote:
On Sep 29, 2009, at 15:27, Stamenkovic Florijan wrote:
// the group dragged to
NSManagedObject* group = [((NSTreeNode*)proposedParentItem)
representedObject];
// the URIs of Notes being
On Sep 30, 2009, at 10:22, Bryan Matteson wrote:
I'm going to take a stab in the dark and predict that you *don't*
have "rearranges content automatically" checked for the array
controller,
I do.
and that checking it will cause the error message to go away.
It does not.
Try uncheckin
On Sep 30, 2009, at 10:36, Bryan Matteson wrote:
May also want to look at this.
http://www.mail-archive.com/cocoa-dev@lists.apple.com/msg31802.html
It seems to be very possible that it may be a bug, but it's also a
common coding mistake as well.
Hope it works itself out.
Bryan,
I looked
On Sep 30, 2009, at 12:32, Joshua Garnham wrote:
I have an Array of strings and want to remove CalTasks with titles
of any of the strings.
I know I can loop through a array with
for(NSString *title in array) {
}
and delete tasks with
removeTask:title error:nil
But it won't let me delete a
Especially with the NSPredicate.
From: Stamenkovic Florijan
To: Joshua Garnham
Cc: cocoa-dev@lists.apple.com
Sent: Wednesday, 30 September, 2009 20:24:59
Subject: Re: Deleting CalTasks through an Array.
On Sep 30, 2009, at 12:32, Joshua Garnham wrote:
> I have an Array of strings and want
On Sep 30, 2009, at 20:58, Rick Mann wrote:
On Sep 30, 2009, at 16:22:45, Rick Mann wrote:
I'm looking at ways of grouping some Core Data objects in a outline
view. What I have are 3 or 4 different entities, and I want each of
the objects of each type to appear under a parent item in the
Martin,
I am actually working on an identical app (as far as your description
goes), as a way of learning CoreData, but also to have something to
organize my todos and reminders in...
I am dealing with the same problem you describe below, though I took a
slightly different approach. I bin
Hi all,
The documentation does not discuss this as all, as far as I have
looked through it. Googling brings up nothing. So I am wondering: is
anyone doing this? Any caveats?
I can live without it, but it would make what I am doing easier if I
could subclass it.
TIA,
F
__
On Oct 02, 2009, at 12:17, Nick Zitzmann wrote:
On Oct 2, 2009, at 10:08 AM, Stamenkovic Florijan wrote:
The documentation does not discuss this as all, as far as I have
looked through it. Googling brings up nothing. So I am wondering:
is anyone doing this? Any caveats?
With a few
Jim,
An interesting situation. I do not have anything definitive, but just
some ideas and comments
On Oct 05, 2009, at 09:10, Jim Thomason wrote:
-(void) createOrder {
int highOrderIndex = [self getHighestIndexSomeHow];
[self setValue:[NSNumber numberWithInt:highOrderIndex]
forKey:@
On Oct 05, 2009, at 13:08, Volker in Lists wrote:
so you seemed to have populated the array controller in a non KVO
way... but still, w/o code not to be discussed.
I think that is the problem. If you bind the content of an
NSArrayController to someObject.variable, then the controller will b
On Oct 05, 2009, at 14:05, Kyle Sluder wrote:
On Mon, Oct 5, 2009 at 10:39 AM, David Hirsch wrote:
NSArrayController has things like insert: or add:
Okay... not sure what that has to do with anything.
NSArrayController's content is usually bound to an ordered property
(itself often an NSArr
On Oct 05, 2009, at 19:44, Mario KuĆĄnjer wrote:
Hello to the list !
Request for help regarding a little problem.
So I have this piece of code:
- (IBAction)addNewItem:(id)sender
{
if ([lsOutlineView selectedRow] < 0)
{
[sourceListLevelZero addObject:[Parent new]
On Oct 15, 2009, at 13:39, Mazen Abdel-Rahman wrote:
Hi All,
I am new at programming with Cocoa - so I had a basic question.
Is it possible to create a capsule style toolbar with a search field
in it (like how Mail's toolbar is) just using interface building to
create the UI? And if so
Hi Matthew,
On Oct 19, 2009, at 07:08, Matthew Lindfield Seager wrote:
As discussed previously on this list I am using the data source
methods of
NSOutlineView to display the contents of two separate
NSArrayControllers.
When an item is selected I use outlineViewSelectionDidChange: to
manua
On Oct 19, 2009, at 07:59, Matthew Lindfield Seager wrote:
2009/10/19 Stamenkovic Florijan
I think so... When binding the enabled state of a toolbar item you
need to make sure that the item does not autovalidate. The
"Autovalidates" checkbox can be found in the attributes pa
Hi Marc,
On Oct 20, 2009, at 16:11, Marc Rink wrote:
Heyas,
I am quite new to Objective-C (and to some extend to OO concepts as
well), so please be gentle with me :)
I have a core data based document application that purpose is to
access a mysql database (i am using the MCP Kit).
The doc
On Oct 22, 2009, at 15:46, Marc Rink wrote:
This means i need the ObjectController in every view i want to have
access to the connection parameters.
Yep, that seems right.
However, i am now troubling around: I set the value Binding of the
Textfield to the object Controllers.selection. in
On Oct 24, 2009, at 08:42, Zephyroth Akash wrote:
I'm creating a view containing different subviews programmatically.
Like this:
1 - NSOutlineView
2 - NSView
3 - NSView
This tells almost nothing to the list. Post code.
Added according to the choice made in NSOutlineView:
4 - NSView
5 - NS
On Oct 24, 2009, at 10:04, Timothy Reaves wrote:
What is the correct way to size this? I have it added, and it's
used. But by default, it doesn't size to hold it's content. I can
set he width of the table column to a better width, but I can't seem
to find how to size the height.
Is
Hi all,
I am experimenting with custom shaped NSWindows, that I draw into
using NSBezierPath. Generally all is good, but there is a small
problem. If the edge of the window is defined by a curve that is
antialiased, then the shadow is drawn at the first outside pixel that
is not drawn int
Hi all,
Maybe this has been answered before, if so I am sorry to pollute. I've
googled the archives, looked through CocoaDev, went through the
documentation, and was not able to figure this out. Also I must say
that I am a complete beginner in Cocoa. I just finished Aaron
Hillegass's book
Graham, Jason,
Thanks for your replies.
What I want: a listout of items, each of which presents info and a
number of controls. Typical example: Safari's downloads window.
...
Any pointers to documentation on how to deal with this would be
very appreciated. Perhaps I am simply using the wr
Hi all,
I am trying to figure out how to properly accomplish the following,
and after reading docs, references and googling, I am still stuck. Any
help appreciated:
1. Have an NSPopUp, "Contents" and "Content values" bound to an
NSArrayController's "arrangedObjects" and "arrangedObjects.
On May 26, 2009, at 16:55, Stamenkovic Florijan wrote:
Hi all,
I am trying to figure out how to properly accomplish the following,
and after reading docs, references and googling, I am still stuck.
Any help appreciated:
1. Have an NSPopUp, "Contents" and "Content valu
33 matches
Mail list logo