[Meet] Amsterdam CocoaHeads

2010-03-10 Thread Cathy Shive
Hi! The Amsterdam CocoaHeads group will be meeting tonight, March 10, from 7-9PM. Klass Pieter Annema will be presenting Cappuccino and Objective-J. http://cappuccino.org/ Directions and other info can be found here:

[MEET] Amsterdam CocoaHeads - Wednesday, Feb 10 7-9PM

2010-02-08 Thread Cathy Shive
Hello, The next meeting of the Amsterdam CocoaHeads group will be this Wednesday, February 10 from 7-9PM. This month, Martijn Walraven will present MacRuby. More information and directions can be found on the GoogleGroup page:

[MEET] Amsterdam CocoaHeads this Wednesday (Jan 13th) 7-9PM

2010-01-11 Thread Cathy Shive
Hello Amsterdam CocoaHeads, There will be a meeting this Wednesday, January 13th. More info and a map to the Sofa office can be found on the meeting page. http://groups.google.com/group/cocoaheads-amsterdam/web/next-meeting---wednesday-jan-13?hl=en See you then! Cathy

Re: NSColorPanel flat out lies

2009-05-26 Thread Cathy Shive
Hi Seth, I have a subclass of NSColorWell that broadcasts a ColorWellDidBecomeActive notification on activate:. Objects using the color panel listen for the notification and set some internal flag so that they can either ignore the changeColor message or not depending on which color well

[MEET] Amsterdam CocoaHeads tonight!

2009-05-26 Thread Cathy Shive
Hello! The Amsterdam chapter of CocoaHeads is meeting tonight, May 27, from 7-9 pm. Please join us if you can make it. Tonight's speaker is Klass Pierter Annema, who will talk about the iPhone app he's been developing for Sofa (http://www.madebysofa.com/). Location and other info can

[MEET] Amsterdam CocoaHeads Wed, April 22

2009-04-20 Thread Cathy Shive
Hello, The next meeting of the Amsterdam CocoaHeads will be this Wednesday, April 22 from 7-9PM. Location and presentation info can be found here: http://groups.google.com/group/cocoaheads-amsterdam/browse_thread/thread/4221ef40dbf68e7d?hl=en Hope to see you there! Cathy

[MEET] Amsterdam CocoaHeads - Wed, Feb 11 7PM

2009-02-09 Thread Cathy Shive
Hello Amsterdam CocoaHeads! Our next meeting is this Wednesday, 11 February, from 7 - 9 PM. This month, Austin Sarner will give a presentation on the iPhone's table view - UITableView - and Axel Roest will tell us about his recent CocoaBootcamp training from the Big Nerd Ranch. Visit the

[MEET] Amsterdam CocoaHeads, Wed Jan 14

2009-01-13 Thread Cathy Shive
Hello Cocoa developers in and near Amsterdam! The Amsterdam chapter of CocoaHeads will be meeting again this Wednesday (tomorrow), January 14 from 7-9PM. Information about the location and presentation can be found on our Google Groups page:

[MEET] Amsterdam CocoaHeads - December 10

2008-12-01 Thread Cathy Shive
Hello Cocoa devs! The next meeting of the Amsterdam CocoaHeads will be Wednesday, December 10th from 7-9 PM. Please visit the Google Group page for location and other information: http://groups.google.com/group/cocoaheads-amsterdam/web/meeting-20081210 Hope to see you there! Cathy

Re: Custom view controller

2008-11-05 Thread Cathy Shive
Hi Tom, Setting the view controller as the nib's 'file's owner' won't create the problem. The problem described in the documentation occurs when you have set up bindings between objects in that nib file and the 'file's owner' (your view controller). If you have done this, it could,

Re: Custom view controller

2008-11-05 Thread Cathy Shive
Hi Tom, The design from the posts is identical to the one I use for the non- NSViewController based view controllers that I have to use (for the same reason as you) - so it can still work for you :) The concepts are the same. You just have to deal with the extra issues that you're

Re: Please help. At wit's end binding NSPopupButtonCell selection

