Anybody have problems with plist settings not getting into or being honored by phone app?

2011-01-17 Thread G S
Hi all. I added a couple of settings to my iOS project's plist: "app does not run in background" and "icon already has gloss effects". I noticed that they weren't being honored in the device builds, although they appeared to be honored in the simulator builds. First I found that Xcode created th

Re: NSNotFound

2011-01-17 Thread Uli Kusterer
On 17.01.2011, at 19:50, Quincey Morris wrote: > In a slightly larger, conceptual sense, this means that unless you want to > obsess over the specifics of *every* frameworks parameter *every* time you > use one, the *practical*, everyday-use range of NSUInteger is 0 .. > NSIntegerMax, not 0 .. N

Re: How to change the product name with command line builds?

2011-01-17 Thread Uli Kusterer
On 14.01.2011, at 14:55, Gabriel Zachmann wrote: > A little bit of background information might be in order. > I am writing a screensaver. > Now some users would like to run two different instances (i.e., executables) > of it concurrently, because they've got two monitors, and, in addition, they

Re: NSNotFound

2011-01-17 Thread Richard Somers
On Jan 17, 2011, at 11:50 AM, Quincey Morris wrote: Yes, in one sense the actual value should be irrelevant, but in fact when NSNotFound is a possible value of a scalar that's truly numeric (such as a count or an index) you really *do* need to know what NSNotFound is. For example, you have

Re: proper use of Core Data

2011-01-17 Thread Graham Cox
On 18/01/2011, at 11:33 AM, Shane wrote: > then I can > somehow store this data Yes, but you need to work out the 'somehow', which given the description so far, is about 99% of the work. Start with your model - what is it? How that model starts off in terms of a list of numbers in a file is

proper use of Core Data

2011-01-17 Thread Shane
I want to run this by you guys that do Core Data so I can see if my understanding for wanting to use it is valid. I have a file which I load into my application that contains columns of numbers separated by whitespace (each column is usually marked with titles like inputs, outputs, etc…). This is

Re: Gestures

2011-01-17 Thread koko
Thanks Matt. Due to my inexperience I was searching 'Track Pad Gestures" which did not yield any developer docs just user info. But all good now and I will be adding gestures for zoom and rotate! -koko On Jan 17, 2011, at 1:14 PM, Matt Neuburg wrote: > > On Jan 17, 2011, at 11:45 AM, koko wr

Re: Get iphoto scripting bridge handle without starting iphoto?

2011-01-17 Thread Kyle Sluder
On Mon, Jan 17, 2011 at 3:34 AM, Gabriel Zachmann wrote: > I was just wondering who Mail.app does it with its photo browser ... Mail.app is an Apple app, so it's free to use whatever undocumented private stuff it wants. It probably uses the private iLife media browser framework. Which, in turn,

Re: How to correctly load the bundle of a screen saver

2011-01-17 Thread Gabriel Zachmann
> I think that System Preferences, since it's loading plug-ins, requires that > your classes have unique names. Otherwise, when it loads the plug-ins, the > names conflict in the Objective-C runtime. > Thanks a lot! I have found this error message in the syslog: Class ArtSaverView is impleme

Re: Gestures

2011-01-17 Thread Matt Neuburg
On Jan 17, 2011, at 11:45 AM, koko wrote: > No, I did not know about the reference you have supplied Oh, sorry. But that reference appears you search for "gesture", so of course I assumed you knew about it. So perhaps you didn't actually search? It's polite to search the documentation before

Re: Gestures

2011-01-17 Thread koko
No, I did not know about the reference you have supplied. Thanks. But, why such caustic remarks? I find you outside the spirit of Apple. Perhaps you would be more comfortable with Windows developers. -koko I was using On Jan 17, 2011, at 12:16 PM, Matt Neuburg wrote: > On Mon, 17 Jan 2011

Re: Gestures

2011-01-17 Thread Bill Cheeseman
On Jan 17, 2011, at 2:16 PM, Matt Neuburg wrote: > On Mon, 17 Jan 2011 09:53:26 -0700, koko said: >> My shipping app is developed with 10.6.6 SDK. >> >> Some MacBook customers have asked for gesture support. >> >> Can I do this? I have had no luck finding a reference. >> > > So here we go

Re: How to correctly load the bundle of a screen saver (was: How to change the product name with command line builds?)

2011-01-17 Thread Ken Thomases
On Jan 17, 2011, at 12:06 PM, Gabriel Zachmann wrote: >> On Jan 16, 2011, at 7:59 AM, Ken Thomases wrote: > >> xcodebuild -target Foo -configuration Release build PRODUCT_NAME=Foo2 > > Thanks a lot for your response. You're welcome. > The executable I am working on is a screen saver. > My Info

Re: Gestures

