Re: on keyboard shortcuts

2012-09-19 Thread Ken Thomases
On Sep 19, 2012, at 2:23 AM, Martin Hewitson wrote: I distribute a LaTeX typesetting and project manager app and one of the main feature requests is the ability to assign keyboard shortcuts (or rather modify the ones I ship). But during my reading I also started to wonder if offering such

NSURLConnection and MVC

2012-09-19 Thread Koen van der Drift
Briefly in my app (OSX), I download data from a database to be displayed in a view. I created a Controller that takes care of the NSURLConnection, retrieves the data, and sends it to a database model class to parse. It also takes care of updating the UI during the download (Download in progress,

Re: on keyboard shortcuts

2012-09-19 Thread Martin Hewitson
Ken, thanks for your thoughts. That helps me a lot. You say that providing good keyboard shortcuts in the first place is the best approach, and that's what I think I did, at least for people using a US keyboard. It's hard to predict what others find comfortable and it certainly depends on the

Re: on keyboard shortcuts

2012-09-19 Thread Alex Zavatone
FYI, if you're interested in creating a GUI interface for the key bindings for the user, please do it better than how Xcode did it. In Xcode's Key Bindings GUI, the key bindings are not always represented in the form of all the modifier keys required for the command to be invoked. For example,

Re: on keyboard shortcuts

2012-09-19 Thread Fritz Anderson
On 19 Sep 2012, at 9:30 AM, Alex Zavatone z...@mac.com wrote: For example, in the bindings section of Preferences, there are cases where you will see command | (pipe or vertical bar) and command _ . What these really mean are command shift \ and command shift -, since shift on the \ gives

Re: on keyboard shortcuts

2012-09-19 Thread Alex Zavatone
On Sep 19, 2012, at 11:09 AM, Fritz Anderson wrote: On 19 Sep 2012, at 9:30 AM, Alex Zavatone z...@mac.com wrote: For example, in the bindings section of Preferences, there are cases where you will see command | (pipe or vertical bar) and command _ . What these really mean are command

iOS 6 self-update from beta?

2012-09-19 Thread Rick Mann
Am I supposed to be able to update my iOS 6 beta iPad over the air with the release today? It doesn't present it as an option. Was there a change between the last pre-release and the final (I sure hope so!)? -- Rick ___ Cocoa-dev mailing list

Re: NSURLConnection and MVC

2012-09-19 Thread Chuck Soper
I haven't implemented what you're describing, but you might want to look at Marcus Zarra's talk on Flexible JSON Importing. I don't know what you're parsing (JSON, XML, or something else). I found the slides for Marcus' Flexible JSON Importing talk here:

Best practice when opening a Master-Detail app with no data in it yet

2012-09-19 Thread Richard Altenburg (Brainchild)
I am creating a master-detail app for both iPad and iPhone families of devices. For the iPad I use a split view controller and for the iPhone I use the standard drill-down interface (a table view when selected pushes the detail view onto the screen). Now it feels kind of awkward when a user

Re: NSURLConnection and MVC

2012-09-19 Thread Koen van der Drift
Thanks for the link, lots of info there. Unfortunately he doesn't discuss the responsibility of the MVC classes in the slides regarding the best location for the NSURLConnection code. I got that and the paring already working, but need to make it more flexible. - Koen. On Wed, Sep 19, 2012 at

Re: Timeout after application:openFile: stalling applescript

2012-09-19 Thread Kyle Sluder
On Thu, Aug 23, 2012, at 09:34 PM, George Nachman wrote: My application implements the NSApplicationDelegate method -application:openFile: in its app delegate. There seems to be a problem new to OS 10.8 where after receiving the apple event to open a file, five seconds pass before some kind

Re: Collision between Cocoa classes for AU and VST plugins

2012-09-19 Thread MeldaProduction
Hi Guillaume, thank you for the info! One more thing I was posting above - since all the binaries are the same, is it really enough to create a duplicate class on runtime from it? It's just that if you load say AU first, then load VST, the system creates classes from AU, so why should it be

MKUserTrackingBarButtonItem changed behavior under iOS 6?

2012-09-19 Thread Laurent Daudelin
I've been using the following code since a couple of months now: self.userTrackingModeButton = [[MKUserTrackingBarButtonItem alloc] initWithMapView:self.rangeMapView]; [self.userTrackingModeButton setTarget:self]; [self.userTrackingModeButton setAction:@selector(track:)];

NSDocument -close called multiple times?

2012-09-19 Thread Markus Spoettl
Why does AppKit call into NSDocument's -close multiple times by indirect recursion? Can this be on purpose? It happens when I have this: 1) A document with unsaved with changes 2) Terminate the app via CMD-Q 3) Answer Don't Save in the save-changes-sheet This doesn't smell right. I override

Re: Best practice when opening a Master-Detail app with no data in it yet

2012-09-19 Thread Evadne Wu
Seed data is always a good idea. A “tap here to make a new item” approach would also work in some cases. Best, Eve On Sep 19, 2012, at 11:30 AM, Richard Altenburg (Brainchild) cocoa-...@brainchild.nl wrote: I am creating a master-detail app for both iPad and iPhone families of devices.

Re: iOS 6 self-update from beta?

2012-09-19 Thread davelist
On Sep 19, 2012, at 4:25 PM, Rick Mann rm...@latencyzero.com wrote: My iPad says I have 10A5376e. On Sep 19, 2012, at 13:00 , davel...@mac.com wrote: On Sep 19, 2012, at 1:59 PM, Rick Mann rm...@latencyzero.com wrote: Am I supposed to be able to update my iOS 6 beta iPad over the air

Re: NSURLConnection and MVC

2012-09-19 Thread Jens Alfke
On Sep 19, 2012, at 12:14 PM, Koen van der Drift koenvanderdr...@gmail.com wrote: Thanks for the link, lots of info there. Unfortunately he doesn't discuss the responsibility of the MVC classes in the slides regarding the best location for the NSURLConnection code. I got that and the paring

Re: iOS 6 self-update from beta?

2012-09-19 Thread Gene Crucean
My iPad got the ota update which was on 5. iPhone which was on 6b4 did NOT get the ota update. So I downloaded the ipsw from the dev site and installed through itunes. On Wed, Sep 19, 2012 at 10:59 AM, Rick Mann rm...@latencyzero.com wrote: Am I supposed to be able to update my iOS 6 beta

Re: NSURLConnection and MVC

2012-09-19 Thread Graham Cox
Hi Koen, Your approach doesn't sound that wrong to me. How about having a master controller that is more or less what you have now, and split the functionality that handles the data stream out into a separate class that the master controller calls on to fetch the data? Then according to what

Re: iOS 6 self-update from beta?

2012-09-19 Thread Rick Mann
On Sep 19, 2012, at 13:57 , davel...@mac.com wrote: What happens if you go to the above URL, log in, download the appropriate file for your iPad and install it manually from your computer? That's what I had to do. Unfortunately, iTunes wouldn't see my iPad until I quit and relaunched it (it

Re: NSDocument -close called multiple times?

2012-09-19 Thread Jerry Krinock
Interesting. Just to clarify, it appears that you have *not* adopted Auto Save (+autosavesInPlace) in this document? And it is running in Mac OS X 10.8? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: iOS 6 self-update from beta?

2012-09-19 Thread Jens Alfke
On Sep 19, 2012, at 3:01 PM, Gene Crucean emailgeneonthel...@gmail.com wrote: My iPad got the ota update which was on 5. iPhone which was on 6b4 did NOT get the ota update. So I downloaded the ipsw from the dev site and installed through itunes. And what is the build # of the OS from that

Re: iOS 6 self-update from beta?

2012-09-19 Thread Rick Mann
No, that's it. On Sep 19, 2012, at 19:39 , Jens Alfke j...@mooseyard.com wrote: On Sep 19, 2012, at 3:01 PM, Gene Crucean emailgeneonthel...@gmail.com wrote: My iPad got the ota update which was on 5. iPhone which was on 6b4 did NOT get the ota update. So I downloaded the ipsw from the

Best practice to handle remoteControlEvent

2012-09-19 Thread Sasikumar JP
Hi, I have tabbar based audio streaming application. I want to receive the remote control event when app is in any tab when it is in background. So I have implemented beginReceivingRemoteControlEvents and endReceiveRemoteControlEvents in each view controllers viewWillAppear and

What's up with bug report?

2012-09-19 Thread Gerriet M. Denkmann
Trying to login to http://bugreport.apple.com. But get an error did occur persistently. I seem to remember some discussion about this a few days ago. Is anybody able to use the bugreport? Gerriet. Safari 6.0 - 10.8.1 ___ Cocoa-dev mailing list