2008-11-04 Thread Cathy Shive
? Also, in your snippet, where does anIndex come from? On Nov 4, 2008, at 5:32 AM, Cathy Shive wrote: On Nov 4, 2008, at 10:05 AM, Ken Tozier wrote: What happens is that when I choose an item in one row's popup cell, the selection in every popup in the entire table changes to the new selection

Re: Please help. At wit's end binding NSPopupButtonCell selection

2008-11-04 Thread Cathy Shive
On Nov 4, 2008, at 10:05 AM, Ken Tozier wrote: What happens is that when I choose an item in one row's popup cell, the selection in every popup in the entire table changes to the new selection. Don't forget that there is only one NSPopUpButtonCell per column. If you change it's

[MEET] Amsterdam CocoaHeads Thursday 10/30 7:00pm

2008-10-27 Thread Cathy Shive
The first meeting of CocoaHeads Amsterdam chapter will be this Thursday - October 30th - from 7:00 - 9:00pm. The meeting will be at the Sofa (http://www.madebysofa.com) office: Hasebroekstraat 10-12 1053 CT, Amsterdam Map:

Re: Design Question: Bindings Custom Views

2008-08-28 Thread Cathy Shive
On Aug 28, 2008, at 11:06 AM, Oleg Krupnov wrote: In other words, I need a way to associate additional custom-view-specific properties with model object, without adding them as transitive properties to the model. What is the best way to do this? Or maybe your point is that this is a bad idea

Re: Design Question: Bindings Custom Views

2008-08-28 Thread Cathy Shive
On Aug 28, 2008, at 12:26 PM, Oleg Krupnov wrote: I think there are times when it's appropriate to have wrapper objects - that are view related - for your model objects. In an image browser, it's likely that there is a thumbnail object that draws image objects. Yeah, maybe view-related

Re: NSViewController Binding Problem continued

2008-07-19 Thread Cathy Shive
I haven't yet come across a situation in which it would be desirable for an NSTableView and its associated NSArrayController to be in separate nibs. I guess Apple haven't, either ;) Actually, I would think that it's quite common in apps that use NSViewController. Imagine a view managed by

Re: NSViewController Binding Problem continued

2008-07-18 Thread Cathy Shive
On Jul 17, 2008, at 10:26 PM, Hamish Allan wrote: You might wish to file an enhancement request for NSViewController to provide an init method taking a representedObject to be set up before attempting bindings etc., which would circumvent this issue. I wonder if it would actually make a

Re: Changing views from within another view

2008-07-04 Thread Cathy Shive
Hi Wayne, One way you could do this is to connect the control to the First Responder object in Interface Builder, instead of to the File's Owner. This means that when the action is triggered, it will go to the window's first responder (probably the view at that point), and then move

Re: NSReponder chain and controllers

2008-06-19 Thread Cathy Shive
NSArrayController isn't an NSResponder, so you can't add your subclasses to the responder chain. I think the problem is that you should be using NSWindowController and NSViewControllers to handle menu actions, not NSArrayController. Those objects can be added to the responder chain so

NSViewController and Nib files

2008-05-20 Thread Cathy Shive
Hi, I'm hoping that one of the Cocoa engineers out there can answer a question about NSViewController for me. In the documentation, it states that the view controller will handle memory management for the objects in its nib file. Does this only apply to nib files that are loaded by

Re: Inserting my own Responder before App?

2008-04-23 Thread Cathy Shive
Does your window know about the window controller and vice-versa? It's not clear how you're setting this up from your post, but you might need to tell the window about your window controller subclass: [window setWindowController:windowController]; Or the other way around?

Re: copyWithZone error

2008-04-05 Thread Cathy Shive
Hi Nick, When you return your item to the table column, I believe this is setting the cell's object value to this item. The object value of an NSCell needs to conform to the NSCopyingProtocol. If you implement the method: - (id)copyWithZone:(NSZone *)zone in HDIR to return a copy of the

Re: Modifying the clip view before scrolling.

2008-04-02 Thread Cathy Shive
Hi Peter, NSScroller has the following methods that might help: - (void)trackKnob:(NSEvent *)theEvent - (void)trackScrollButtons:(NSEvent *)theEvent I've never subclassed NSScroller, so can't comment on the havoc that may ensue if you go down this path. NSClipView also receives a

