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:
http://groups.google.com/group/cocoaheads-amsterdam/web/next-meeting-wednesda
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:
http://groups.google.com/group/cocoaheads-amsterdam/web/next-mee
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
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 be
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
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
___
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 G
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:
http://groups.google.com/group/cocoaheads-amste
Runpath Search Paths and I still get the
errors shown.
Joseph Crawford
On Jan 12, 2009, at 6:47 PM, Cathy Shive wrote:
Hi Brandon,
I recently struggled with this issue (with not too much Xcode/gcc
experience) and I found that the @rpath gives very flexible results.
In the framework pro
BWToolkit is an IB 3 Plugin and framework, so I'm just assuming his
users are using 10.5 and the latest Xcode.
On Jan 13, 2009, at 1:03 AM, Joseph Crawford wrote:
from what i have read @rpath is 10.5 ONLY
On Jan 12, 2009, at 6:47 PM, Cathy Shive wrote:
Hi Brandon,
I recently stru
Hi Brandon,
I recently struggled with this issue (with not too much Xcode/gcc
experience) and I found that the @rpath gives very flexible results.
In the framework project, I set the 'Installation Directory' build
setting for the frarmework's target to @rpath.
Any project that links the f
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
On Nov 6, 2008, at 8:50 AM, Tomaž Kragelj wrote:
It looked so trivial at the start, but didn't work as expected - my
single window application uses the following setup:
- MainMenu.nib: my AppController and all the NSArrayControllers with
bindings set properly so when an item is selected in
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
talkin
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, indee
On Nov 4, 2008, at 1:27 PM, Ken Tozier wrote:
The reason I think this might be possible through bindings, is that
other bound fields in the table have values specific to their
associated page. For example, pages also have a status string,
indicating whether stories need trims, are missing p
way to set this up just through bindings?
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
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 selection
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:
http://maps.google.com/maps?f=q&hl=en&geocode=&q=Hasebroekstraat+10-12
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-rela
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 at
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
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 diffe
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
Hi Jerry,
NSViewController is a subclass of NSResponder, but there is nothing
provided in Cocoa that automatically includes the View Controllers in
your appliation's window's Responder Chain. You won't find any
documentation that will show you how NSViewController is included in
the Resp
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 you
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 NSVie
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?
[windowController
If you're targeting Leopard, there is an NSTableView method you can
override for this (a public one!)
-(void)highlightSelectionInClipRect:(NSRect)theClipRect
You have to actually draw the highlights, it's not simply a matter of
setting the color. If you look at the post Ben linked to, there
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 o
aver wrote:
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 th
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 same
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 not
Hi Ivan,
If you want all of the table views in your app to have the same special
color scheme, the most reliable way to do this is by adding a category to
NSColor and overriding the class method:
+ (NSArray *)controlAlternatingRowBackgroundColors;
to return an array containing the two colors you
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 implemen
, 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
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.
Explor
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 lis
e solution 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
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 real
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 method
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 seems
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 dea
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 consi
Hi,
My strategy is similar to yours, but it doesn't have to result in
spaghetti code. I have a view controller class that contains a list
of sub-viewcontrollers. What I end up with is a structure that does
in fact resemble the actual view hierarchy.
The tricky part is breaking down your
45 matches
Mail list logo