Re: Copy problem

2012-12-19 Thread Sean McBride
On Wed, 19 Dec 2012 16:38:29 +1300, tridiak said: if ([fm fileExistsAtPath:fps]) { if (![fm removeItemAtURL:dest error:e]) { Not sure what your exact problem is, but you might want to read up on file system race conditions:

NSRulerView as timeline?

2012-12-19 Thread Todd Heberlein
Is there a common way to create a timeline object like an NSRulerView (or just repurpose the NSRulerView) to appear at the top of an NSScrollView? I am currently using an NSRulerView, but it really doesn't fit the bill. I am wondering if I am going to have to draw my own view and then just

Re: implementing relaunch in a sandboxed app

2012-12-19 Thread Keith Knauber
Relaunch in my case isn't about crash recovery, its about preventing user waits and preventing crashes in the first place. Examples of situations where auto relaunch is desirable: - user changes a preference which essentially invalidates every object in every nib - color preferences -

Customizing UIAlert keyboard behavior

2012-12-19 Thread Jens Alfke
I’m popping up a UIAlert with a text field in it. I want the text field to auto-capitalize all words, and I want the Return key to dismiss the alert. I’m doing this by setting properties of the text field, but they have no effect at runtime. Here’s my code: UIAlertView* alert =

iOS - needs-shine app pList setting being ignored on devices.

2012-12-19 Thread Alex Zavatone
Not sure if this is the proper place to address this, but it seems close enough. I've been running my apps in the Simulator and distributing them to devices over a website (OTA) using my new Enterprise distro cert and provision I just cooked up on Friday. On all devices and the simulator,

Re: iOS - needs-shine app pList setting being ignored on devices.

2012-12-19 Thread Fritz Anderson
On 19 Dec 2012, at 2:20 PM, Alex Zavatone z...@mac.com wrote: Not sure if this is the proper place to address this, but it seems close enough. I've been running my apps in the Simulator and distributing them to devices over a website (OTA) using my new Enterprise distro cert and provision

Re: iOS - needs-shine app pList setting being ignored on devices.

2012-12-19 Thread Alex Zavatone
On Dec 19, 2012, at 3:51 PM, Fritz Anderson wrote: On 19 Dec 2012, at 2:20 PM, Alex Zavatone z...@mac.com wrote: Not sure if this is the proper place to address this, but it seems close enough. I've been running my apps in the Simulator and distributing them to devices over a website

Auto Layout, Localization and Superview Size

2012-12-19 Thread Antonio Nunes
I'm having trouble implementing auto layout based views that appear in popups and open/save panels. Due to increased verbosity, relative to the original English, in for some localizations some views need to grow in size to fit their content. Currently, if I create a NIB in IB (Xcode 4.5), and

Re: NSRulerView as timeline?

2012-12-19 Thread Jens Alfke
On Dec 19, 2012, at 9:55 AM, Todd Heberlein todd_heberl...@mac.com wrote: Is there a common way to create a timeline object like an NSRulerView (or just repurpose the NSRulerView) to appear at the top of an NSScrollView? Do you mean like something for an audio app, that shows tick marks for

Re: NSRulerView as timeline?

2012-12-19 Thread Graham Cox
On 20/12/2012, at 4:55 AM, Todd Heberlein todd_heberl...@mac.com wrote: Is there a common way to create a timeline object like an NSRulerView (or just repurpose the NSRulerView) to appear at the top of an NSScrollView? I am currently using an NSRulerView, but it really doesn't fit the

Re: sandbox method to open my user manual pdf

2012-12-19 Thread Keith Knauber
I'm running 10.7.5 on my machine I think I found a workaround… First copy the .pdf to my sandbox, then openURL. NSString *userManual = [[NSBundle mainBundle] pathForResource:@User_Manual_v3.6 ofType:@pdf]; NSFileManager *fm = [NSFileManager defaultManager]; NSString *sandboxPath

Re: iOS - needs-shine app pList setting being ignored on devices.

2012-12-19 Thread Alex Zavatone
Ahh. It appears that there is another plist file and plist setting that needs to be set for this to really be obeyed. Icon already includes gloss effects, which defaults to NO for iOS 5 and is not in the manifest pList file. When run on the simulator, it is the second run where the

Making an automatic vertically expanding NSTokenField?

2012-12-19 Thread Nick Zitzmann
I've been searching around, and have run out of options. Has anyone here ever made an NSTokenField that vertically expands collapses as text is entered into it? If so, then how did you do that? I found this - http://joshua.nozzi.name/source/jlnautosizingtokenfield/ - which calls -sizeToFit

New busy cursor in the Finder

2012-12-19 Thread lordpixel
I noticed recently that the Finder has a new very nice looking animated busy cursor, which you can see here: https://dl.dropbox.com/u/45534011/BusyCursor.png It should seem very familiar to Windows users who have had the pointer + hourglass cursor for a long time. The meaning is... I am working

Re: New busy cursor in the Finder

2012-12-19 Thread Kyle Sluder
On Dec 19, 2012, at 8:03 PM, lordpi...@mac.com wrote: I noticed recently that the Finder has a new very nice looking animated busy cursor, which you can see here: https://dl.dropbox.com/u/45534011/BusyCursor.png Can you reproduce this cursor? As far as I know, it only appears in Java apps

Re: Making an automatic vertically expanding NSTokenField?

2012-12-19 Thread Jerry Krinock
On 2012 Dec 19, at 17:41, Nick Zitzmann n...@chronosnet.com wrote: I've been searching around, and have run out of options. Has anyone here ever made an NSTokenField that vertically expands collapses as text is entered into it? Not that I know of. I found this -

Re: New busy cursor in the Finder

2012-12-19 Thread John Pannell
I noticed the appearance of this cursor recently and thought it corresponded with the new BBEdit 10.5... perhaps you have recently updated BBEdit? John I noticed recently that the Finder has a new very nice looking animated busy cursor, which you can see here:

Re: Making an automatic vertically expanding NSTokenField?

2012-12-19 Thread Kyle Sluder
On Dec 19, 2012, at 5:41 PM, Nick Zitzmann n...@chronosnet.com wrote: I've been searching around, and have run out of options. Has anyone here ever made an NSTokenField that vertically expands collapses as text is entered into it? If so, then how did you do that? The typical technique for

Re: Customizing UIAlert keyboard behavior

2012-12-19 Thread Matt Neuburg
On Dec 19, 2012, at 8:23 PM, cocoa-dev-requ...@lists.apple.com wrote: Message: 1 Date: Wed, 19 Dec 2012 12:18:12 -0800 From: Jens Alfke j...@mooseyard.com I’m popping up a UIAlert with a text field in it. I want the text field to auto-capitalize all words, and I want the Return key to