Troubles with CollectionView and IKImageBrowserView

2008-06-11 Thread Manuel
Hello Macprogrammers I've a problem with my IKImageBrowser in combination with a CollectionViewItem. I have a NSWindow with a NSCollectionView and a NSArrayController. I extended the NSCollectionViewItem to reference the IKImageBrowserView in an outlet and use the NSCollectionViewItem as

Re: Troubles with CollectionView and IKImageBrowserView

2008-06-11 Thread Manuel
view with less magic..;-) Manu On Jun 12, 2008, at 00:25 , Jens Alfke wrote: On 11 Jun '08, at 1:14 PM, Manuel wrote: But the IKImageBrowserView doesn't call these methods. I setup a testmethod in the MYNSCollectionViewItem like the following code, to verify that the imagebrowse

Re: Troubles with CollectionView and IKImageBrowserView

2008-06-12 Thread Manuel
Thank you for your tips! But I didn't understand everything. Do you tried this in a sampleproject which you can send me? If I initialize the imageBrowser in my MYNSCollectionViewItem and set the datasource, the datasource methods will now be called correctly. Thank you. But it seems that th

Display NSTextView as Label - without InterfaceBuilder

2009-04-12 Thread Manuel
Hello I would like to draw an NSTextField to an NSView but it should be displayed as a label. In InterfaceBuilder it is no problem but how can I do that in sourcecode? With this code it doesn't work. It is still displayed as a Textfield. NSTextField *label = [[NSTextField alloc] init]; [la

singleton pattern in cocoa

2009-09-14 Thread Manuel Grau
Hi all, As I come from java world, I was trying to implement the singleton pattern, very usual in java. After searching in internet I found this code from wikipedia: @interface MySingleton : NSObject { } + (MySingleton *)sharedSingleton; @end @implementation MySingleton static MySingleto

very newbie question

2009-10-01 Thread Manuel Grau
Hi. I'm a very newbie iphone and cocoa developer coming from j2ee world. I'm creating an application with four screens using a TabBar. The fourth view has a button wich uses UITextfields values from all the views to calculate something ans show the result in a UITextfield in the fourth view

Unexpected mouse-handling behaviour

2009-02-22 Thread Manuel Meyer
the mouse was moved to another or to no NodeView. What is my mistake? Here is my code: http://paste.lisp.org/display/75958 Thanks for your help, Manuel ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Unexpected mouse-handling behaviour

2009-02-23 Thread Manuel Meyer
de and end node are guaranteed to have the same VSGraphView as their superview, it seems to me your code should still work, since that superview will still get the setEndPoint message. --Andy On Feb 22, 2009, at 9:21 AM, Manuel Meyer wrote: Hey, I just started to learn obj-c/Cocoa. A

Converting a large project to GC

2011-05-04 Thread Joao Manuel Da Silva Neves
Apple's documentation states: "The process of migrating a large project that uses reference counting can be difficult and error-prone—some patterns that work correctly with manual memory management will be incorrect after translation. In general, it is recommended that you use garbage collection