2011-01-17 Thread Matt Neuburg
On Mon, 17 Jan 2011 09:53:26 -0700, koko said: >My shipping app is developed with 10.6.6 SDK. > >Some MacBook customers have asked for gesture support. > >Can I do this? I have had no luck finding a reference. > So here we go again. I'll say RTFM: http://developer.apple.com/library/mac/#docume

Re: Question about split view

2011-01-17 Thread Matt Neuburg
On Mon, 17 Jan 2011 07:09:01 -0500, Phillip Mills said: >To my way of thinking, the problem is that there's no well-defined "and now >we're back" notification In general the advent of multitasking seems to have caught the framework with its pants down (and the documentation even more so). But

Re: NSNotFound

2011-01-17 Thread Quincey Morris
On Jan 17, 2011, at 08:28, Sean McBride wrote: > On Sat, 15 Jan 2011 18:51:52 +, Thomas Davie said: > >> NSNotFound could have *any* value, and in fact its value could change >> from cocoa version to cocoa version. Stop looking! > > If they change it, they'll break binary compatibility with

Re: Why can't a modal view controller present another in viewDidLoad?

2011-01-17 Thread Matt Neuburg
On Jan 16, 2011, at 7:46 PM, Luke Hiesterman wrote: > Delayed performance is not appropriate for something like this, because that > fact that your view was just loaded is not a guarantee that it's about to be > added to the view hierarchy. Delayed performance should not be used as a > haphaza

How to correctly load the bundle of a screen saver (was: How to change the product name with command line builds?)

2011-01-17 Thread Gabriel Zachmann
> On Jan 16, 2011, at 7:59 AM, Ken Thomases wrote: >> I've got an Xcode project that compiles and works fine. >> >> The short question now is: what is the proper way to change the bundle's >> name from the command line? > > Assuming your project is set up like normal (e.g. with Info.plist valu

Re: Gestures

2011-01-17 Thread Sherm Pendley
On Mon, Jan 17, 2011 at 11:53 AM, koko wrote: > My shipping app is developed with 10.6.6 SDK. > > Some MacBook customers have asked for gesture support. > > Can I do this?  I have had no luck finding a reference. Yes - the MacBook's screen isn't touch-sensitive, but its trackpad can generate a va

Re: Gestures

2011-01-17 Thread Sean McBride
On Mon, 17 Jan 2011 09:53:26 -0700, koko said: >My shipping app is developed with 10.6.6 SDK. > >Some MacBook customers have asked for gesture support. > >Can I do this? I have had no luck finding a reference. Really? This worked for me (with google): mac os x gesture support site:developer.ap

Gestures

2011-01-17 Thread koko
My shipping app is developed with 10.6.6 SDK. Some MacBook customers have asked for gesture support. Can I do this? I have had no luck finding a reference. -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requ

Re: NSNotFound

2011-01-17 Thread Sean McBride
On Sat, 15 Jan 2011 18:51:52 +, Thomas Davie said: >NSNotFound could have *any* value, and in fact its value could change >from cocoa version to cocoa version. Stop looking! If they change it, they'll break binary compatibility with existing apps. So it won't be changing. (Which isn't a re

Re: Question about split view

2011-01-17 Thread Phillip Mills
On 2011-01-16, at 10:08 PM, Kyle Sluder wrote: > I'm sure developers would > love if the frameworks *did* manage memory correctly. In the absence of page/swap space for modified memory, I'm not sure what 'correctly' means. :-) To my way of thinking, the problem is that there's no well-defined

Re: Get iphoto scripting bridge handle without starting iphoto?

2011-01-17 Thread Gabriel Zachmann
> >> My question is: can I get a scripting bridge handle on iPhoto without making >> iPhoto launch? > > Scripting Bridge is about sending Apple events to an application. That > application must be running or you can't send it Apple events. That is Thanks a lot for these insights. (Thanks also

Re: Mutable to-many relationship not observable

2011-01-17 Thread Remco Poelstra
Op 15-1-2011 9:19, Ken Thomases schreef: Which will/didChange... methods do you use, when you've tested the manual notifications? Also, what does your -observeValueForKeyPath:ofObject:change:context: method look like? My suspicion is that you're using will/didChangeValueForKey: and your obse

Re: UIImagePickerController is permanently blowing away the phone's own status bar.

2011-01-17 Thread G S
I was able to work around it with [UIApplication sharedApplication].statusBarHidden = NO; ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-ad

UIImagePickerController is permanently blowing away the phone's own status bar.

2011-01-17 Thread G S
At least for the duration of the app. I'm presenting a UI that's as close as I can come to the built-in camera app's: A controller brings up UIImagePickerController in "camera" mode, with an overlay at the bottom that has a "library" button on it. If the user presses the Library button, the overl