Re: How do we get rid of application downloaded from the internet warnings?

2011-11-03 Thread G S
All of the items were PNGs. I viewed them all in Adobe Bridge after Preview wouldn't open them. And changing that attribute in fact did NOT work; I'm still getting the warning. On PNGs. Ridiculous. Thanks for the insight though, guys. ___ Cocoa-dev

UISplitViewController some of the time

2011-11-03 Thread Eric E. Dolecki
I am developing an application for the iPad which uses a UISplitViewController (via template). Now I'd like to add a Home UIViewController to the storyboard and have that be the initial view controller. However Apple states if using the SplitViewController it should always be the root. Okay... so

Re: How to detect clicks outside of modal window?

2011-11-03 Thread Vojtěch Meluzín
Thanks. Ok, let's say I'm ok with not making it modal. All I need is that when I show the window, the method that does that must return after the window has closed. So basically it's still the same thing, I just can live with the fact that the window may not be modal and rather closed when gets

Re: How to detect clicks outside of modal window?

2011-11-03 Thread Scott Ribe
On Nov 3, 2011, at 9:58 AM, Vojtěch Meluzín wrote: Thanks. Ok, let's say I'm ok with not making it modal. All I need is that when I show the window, the method that does that must return after the window has closed. Well, that's modal unless you write your own event loop, which is probably

Re: NSTreeController won't initWithCoder on Leopard (solved)

2011-11-03 Thread Eric Slosser
Greg, for this project I'm using Xcode 3.2.6, the xib was set to 'default - 10.4'. There were two issues, both my fault. 1) I had left a stub @implementation of NSTreeNode in the link list. I had created the header so I could use that class even though it wasn't public in Tiger. I found it

Re: How to detect clicks outside of modal window?

2011-11-03 Thread Vojtěch Meluzín
Ok, let's try from the other end - how would you implement a popup menu? I mean your own custom popup menu, where you want draw and do whatever you want, but the method which called it has to wait for its result. Vojtech Dne 3. listopadu 2011 17:14 Scott Ribe

Re: How to detect clicks outside of modal window?

2011-11-03 Thread Conrad Shultz
Close the window in its delegate's -windowDidResignKey:. You will need to architect your app differently, though. Blocking the main thread waiting for the window to close will not work. You instead need to have the appropriate delegate method (e.g. -windowWillClose:) call back into your code

Re: How to detect clicks outside of modal window?

2011-11-03 Thread Scott Ribe
On Nov 3, 2011, at 10:26 AM, Vojtěch Meluzín wrote: Ok, let's try from the other end - how would you implement a popup menu? I mean your own custom popup menu, where you want draw and do whatever you want, but the method which called it has to wait for its result. I wouldn't. A popup menu

Re: UISplitViewController some of the time

2011-11-03 Thread Matt Neuburg
On Thu, 03 Nov 2011 11:00:27 -0400, Eric E. Dolecki edole...@gmail.com said: I am developing an application for the iPad which uses a UISplitViewController (via template). Now I'd like to add a Home UIViewController to the storyboard and have that be the initial view controller. However Apple

Read Keyboard

2011-11-03 Thread koko
Within a method I want to read the keyboard to look for ctrl or shift being down. Is this possible? I ask because I first thought to implement keyDown and set a flag for the the key BUT for whatever crazy reason the keyDown for the view is not being called ... the view has been made first

Re: UISplitViewController some of the time

2011-11-03 Thread Eric E. Dolecki
Sorry - but I am not following you. What I just tried that almost work is: In my detail view controller for the split view controller, I added in it's viewDidLoad: HomeUIViewController *tmp = [[HomeUIViewController alloc] init]; [self presentModalViewController:tmp animated:NO];

Re: Read Keyboard

2011-11-03 Thread Conrad Shultz
I assume you mean that keyDown: is not called if _only_ a modifier key is pressed. If it's not called for any key press then you have bigger problems. To answer your question, the method you are looking for is NSResponder's -flagsChanged:. (Sent from my iPad.) -- Conrad Shultz On Nov 3,

Re: Read Keyboard