Re: Subviews of a borderless window - autoresizing mask does not work for me

2008-04-02 Thread Cathy Shive
Hi Hendrik, It seems that you're using the correct mask. The documentation states that NSViewMinYMargin would make the bottom margin flexible, which is what you want. I notice that you originally set the frame for the subview at (0, 0). Is this because the subview is originally the

Re: Subviews of a borderless window - autoresizing mask does not work for me

2008-04-02 Thread Cathy Shive
: Whoops, this jogged my memory. For some reason in my last response I thought -setAutoresizingMask specified the pinned margin and not the expanding margin. I'm not sure why... On Apr 2, 2008, at 11:13 AM, Cathy Shive wrote: Hi Hendrik, It seems that you're using the correct mask

Re: Communications between multiple NIB's

2008-03-24 Thread Cathy Shive
Hi, Have you tried using the FirstResponder for this? Add an action to the preferences window's nib's FirstResponder called setWindowBackgroundColor. Then connect the color well to the first responder and connect to that action. If the window controller of the other window implements

Re: NSImage trapezium...

2008-03-23 Thread Cathy Shive
Seriously? You aren't going to be able to distort your bitmap like this with NSImage and there is no ready-made CIFilter to do this distortion that I'm aware of. If I'm wrong about that, then that's the way to go. But, I think you've gotta do your own pixel pushing for this one.

Re: NSImage trapezium...

2008-03-23 Thread Cathy Shive
, 2008, at 8:54 AM, Cathy Shive wrote: On Mar 23, 2008, at 2:14 PM, Luca wrote: Hello. Do you know how can I transform a rectangular image in a trapezium? Seriously? You aren't going to be able to distort your bitmap like this with NSImage and there is no ready-made CIFilter to do

Re: [iPhone] NSTableView and NSIndexPath

2008-03-22 Thread Cathy Shive
Noone's going to answer your question. A general rule of thumb to follow (at least until CocoaTouch SDK is out of beta) - don't ask about any classes whose names don't start with the letters NS or CA on this list. I'm sure that there are exceptions - maybe QT, but generally this list is

Re: Correct use of NSViewController

2008-03-21 Thread Cathy Shive
Yeah, this is something I ran into dealing with the fact that I have several key value observations set up. The way I deal with it is to give my view controller's abstract superclass a -(void) removeObservations method. I set it up to work similarly to how you use the -(void)dealloc

Re: View with sliding rearranging thumbnails

2008-03-21 Thread Cathy Shive
If you need to support 10.4, you've gotta do it yourself the way you described. You don't have to use an OpenGLView, but the animation will suffer if you use Quartz for drawing. It won't have that really snappy, responsive feel that I'm guessing you want. OpenGl's going to give you

Re: Correct use of NSViewController

2008-03-21 Thread Cathy Shive
in a certain way, but it would be easier for us to help each other if we were using the same architecture. Still, pretty interesting :) Cathy On Mar 22, 2008, at 4:31 AM, Steve Weller wrote: On Mar 21, 2008, at 2:31 PM, Cathy Shive wrote: 1, window is about to close (wish there was a more reliable

Re: Correct use of NSViewController

2008-03-20 Thread Cathy Shive
I would do it exactly like you described. Seems to me that your instincts are pretty much on the mark. In your case, the window controller could take care of creating that first main split view, but I would do it in the first level of the view controller controller tree for logical

Re: Correct use of NSViewController

2008-03-20 Thread Cathy Shive
Jonathan, I just wanted to say one more thing. I was re-reading what you had written and I see the problem you're having with setting up the frame for that first split view. The problem isn't just the set up of your view controllers and the order of creating/adding views, you're also

Re: Correct use of NSViewController

2008-03-20 Thread Cathy Shive
Yeah, the document. The window controller and document have a relationship, but this isn't true for the view controllers and the document. Again, this is part of NSViewController's ambiguous role in this whole architecture. I don't really know how this *should* be dealt with. It