Re: NSTextFieldCell multi-line

2010-11-09 Thread Micha Fuhrmann
clippings, and the strange thing if as soon as I'm clicking on any cell, everything comes back to good order. Any help appreciated, Michael On 8 nov. 2010, at 20:32, jonat...@mugginsoft.com wrote: On 8 Nov 2010, at 08:55, Micha Fuhrmann wrote: Dear All, I'm stuck here and it seems so

NSTextFieldCell multi-line

2010-11-08 Thread Micha Fuhrmann
Dear All, I'm stuck here and it seems so trivial... I'm using NSTextFieldCell in a tableview and when the text takes the whole cell, the cell size doesn't resize and add a line (which I would expect!!!). Setting the text properties in NSCell doesn't cut it either. So I've tried using -

IKImageBrowserView out drag drop with NSData

2009-12-07 Thread Micha Fuhrmann
Hi everyone, I'm using an IKImageBrowserView with data rep IKImageBrowserNSDataRepresentationType. I'm using - (NSUInteger) imageBrowser:(IKImageBrowserView *)aBrowser writeItemsAtIndexes:(NSIndexSet *) itemIndexes toPasteboard: (NSPasteboard *)pasteboard and filling the pasteboard with

IKImageBrowserView DD with IKImageBrowserNSDataRepresentationType

2009-12-04 Thread Micha Fuhrmann
Dear All, Im using a IKImageBrowserView and trying to implement DD. The image object I'm using is of IKImageBrowserNSDataRepresentationType. If I use IKImageBrowserPathRepresentationType DD works fine. But with IKImageBrowserNSDataRepresentationType none of the delegates methods gets called:

Re: IKImageBrowserView DD with IKImageBrowserNSDataRepresentationType

2009-12-04 Thread Micha Fuhrmann
*) itemIndexes toPasteboard:(NSPasteboard *)pasteboard; if into: there should be no difference between IKImageBrowserNSDataRepresentationType and IKImageBrowserPathRepresentationType. --Thomas On Dec 4, 2009, at 2:41 PM, Micha Fuhrmann wrote: Dear All, Im using a IKImageBrowserView

Re: IKImageBrowserView DD with IKImageBrowserNSDataRepresentationType

2009-12-04 Thread Micha Fuhrmann
, at 3:44 PM, Micha Fuhrmann wrote: Ha yes, I'm doing a from only. Now I've filled the pasteboard with my NSData objects for NSFilesPromisePboardType. Which methods should I implement if I don't want any drops enabled within the image browser but only to the finder? Any direction

[NSCachedImageRep release]

2009-07-08 Thread Micha Fuhrmann
Hi there, I'm experiencing an extremely frustrating bug. I've got a NSImageCell in a tableview which points to binded to a method returning an NSImage. The image is returned via NSImage imageNamed. As the table is populated and depopulated I get [NSCachedImageRep release]: message sent

Re: Doc kind from extension

2009-06-12 Thread Micha Fuhrmann
that exists somewhere? Michael On 11 juin 09, at 16:09, Graham Cox wrote: On 11/06/2009, at 11:50 PM, Micha Fuhrmann wrote: Anyone knows how to get the system doc kind from a given extension. Not from a file, or a file path for that matter, but just from an extension. Like giving pdf

Doc kind from extension

2009-06-11 Thread Micha Fuhrmann
Anyone knows how to get the system doc kind from a given extension. Not from a file, or a file path for that matter, but just from an extension. Like giving pdf and receiving Portable Document Format (PDF). I've tried NSString * theTest = [[NSDocumentController sharedDocumentController]

Re: Doc kind from extension

2009-06-11 Thread Micha Fuhrmann
Unfortunately all I can feed it with is the file extension Any other idea? Isn't there a mapping plist between extension and Kind that exists somewhere? Michael On 11 juin 09, at 16:09, Graham Cox wrote: On 11/06/2009, at 11:50 PM, Micha Fuhrmann wrote: Anyone knows how to get

Outlets not allocated

2009-06-10 Thread Micha Fuhrmann
Hi there, It's been hours and really I don't get it. I've got a custom NSWindowController class. I'm loading it with a Nib. That Nib contains a window and text fields in it all linked through outlets to my NSWindowController class. When I allocate and initiate the window appears fine,

Re: Outlets not allocated

2009-06-10 Thread Micha Fuhrmann
+rajendran_pichaimurthy=mcafee@lists.apple.com [mailto:cocoa-dev-bounces+rajendran_pichaimurthy=mcafee@lists.apple.com ] On Behalf Of Micha Fuhrmann Sent: Wednesday, June 10, 2009 9:40 PM To: Cocoa List Subject: Outlets not allocated Hi there, It's been hours and really I don't get it. I've got a custom

Re: KVC and @ as key

2009-04-15 Thread Micha Fuhrmann
Thanks, that worked great. On 15 avr. 09, at 12:39, Jeremy W. Sherman wrote: Hi Micha, -[NSDictionary objectForKey:] has no such problems. You can use that to grab the values of keys beginning with an at sign instead of -valueForKey:. —Jeremy On Wed, Apr 15, 2009 at 12:19 AM, Micha Fuhrmann

