[JOB] Mac Software Developer (Cocoa)

2011-11-29 Thread Frank Fenn
Hello group, our Canadian company is in need of an experienced cocoa developer. If you are interested in this position, follow the link below and submit your application. Please mention cocoa-dev as source. summary: Essential Experience and Skills 2+ years experience

Re: Code signature problem

2011-11-29 Thread Don Quixote de la Manvha
I don't know about your framework but a .a file is a static library. Are you sure that you're really linking to it at runtime rather than build time? Perhaps it should be a .dylib for runtime linking, or for build time linking you don't include it in your distribution at all. Sent from my iPh

Code signature problem

2011-11-29 Thread Gideon King
Hi, I'm having a problem with code signatures. My app has about 20 executables in it, all of which I sign using the codesign -f -s command. All of them are signed in exactly the same way, and when I run codesign --verify --verbose, it says they are all valid. When I submit the application to th

Re: Cocoa-dev Digest, Vol 8, Issue 941

2011-11-29 Thread Mazen Abdel-Rahman
urce protocols. You can >> mix. >> >>� F >> > > > > -- > > Message: 9 > Date: Tue, 29 Nov 2011 09:31:51 -0800 > From: Jens Alfke > Subject: Re: How to display HTML in proper format in a NSTextView > To:

Re: Difference between @synchronized and [managedObjectContext lock]?

2011-11-29 Thread Laurent Daudelin
Thanks, Dave, I had missed that part! -Laurent. -- Laurent Daudelin AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/ Logiciels Nemesys Software laur...@nemesys-soft.com On Nov 29, 2011, at 13:34, Dave Fernandes wr

Re: Difference between @synchronized and [managedObjectContext lock]?

2011-11-29 Thread Dave Fernandes
See (bottom of page): http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/coredata/Articles/cdConcurrency.html#//apple_ref/doc/uid/TP40003385-SW1 "If you share a managed object context or a persistent store coordinator between threads, you must ensure that any method invocation

Difference between @synchronized and [managedObjectContext lock]?

2011-11-29 Thread Laurent Daudelin
I'm working on some code that I didn't write and have some core data areas that use [managedObjectContext lock] and [managedObjectContext unlock] while other areas in the code uses @synchronized. I know that @synchronized is a convenience to create a mutex lock so that not 2 threads can acquire

Re: How to display HTML in proper format in a NSTextView

2011-11-29 Thread Jens Alfke
On Nov 29, 2011, at 1:27 AM, Sandeep Mohan Bhandarkar wrote: > Here htmlData is an NSData object that has been initialized with the contents > of an HTML File. However on doing this the HTML Displayed in the Text view > does not seem to be formatted correctly. Please see the figure below. An N

Re: NSTableView Bindings and Numbered Lines...

2011-11-29 Thread Ben
Aha OK thanks, for some reason I was under the impression that it did. Just to expand my knowledge though, I would still be interested in how (or if) it would be possible to achieve in bindings... On 29 Nov 2011, at 13:30, Fritz Anderson wrote: > On 29 Nov 2011, at 3:05 AM, Ben wrote: > >> I

Re: Weird Core Data crash

2011-11-29 Thread Fritz Anderson
On 29 Nov 2011, at 7:21 AM, Andrew Kinnie wrote: > This method may be called from the main thread or from a background thread, > but is always called using performSelectorInBackground. It's not enough that you divert the call to _a_ background thread. You must send it to _the_ background thread

Re: How to display HTML in proper format in a NSTextView

2011-11-29 Thread Fritz Anderson
On 29 Nov 2011, at 3:27 AM, Sandeep Mohan Bhandarkar wrote: > Here htmlData is an NSData object that has been initialized with the contents > of an HTML File. However on doing this the HTML Displayed in the Text view > does not seem to be formatted correctly. Please see the figure below. The ma

Re: NSTableView Bindings and Numbered Lines...

2011-11-29 Thread Fritz Anderson
On 29 Nov 2011, at 3:05 AM, Ben wrote: > I have an NSTableView which gets it's data from Core Data via Bindings, and I > want to give each row a line number. I'm not sure of the best way how. > > Had I have used a TableView Data Source (like I normally do) this task would > be easy, but I'm str

Weird Core Data crash

2011-11-29 Thread Andrew Kinnie
Greetings, We have an app which uses Core Data as a data store for some of it's data, and had a crash with the following message: "NULL _cd_rawData but the object is not being turned into a fault" It LOOK like it is trying to turn a null into a fault, but this seems to be deep under the covers

How to display HTML in proper format in a NSTextView

2011-11-29 Thread Sandeep Mohan Bhandarkar
Hi All, I am trying to display HTML content in a NSTextView in such a way that the HTML content is visible within the Text area and the user can also edit the Non HTML sections. for doing this I have made use of the following code. NSAttributedString *attrString = [[NSAttributedString alloc] i

NSTableView Bindings and Numbered Lines...

2011-11-29 Thread Ben
I have an NSTableView which gets it's data from Core Data via Bindings, and I want to give each row a line number. I'm not sure of the best way how. Had I have used a TableView Data Source (like I normally do) this task would be easy, but I'm struggling to do this 'the bindings way'. (before a