Re: Embedding resources in Static Cocoa Library

2012-10-07 Thread Simone Tellini
Il giorno 08/ott/2012, alle ore 04:23, Alexander Bokovikov ha scritto: > As a result, you'll have the address of the embedded information in the eax > register. I.e. you just need to create the function declaration like this one: > > (void *) myFunc(void); > > and call it. Hope this code i

Re: Embedding resources in Static Cocoa Library

2012-10-07 Thread Alexander Bokovikov
On Oct 7, 2012, at 1:00 AM, koko wrote: > I want to make a static cocoa library that is an NSTableView and allots data > is contained in the library. > I want images in the rows of the table. > Where would one get these images as their is no bundle where that can be > stored? > Or the question

Re: Embedding resources in Static Cocoa Library

2012-10-07 Thread Alexander Bokovikov
On Oct 7, 2012, at 1:00 AM, koko wrote: > I want to make a static cocoa library that is an NSTableView and allots data > is contained in the library. > I want images in the rows of the table. > Where would one get these images as their is no bundle where that can be > stored? > Or the question

Re: NSTextFieldCell assertion failure messages?

2012-10-07 Thread Quincey Morris
On Oct 7, 2012, at 14:18 , Erik Stainsby wrote: >cellView.textField.stringValue = @" "; >[cellView.textField bind:@"stringValue" toObject:person > withKeyPath:[tableColumn identifier] options:nil]; There are several wrong or code-smelly things here: -- Why on earth set the string to a

NSTextFieldCell assertion failure messages?

2012-10-07 Thread Erik Stainsby
Can anyone tell me what I ought to be doing in response to the following message? *** Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:], /SourceCache/AppKit/AppKit-1187.34/AppKit.subproj/NSCell.m:1532 This is cropping up in a table delegate/datasource when I bi

Size limit on .icns files containing 1024x1024 version in 10.5?

2012-10-07 Thread Andrew Madsen
I'm trying to create a retina ready version of my application's icon. The application targets 10.5+. I'm using Uli Kusterer's oldiconutil (https://github.com/uliwitness/oldiconutil) to post process the .icns file I make from a .iconset using iconutil on 10.8. The problem is that if I include a