KVC and @ as key

2009-04-14 Thread Micha Fuhrmann
Hi there, I'm bumping against KVC, indirectly. I've got a dictionary with first character keys, each object of the key is an Array with objects. So key b of my Dictionary is an array with file objects' name starting with the letter b. The problem comes up when users have file names

Re: KVC and @ as key

2009-04-14 Thread Micha Fuhrmann
Thanks for responding, no that does not cut it. Michael On 15 avr. 09, at 12:24, Jeffrey Oleander wrote: --- On Tue, 4/14/09, Micha Fuhrmann mic...@mac.com wrote: From: Micha Fuhrmann mic...@mac.com Subject: KVC and @ as key To: cocoa-dev Users Cocoa-dev@lists.apple.com Date: Tuesday

Need a code doctor

2008-07-02 Thread Micha Fuhrmann
Dear all, after 2 years of objective-c/Cocoa programming I feel I need to see a code doctor. One of the app we publish is now widely used and I feel it needs a serious screening. I have learned from scratch, with no prior programming experience. I think 2 days would do. I live in Geneva,

initWithFrame deosn't get called

2008-06-30 Thread Micha Fuhrmann
Hi everyone, I'm trying to registerForDraggedTypes a NSMatrix subclass that's used in a NSBrowser. When I override init or initWithFrame in my Matrix class in manner to include registerForDraggedTypes none of the two methods get called. [Browser setMatrixClass:[BrowserMatrixView class]];

NSBroswer Column highlight

2008-06-30 Thread Micha Fuhrmann
I'm implementing DnD in an NSBrowser for 10.4. The Problem I have is to enable the Column selection (Blue line around the column), to show to the user that the drag-in is indeed working + its destination. I'm thinking in the line of using – draggingUpdated from my NSMatrix subclass used in

DnD in NSMatrix

2008-06-29 Thread Micha Fuhrmann
Dear all, I'm subclassing NSMatrix to enable DnD in a 10.4 NSBrowser. The dragout is fine, but I'm having trouble registering for drag ins. From my understanding I need to need to call -registerForDraggedTypes: in the NSMatrix's -initWithFrame: subclass method The trouble is I cannot

DnD for NSBrowser in 10.4

2008-06-28 Thread Micha Fuhrmann
Dear all, does anyone know some ready to use NSMatrix subclass code that incorporates DnD? Michael ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Enter key down

2008-05-29 Thread Micha Fuhrmann
Hi there! It must be simple, it has to be simple... But I can't figure out where to start... I'm simply trying to catch the Enter key down event from a text view. Any help appreciated. Michael ___ Cocoa-dev mailing list

NSApp with wrong _running count

2008-05-20 Thread Micha Fuhrmann
Hi everyone, some users are reporting a crash at start. From the logs it seems that the sys is recognizing multiple running of the app, but from there I have no clue as to how to remedy. Any help greatly appreciated. Michael Process: TheApp [354] Path:

Re: NSApp with wrong _running count

2008-05-20 Thread Micha Fuhrmann
Andrew, many thanks, now, what else can I use that's thread safe for that matter? Michael On 20 mai 08, at 13:30, Andrew Farmer wrote: On 20 May 08, at 04:07, Micha Fuhrmann wrote: some users are reporting a crash at start. From the logs it seems that the sys is recognizing multiple

Re: NSURLConnection doesn't post

2008-04-11 Thread Micha Fuhrmann
to have to be creative here... On 10 avr. 08, at 18:34, Tom Harrington wrote: On Thu, Apr 10, 2008 at 6:27 AM, Micha Fuhrmann [EMAIL PROTECTED] wrote: Now if I place a button on my interface and call test everything is fine, the post is submitted and the delegate method is called. Suffice I

Re: NSURLConnection doesn't post

2008-04-11 Thread Micha Fuhrmann
terminate? Either one will cause issues for NSURLConnections. On Apr 10, 2008, at 7:27 AM, Micha Fuhrmann wrote: Hi there, I'm running into a problem with NSURLConnection and I can't solve it, any help greatly appreciated. in my main (Shared Instance) class i have the following code to post

NSURLConnection doesn't post

2008-04-10 Thread Micha Fuhrmann
Hi there, I'm running into a problem with NSURLConnection and I can't solve it, any help greatly appreciated. in my main (Shared Instance) class i have the following code to post crash logs: - (IBAction)test:(id)sender{ [self sendLogs]; } - (void)sendLogs {

Re: NSURLConnection doesn't post

2008-04-10 Thread Micha Fuhrmann
)? On Apr 10, 2008, at 6:27 AM, Micha Fuhrmann wrote: Now if I place a button on my interface and call test everything is fine, the post is submitted and the delegate method is called. Suffice I call the test method from another class and nothing gets posted (break points show me

Re: NSURLConnection doesn't post

2008-04-10 Thread Micha Fuhrmann
:27 AM, Micha Fuhrmann wrote: - (void)connection:(NSURLConnection *)connection didReceiveData: (NSData *)data { NSString* thhhe = [[NSString alloc]initWithData:data encoding:NSASCIIStringEncoding]; } ___ Cocoa-dev mailing list (Cocoa-dev