CoreData Save As-problem

2014-06-24 Thread Felix Franz
Hello, we got bug reports, that on some machines Save As writes a corrupt file. Now we have access to a machine where this happens, and even a basic test-project (Document-template using CoreData in Xcode) exhibits the same problem. The machine is running OSX 10.9.3. On this machine it is

Re: CoreData Save As-problem

2014-06-24 Thread Roland King
Completely random idea but has the user on that account turned off autosaving or run any of the command lines which mess around with how autosave or versions at some point in the past? Changing one of those might possibly cause issues with saving. On 24 Jun, 2014, at 8:05 pm, Felix Franz

Re: CoreData Save As-problem

2014-06-24 Thread Felix Franz
On 24.06.2014, at 14:27, Roland King r...@rols.org wrote: Completely random idea but has the user on that account turned off autosaving or run any of the command lines which mess around with how autosave or versions at some point in the past? Changing one of those might possibly cause

Re: Single-item action sheet wrong size

2014-06-24 Thread Michael Babin
On Jun 23, 2014, at 7:50 PM, Rick Mann rm...@latencyzero.com wrote: I'm trying to implement something like the photos app delete button. I present the action sheet to confirm deletion, but the sheet is too large for the single button; there's a larger gap below the button than above it. Any

Re: NSWindowController and designated initializer rules

2014-06-24 Thread Sean McBride
On Mon, 23 Jun 2014 18:14:05 -0700, Quincey Morris said: In that regard, ‘initWithWindowNibName:’ must be a designated initializer, since subclasses that don’t do their own nib loading have nothing else to call “up” to. I assume, therefore, that ‘initWithWindowNibName:’ is marked as a designated

Re: NSWindowController and designated initializer rules

2014-06-24 Thread Quincey Morris
On Jun 24, 2014, at 07:55 , Sean McBride s...@rogue-research.com wrote: I guess it's omission could be a bug, but assuming not, Sketch gets a compiler warning if you tag its own designated initializer (init) with NS_DESIGNATED_INITIALIZER, since it doesn't call one of super's designated

UIBarButtonItem message to first responder?

2014-06-24 Thread Rick Mann
I've got a UIBarButtonItem in a UINavigationBar that needs to send a message to an ancestral view controller. I tried connecting its action outlet in IB to the (current) view controller's firstResponder outlet, which then presents me with a list of possible actions, including the one I want it

NSButton, Templates, images…

2014-06-24 Thread Alex Kac
I’m sure I’m missing something simple. Reading the docs, reading some stack-overflow comments, and a few posts on this list from years ago, it seems like I am missing something. I have an NSButton with an image. I’d like to have the button look etched when unselected - and tinted blue when

Re: NSButton, Templates, images…

2014-06-24 Thread Lee Ann Rucker
According to rdar://9643033, which I filed 3 years ago, the bezelStyle has to be NSTexturedRoundedBezelStyle, and it'll work in 10.6 if bordered is NO, but 10.7 needs a border. I don't know if the bordered part is still required; I came up with a workaround to get just the image in the style I

Re: NSButton, Templates, images…

2014-06-24 Thread Quincey Morris
On Jun 24, 2014, at 15:31 , Alex Kac a...@webis.net wrote: I’m sure I’m missing something simple. I have an NSButton with an image. I’d like to have the button look etched when unselected - and tinted blue when selected It was a while back since I was missing the same thing. IIRC, what you

Re: NSReleasePool issue

2014-06-24 Thread Varun Chandramohan
Hi All, Apple has notified that this a known bug and they have a duplicate of the bug I submitted regarding this issue. They closed my bug. I am not sure if bug numbers will benefit anyone in this forum, if so let me know ill post it. Regards, Varun From: Jens Alfke

NSStrings to CStrings and hex encoding...

2014-06-24 Thread Andrew Satori
Alright, I am stumped so I am asking for help (and it is annoying me because I am 100% certain that the answer will be stupid simple). I have a bit of code (old code I might add) that I am updating to ARC and other such modern features. Unfortunately, I have run into a little snag. The code

Re: NSStrings to CStrings and hex encoding...

2014-06-24 Thread Stephen J. Butler
Those are the UTF-8 sequences for smart quotes. It's not coming from cStringUsingEncoding, but directly from NSTextView: http://stackoverflow.com/questions/19801601/nstextview-with-smart-quotes-disabled-still-replaces-quotes Rant: This has been a super annoying Mavericks feature IMHO. Even when

Re: NSStrings to CStrings and hex encoding...

2014-06-24 Thread Roland King
well the 'problem' is that the quotation marks you have in there aren't the usual 0x27 simple quotes but the pretty left/right quote marks which are unicode U+2018 and U+2019. 0xE28098 is the UTF-8 representation of the first of those, 0xE28099 is the encoding of the second one. So either the

Re: NSStrings to CStrings and hex encoding...

2014-06-24 Thread Andrew Satori
And we have a winner. Thanks. I had unchecked it in XCode, so didn't think that was the culprit, but your code change made things all better. Thanks, I knew it was something obvious and simple. On Jun 24, 2014, at 10:29 PM, Stephen J. Butler stephen.but...@gmail.com wrote: Those are the