2011-11-03 Thread koko
I agree there is a bigger problem if NSResponder's or NSWindow's -keyDown: is not being called. any suggestion on where to look for this problem But, I just want to get done and if NSResponder's -flagsChanged: will get the job done, then great! Thx. -koko On Nov 3, 2011, at 11:39 AM,

Sandboxing disallows AppleEvents?

2011-11-03 Thread Rick Mann
Really? I get how that kind of functionality has made Windoze such a security hole forever, but there are so many Mac applications that depend on being able to send AppleEvents, especially within a suite of applications (all from the same vendor). Is there no facility for doing this? Thanks,

Adventures in core-data, iCloud, and sandboxing

2011-11-03 Thread Martin Hewitson
Here is my experience with trying to upgrade a core-data sandbox app to use sandboxing and iCloud. 1) A core-data shoebox app with no sandbox, no iCloud entitlements, XML store type 2) A core-data shoebox app with sandbox, iCloud integration, SQL store type Starting from 1), how do I get to

Re: Sandboxing disallows AppleEvents?

2011-11-03 Thread Mark Munz
You can temporarily request to send apple events to specific apps -- but Apple has made it clear that they are doing us a favor with that and that it won't last. Welcome to the new sandboxed world. On Thu, Nov 3, 2011 at 11:10 AM, Rick Mann rm...@latencyzero.com wrote: Really? I get how that

Storyboard scene and UIViewController

2011-11-03 Thread Eric E. Dolecki
I init a UIViewController class... FooViewController *fvc = [[FooViewController alloc] init]; This is great, but I have to generate all the UI for the view controller in code in the class. Is it possible to layout a scene in a Storyboard and associate it with the view controller so that the UI

Re: Storyboard scene and UIViewController

2011-11-03 Thread Conrad Shultz
On 11/3/11 12:05 PM, Eric E. Dolecki wrote: I init a UIViewController class... FooViewController *fvc = [[FooViewController alloc] init]; This is great, but I have to generate all the UI for the view controller in code in the class. Is it possible to layout a scene in a Storyboard and

Re: Storyboard scene and UIViewController

2011-11-03 Thread Ben Kennedy
On 03 Nov 2011, at 12:05 pm, Eric E. Dolecki wrote: This is great, but I have to generate all the UI for the view controller in code in the class. Is it possible to layout a scene in a Storyboard and associate it with the view controller so that the UI in the scene will be used instead of me

Re: Storyboard scene and UIViewController

2011-11-03 Thread Eric E. Dolecki
Ya, but there is no nib here... On Thu, Nov 3, 2011 at 3:12 PM, Conrad Shultz con...@synthetiqsolutions.com wrote: On 11/3/11 12:05 PM, Eric E. Dolecki wrote: I init a UIViewController class... FooViewController *fvc = [[FooViewController alloc] init]; This is great, but I have to

Re: Storyboard scene and UIViewController

2011-11-03 Thread Eric E. Dolecki
In my storyboard I dropped a UIViewController object in, gave it identifier deanna - it's not linked to anything (segue). For Custom Class I assigned HomeUIViewController. I gave it a bright blue background color just to make sure it's being used instead of just code. Then in my code:

Re: Storyboard scene and UIViewController

2011-11-03 Thread Eric E. Dolecki
I should note I am trying to do this from the AppDelegate. On Thu, Nov 3, 2011 at 3:40 PM, Eric E. Dolecki edole...@gmail.com wrote: In my storyboard I dropped a UIViewController object in, gave it identifier deanna - it's not linked to anything (segue). For Custom Class I assigned

Re: Sandboxing disallows AppleEvents?

2011-11-03 Thread Corbin Dunn
You should log bugs for things which you need to do, but cannot. Please log them! corbin On Nov 3, 2011, at 11:10 AM, Rick Mann wrote: Really? I get how that kind of functionality has made Windoze such a security hole forever, but there are so many Mac applications that depend on being

Re: inserting/removing items in NSOutlineView subclass

2011-11-03 Thread Sebastien Boisvert
Those 3 lines were literally pulled directly from my code (call to -beginUpdates, then the call to remove the items, then the call to -endUpdates), so I'm definitively calling it. I'll try to reproduce it in a simpler test case, but the error gives no clue of what the real cause is so that

