UINavigationController subclass won't load its nib.

2013-10-11 Thread Half Activist
Hi, To put it shortly, my UINavigationController doesn't load its assigned NIB at all. I've got an UINavigationController subclass that contains the code for an object inspector in an app i'm writing. It's declared as the file's owner of a nib of the same name, this nib

Dependency between document types

2013-10-11 Thread Rick Mann
I've switched to using the asynchronous -openDocumentWithContentsOfURL:display:completionHandler:, and now I have a problem. My app requires that one type of document (which provides a library of elements added to the real documents) be open before the untitled document gets created. This

Re: Dependency between document types

2013-10-11 Thread Rick Mann
On Oct 11, 2013, at 02:13 , Rick Mann rm...@latencyzero.com wrote: I've switched to using the asynchronous -openDocumentWithContentsOfURL:display:completionHandler:, and now I have a problem. My app requires that one type of document (which provides a library of elements added to the real

Correct way to change NSPersistentDocument subclass MOC type?

2013-10-11 Thread Rick Mann
I want to change my NSPersistentDocument subclass to use a different concurrency type. But I can't find a way to override -managedObjectContext that works. The only discussions online I could find are from 5 years ago. It does seem to work if I set the MOC in one of the -initXXX methods, but

Re: Correct usage of NSTextView and NSFindBar

2013-10-11 Thread Martin Hewitson
Dear Kevin, I finally managed to find some moments to get back to this issue. So, taking your advice I changed my approach so that now my data model has a single textstorage per file/document being managed. When the user selects a file in the list then I do [textView.layoutManager

Re: Receiving system notifications in 10.8

2013-10-11 Thread Jens Alfke
On Oct 10, 2013, at 9:40 PM, Carl Hoefs newsli...@autonomy.caltech.edu wrote: Lots of applications come to mind, if such a mechanism were available. To be able to know when a certain song is playing in iTunes Radio and crank up the volume, There is (or used to be) an

Re: Correct way to change NSPersistentDocument subclass MOC type?

2013-10-11 Thread Rick Mann
On Oct 11, 2013, at 04:03 , Mikael Hakman mhak...@dkab.net wrote: On Oct 11, 2013, at 12:37 PM, Rick Mann rm...@latencyzero.com wrote: In ManagedObjectContext there is method – initWithConcurrencyType:. Perhaps you can use it. The problem is not the creation of the MOC, it's how to

Re: Correct way to change NSPersistentDocument subclass MOC type?

2013-10-11 Thread Rick Mann
Oh, it seems to work to create the MOC and a coordinator with no stores, and leave it at that. On Oct 11, 2013, at 04:03 , Mikael Hakman mhak...@dkab.net wrote: On Oct 11, 2013, at 12:37 PM, Rick Mann rm...@latencyzero.com wrote: In ManagedObjectContext there is method –

Re: UINavigationController subclass won't load its nib.

2013-10-11 Thread David Duncan
I think your approach is wrong. It doesn’t sound like you have a specialized navigation controller, but rather a navigation controller that has a specialized UI. The way to approach that problem is to load a UIViewController subclass with that logic in it, and create a UINavigationController

Re: collection of applications

2013-10-11 Thread ChanMaxthon
Seem to me that you are considering making an enterprise single sign-on portal. Of course you can combine everything into a single app, but a more graceful solution can exist. Just to correct a misunderstanding, iOS dyld can load dynamic libraries if carried as part of the application bundle

Re: collection of applications

2013-10-11 Thread Jens Alfke
On Oct 11, 2013, at 11:40 AM, ChanMaxthon xcvi...@me.com wrote: Just to correct a misunderstanding, iOS dyld can load dynamic libraries if carried as part of the application bundle Oh? Is this a new thing? In a past project I worked on (in 2011) we had to go to a fair bit of trouble to work

Re: collection of applications

2013-10-11 Thread Maxthon Chan
This is not new - it existed since iPhone OS 1.0. However by saying “can load dynamic libraries” does not mean you can actually use it in production code. Apple does not allow any dynamic libraries exist in App Store packages (“Nobody but Apple can put dynamic libraries onto iOS device) so the

Re: collection of applications

2013-10-11 Thread Jens Alfke
On Oct 11, 2013, at 7:57 PM, Maxthon Chan xcvi...@me.com wrote: This is not new - it existed since iPhone OS 1.0. However by saying “can load dynamic libraries” does not mean you can actually use it in production code. Apple does not allow any dynamic libraries exist in App Store packages