Re: Getting TextEdit to Recognise UTF-8 Output

2010-05-21 Thread Gus Mueller
riteToFile:atomically:? I'm pretty sure that doesn't write it out as UTF8. You'll probably want to use writeToFile:atomically:encoding:error: with NSUTF8StringEncoding as the encoding if you aren't already. -gus -- August 'Gus&#

Disable autosave in place for a particular uti / filetype?

2011-09-12 Thread Gus Mueller
turned on for a single file type is dumb and will be confusing for the user- but I'm just looking for ideas at this point. thanks, -gus -- August 'Gus' Mueller Flying Meat Inc. http://flyingmeat.com/ ___ Cocoa-dev mailing list (Co

Re: Disable autosave in place for a particular uti / filetype?

2011-09-12 Thread Gus Mueller
> save a copy in .acorn or (b) re-export in the original format? I hadn't noticed that behavior in PS before, so I'll have to see exactly what it's doing there. It's a little bit unexpected I think, but it might be a reasonable workaround. -gus -- August &#x

Re: Disable autosave in place for a particular uti / filetype?

2011-09-12 Thread Gus Mueller
On Sep 12, 2011, at 11:19 AM, Kyle Sluder wrote: > On Mon, Sep 12, 2011 at 10:53 AM, Gus Mueller wrote: >> Is there any way to turn off 10.7's autosave in place for a particular >> uti/file type? Or maybe turn it on for a single file type? > > Use a different NSD

NSLayoutManager's setDefaultAttachmentScaling: not working in custom PDF NSContexts.

2012-01-29 Thread Gus Mueller
#x27;m doing wrong? This is on 10.7.2 btw. thanks, -gus -- August 'Gus' Mueller Flying Meat Inc. http://flyingmeat.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator

Re: NSLayoutManager's setDefaultAttachmentScaling: not working in custom PDF NSContexts.

2012-01-31 Thread Gus Mueller
se any strange side effects. Since the attributed string is never saved out, modifying the cell this way won't hurt in my case. -gus -- August 'Gus' Mueller Flying Meat Inc. http://flyingmeat.com/ ___ Cocoa-dev mailing list (C

Re: Releasing WSMethodInvocationInvoke()

2012-03-05 Thread Gus Mueller
what's going on. I'm not sure there's any way around this other than filing a bug and hoping Apple updates the headers in the next release. (Another example of this is SecTransformExecute in Securty.framework) -gus -- August 'Gus' Mueller Flying Meat Inc. http:/

Re: call ruby scripts from objective c

2010-02-22 Thread Gus Mueller
y land without knowing it's ruby. -gus -- August 'Gus' Mueller Flying Meat Inc. http://flyingmeat.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Co

Re: Releasing WSMethodInvocationInvoke()

2012-03-09 Thread Gus Mueller
On Mar 6, 2012, at 5:24 PM, Sean McBride wrote: > On Mon, 5 Mar 2012 13:44:24 -0800, Gus Mueller said: > >> That's because it's missing a CF_RETURNS_RETAINED in the header for that >> method, which the analyzer needs to know what's going on. I'm not sur