Re: UISplitViewController some of the time

2011-11-03 Thread Conrad Shultz
On 11/3/11 10:28 AM, Eric E. Dolecki wrote: Sorry - but I am not following you. What I just tried that almost work is: In my detail view controller for the split view controller, I added in it's viewDidLoad: HomeUIViewController *tmp = [[HomeUIViewController alloc] init]; [self

Re: Read Keyboard

2011-11-03 Thread koko
Well, the problem was that stellar Dev Env XCode 4.2 ... it quit writing NSLog out put to the degugger console ... so since I did not see my log of 'keydown I thought it was not being called ... yeah I am stupid for not setting a break point but I don't wear a belt with suspenders either. I

Re: UISplitViewController some of the time

2011-11-03 Thread Eric E. Dolecki
I am not using nibs. Per Apple's guidelines, a splitviewcontroller must be the root. My home view controller needs to fill the whole screen, over top of the splitviewcontroller, which I've done. Right now I am trying to get the storyboard scene for my HomeUIViewController to be used instead of

Re: UISplitViewController some of the time

2011-11-03 Thread Conrad Shultz
On 11/3/11 1:04 PM, Eric E. Dolecki wrote: I am not using nibs. Per Apple's guidelines, a splitviewcontroller must be the root. My home view controller needs to fill the whole screen, over top of the splitviewcontroller, which I've done. As I said, I have _never_ used storyboards, so this

Re: inserting/removing items in NSOutlineView subclass

2011-11-03 Thread Corbin Dunn
It is sufficient to log a bug and include your app (or how to download your app). corbin On Nov 3, 2011, at 12:59 PM, Sebastien Boisvert wrote: Those 3 lines were literally pulled directly from my code (call to -beginUpdates, then the call to remove the items, then the call to

Re: Storyboard scene and UIViewController

2011-11-03 Thread Sixten Otto
On Thu, Nov 3, 2011 at 12:40 PM, Eric E. Dolecki edole...@gmail.com wrote: Then in my code: UIStoryboard *storyboard = [UIStoryboard storyboardWithName: @MainStoryboard bundle:[NSBundle mainBundle]]; HomeUIViewController *hv = [storyboard instantiateViewControllerWithIdentifier:@deanna];

localization nib vs. xib in release build

2011-11-03 Thread Alexander Reichstadt
Hi, there is a problem localizing the resources for my project. The way I went about localizing the original English xib was to select it, add a loc-language, then I localized it, cleaned the build and ran the app. My system is running using German language as setup in system preferences and

Re: Core Data loading faulted object?

2011-11-03 Thread Rick Mann
Mike, Did you have any speculation as to why this might be happening? -- Rick On Oct 31, 2011, at 15:25 , Mike Abdullah wrote: What store type are you using? On 31 Oct 2011, at 22:06, Rick Mann wrote: Hi. I'm seeing a situation where my app starts up, fetches all instances of a

Re: Storyboard scene and UIViewController

2011-11-03 Thread Eric Dolecki
Yup. Sent by Eric's faithful iPad. On Nov 3, 2011, at 7:21 PM, Sixten Otto hims...@sfko.com wrote: On Thu, Nov 3, 2011 at 12:40 PM, Eric E. Dolecki edole...@gmail.com wrote: Then in my code: UIStoryboard *storyboard = [UIStoryboard storyboardWithName: @MainStoryboard bundle:[NSBundle

Re: Adventures in core-data, iCloud, and sandboxing

2011-11-03 Thread Roland King
So, can I conclude from this that iCloud and core-data only works with SQL store? The WWDC video hints at this, but was not explicit. Not so. I have a core data app running using icloud and an XML store. This is ios by the way and the store is not incremental, it's just being treated as

Re: Adventures in core-data, iCloud, and sandboxing

2011-11-03 Thread Martin Hewitson
On 4, Nov, 2011, at 02:01 AM, Roland King wrote: So, can I conclude from this that iCloud and core-data only works with SQL store? The WWDC video hints at this, but was not explicit. Not so. I have a core data app running using icloud and an XML store. This is ios by the way