Compiling screensaver for 10.5

2011-03-30 Thread Gabriel Zachmann
It seems to me that I have never really understood exactly what xcode project settings I need to compile a screensaver to run under 10.5 ;-( So I'd like to get this right once and for all. I am developing under 10.6.6. In my xcode project, I have made a new configuration (called "release 10.5"),

Re: In App Purchase's SKProductsRequest not working when App is already installed on the device

2011-03-30 Thread Hunter Hillegas
Are you connecting to the Sandbox environment or production? I believe you can only connect to Sandbox when launched via Xcode *and* if the app is being 'upgraded' from an App Store version, it won't trigger the Sandbox. At least, that's a tiny bit of IAP voodoo I've witnessed... That means it

In App Purchase's SKProductsRequest not working when App is already installed on the device

2011-03-30 Thread miky...@gmail.com
> > Hi, > I am having problems testing the In App Purchase feature. If I reinstall the app on a device that has already installed the app with a previous version, the SKProductsRequest returns a response only with an object on the invalidProductIdentifiers. If I delete the app from the device and

iOS - Play streaming(mp3) audio with effects

2011-03-30 Thread Sasikumar JP
I am new to iOS Audio Technology. I am developing an application which will play streaming audio(mp3), planning to add some effects like iPod Equalizer,Pan Control. I have tried to use Matt Gallagher's AudioStreamer API (http://cocoawithlove.com/2008/09/streaming-and-playing-live-mp3-stream.htm

Re: Click in underlying document while sheet displayed?

2011-03-30 Thread Ken Thomases
On Mar 30, 2011, at 7:01 PM, Graham Cox wrote: > The problem is of course, how to do this while the sheet is showing, since it > grabs all the events. It would be acceptable (and probably necessary) to have > a special mode a bit like Color Panel's sampling click mode for doing this. You might

Re: constructor cannot be overloaded?

2011-03-30 Thread Scott Ribe
On Mar 30, 2011, at 6:36 PM, Rick Mann wrote: > Hey! Look at that! Under certain conditions... 64-bit builds, rects, points (and I don't know what else maybe) are the same. -- Scott Ribe scott_r...@elevated-dev.com http://www.elevated-dev.com/ (303) 722-0567 voice __

Re: constructor cannot be overloaded?

2011-03-30 Thread Rick Mann
On Mar 30, 2011, at 17:46 , David Duncan wrote: > On Mar 30, 2011, at 5:36 PM, Rick Mann wrote: > >> Hey! Look at that! Under certain conditions, NSRect is just typedef to be >> CGRect (as it should've been all along). > > > You can use NS_BUILD_32_LIKE_64 then you can ensure that this happen

Re: constructor cannot be overloaded?

2011-03-30 Thread David Duncan
On Mar 30, 2011, at 5:36 PM, Rick Mann wrote: > Hey! Look at that! Under certain conditions, NSRect is just typedef to be > CGRect (as it should've been all along). You can use NS_BUILD_32_LIKE_64 then you can ensure that this happens in all of your builds (assuming you still support 32-bit wi

Re: constructor cannot be overloaded?

2011-03-30 Thread Rick Mann
Oh, and looks like it's not the first time I've asked this question. Terrifying, since I didn't even have a vague sense of deja vu when looking at it. -- Rick On Mar 30, 2011, at 17:36 , Rick Mann wrote: > Hey! Look at that! Under certain conditions, NSRect is just typedef to be > CGRect (as

Re: constructor cannot be overloaded?

2011-03-30 Thread Rick Mann
Hey! Look at that! Under certain conditions, NSRect is just typedef to be CGRect (as it should've been all along). Sorry for the noise. -- Rick On Mar 30, 2011, at 17:30 , Rick Mann wrote: > I have a C++ class I use to wrap CGRect: > > class > Rect : public CGRect > { > public: >

constructor cannot be overloaded?

2011-03-30 Thread Rick Mann
I have a C++ class I use to wrap CGRect: class Rect : public CGRect { public: Rect(); Rect(const Rect& inRect); Rect(const CGRect& inRect); Rect& operator=(const Rect& inRect); Rect& operator=(const CGRect&

Re: Click in underlying document while sheet displayed?

2011-03-30 Thread WT
On Mar 30, 2011, at 9:01 PM, Graham Cox wrote: > Hi all, > > I have a situation where I present a sheet dialog. The sheet asks the user > for some input values to perform a "polar duplicate" of a graphic object in > the underlying document (number of copies, rotation increment, etc). One of >

Click in underlying document while sheet displayed?

2011-03-30 Thread Graham Cox
Hi all, I have a situation where I present a sheet dialog. The sheet asks the user for some input values to perform a "polar duplicate" of a graphic object in the underlying document (number of copies, rotation increment, etc). One of the parameters is the centre point, and I figure a nice way

Re: Binding tablecolumn to attribute of specific object in to-many relationship?

2011-03-30 Thread Dado Colussi
On 30 March 2011 17:02, Sean McBride wrote: > On Tue, 29 Mar 2011 18:15:28 -0700, Quincey Morris said: > > >On Mar 29, 2011, at 14:57, Sean McBride wrote: > > > >> I've considered adding a optional transient to-one relationship to > >> Department named 'employeeId0' and binding the tablecolumn to

Re: Binding tablecolumn to attribute of specific object in to-many relationship?

2011-03-30 Thread Quincey Morris
On Mar 30, 2011, at 15:02, Sean McBride wrote: > By 'normal derived property' do you mean in this sense: > > CoreData/Articles/cdFAQ.html#//apple_ref/doc/uid/TP40001802-SW3> That's the sense I meant. > That FAQ is actuall

Re: Binding tablecolumn to attribute of specific object in to-many relationship?

2011-03-30 Thread Sean McBride
On Tue, 29 Mar 2011 18:15:28 -0700, Quincey Morris said: >On Mar 29, 2011, at 14:57, Sean McBride wrote: > >> I've considered adding a optional transient to-one relationship to >> Department named 'employeeId0' and binding the tablecolumn to >> departmentsArrayController>arrangedObjects>employeeId

Re: Two Applications Sharing Same Core Data Database

2011-03-30 Thread Jerry Krinock
On 2011 Mar 30, at 13:09, Nick Zitzmann wrote: > Something like that. Or you can send a notification containing the IDs of the > managed objects that were changed in the other app, and have your handler > re-fault its managed objects if necessary so that it'll have the latest > information whe

Re: Two Applications Sharing Same Core Data Database

2011-03-30 Thread Nick Zitzmann
On Mar 30, 2011, at 2:05 PM, Carter R. Harrison wrote: >>> 2. What is the best way to implement it? >> >> Put your CoreData code into a framework shared by your applications. And use >> distributed notifications to keep the applications in sync. > > So when one application saves the data sto

Re: Two Applications Sharing Same Core Data Database

2011-03-30 Thread Carter R. Harrison
On Mar 30, 2011, at 4:03 PM, Nick Zitzmann wrote: > > On Mar 30, 2011, at 1:45 PM, Carter R. Harrison wrote: > >> I'm working on a Mac Application that will have a helper application that is >> always running in the background (even if the main application is not >> currently running). Curre

Re: Two Applications Sharing Same Core Data Database

2011-03-30 Thread Nick Zitzmann
On Mar 30, 2011, at 1:45 PM, Carter R. Harrison wrote: > I'm working on a Mac Application that will have a helper application that is > always running in the background (even if the main application is not > currently running). Currently the main application uses Core Data to manage > persist

Two Applications Sharing Same Core Data Database

2011-03-30 Thread Carter R. Harrison
I'm working on a Mac Application that will have a helper application that is always running in the background (even if the main application is not currently running). Currently the main application uses Core Data to manage persistent objects. I'd like to setup the helper application to be able

Re: Xcode 4.0 Application builds

2011-03-30 Thread Laurent Daudelin
On Mar 30, 2011, at 11:43, Arun wrote: > Hi All, > > I am using Xcode 4.0 to build the application and the using Apple package > maker to create an installer package. > When i install the application, installer log is showing that "relocating > the application to /Users//Libary/Application Su

iOS - streaming Audio(mp3) playback using AudioUnit API

2011-03-30 Thread Sasikumar JP
Hi, I am a newbie in iOS Audio Technology. I am developing an application which plays the streaming audio(mp3). I am able to play/pause the streaming audio using AudioQueue. I want to add effects like iPod Equalizer and Pan control. Will i able to add the effects using AudioQueue?

Xcode 4.0 Application builds

2011-03-30 Thread Arun
Hi All, I am using Xcode 4.0 to build the application and the using Apple package maker to create an installer package. When i install the application, installer log is showing that "relocating the application to /Users//Libary/Application Support". When i compile/build using Xcode 3.1.2 it pe

Re: why I got wrong arguments from command-line

2011-03-30 Thread Sean McBride
On Tue, 29 Mar 2011 22:55:45 +0800, Haibin Liu said: >1.double click to start my application (no additional command-line >arguments). > >2.and start application from command-line with additional arguments. > >3.i got wrong arguments >NSArray * argvs = [[NSProcessInfo processInfo] arguments]; >

Re: autorelease pool comprehension

2011-03-30 Thread Paul Scott
Oh, man! That was some wicked beer I drank. I see now that I've retained those objects by adding them to the array. Please ignore my questions. Paul On Mar 30, 2011, at 9:53 AM, Apple Developer wrote: > Reading about autorelease pools gave me the idea that I could reduce the > memory footprin

Re: autorelease pool comprehension

2011-03-30 Thread Wim Lewis
On 30 Mar 2011, at 9:53 AM, Apple Developer wrote: > Why were the NSNumber objects not released when the pool was released? They are being kept alive because they are (indirectly) members of 'list', which I assume is released by a containing autorelease pool somewhere.

Re: autorelease pool comprehension

2011-03-30 Thread Jean-Daniel Dupas
Le 30 mars 2011 à 18:53, Apple Developer a écrit : > Reading about autorelease pools gave me the idea that I could reduce the > memory footprint of my iPhone app. So, to aid in my understanding of > autorelease pools, I created a pool in a small loop and released it at the > end. Then, I ran t

Re: autorelease pool comprehension

2011-03-30 Thread David Duncan
On Mar 30, 2011, at 9:53 AM, Apple Developer wrote: > Why were the NSNumber objects not released when the pool was released? In your example the numbers were added to an array that was then added to another object (list). Since each of these steps would normally retain the objects as well, unt

autorelease pool comprehension

2011-03-30 Thread Apple Developer
Reading about autorelease pools gave me the idea that I could reduce the memory footprint of my iPhone app. So, to aid in my understanding of autorelease pools, I created a pool in a small loop and released it at the end. Then, I ran the app in the debugger with a breakpoint at the top of the lo

Re: UIView size after rotation

2011-03-30 Thread David Duncan
On Mar 30, 2011, at 4:19 AM, Remco Poelstra wrote: > In my UIVIewController > -(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation > duration:(NSTimeInterval)duration, I need to know the size of the view after > it's rotated. Is there a way to calculate it if i

Re: NSObject Category Issue on iOS

2011-03-30 Thread Andy Lee
On Mar 29, 2011, at 10:33 PM, Nik Heger wrote: @interface NSObject (Logger) - (void) LOGx1: (id) first, ...;// support for simple logging of multiple string @end   That looks right. So now, I expected to be able to call LOGx1 on any object   That is the correct expectation, assuming all your o

Re: NSObject Category Issue on iOS

2011-03-30 Thread Mike Abdullah
It looks like you've declared the method, but never actually implemented it! What's your .m file look like? On 30 Mar 2011, at 03:33, Nik Heger wrote: > I am new to Objective-C so please forgive me if this is obvious. > > I come from Ruby, where extending built in classes is straight forward -

Re: UIView size after rotation

2011-03-30 Thread WT
On Mar 30, 2011, at 8:19 AM, Remco Poelstra wrote: > Hi, > > In my UIVIewController > -(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation > duration:(NSTimeInterval)duration, I need to know the size of the view after > it's rotated. Is there a way to calculat

Re: UIView size after rotation

2011-03-30 Thread WT
On Mar 30, 2011, at 8:19 AM, Remco Poelstra wrote: > Hi, > > In my UIVIewController > -(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation > duration:(NSTimeInterval)duration, I need to know the size of the view after > it's rotated. Is there a way to calculat

Re: Distribution via DMG fails

2011-03-30 Thread Gabriel Zachmann
> Check the Info.plist file of your screensaver. You might be missing some keys. OK, which keys could that be? The Info.plist's in the DMG and in the ZIP file are identical. (As a reminder: the target platform is 10.6.7, and I'm compiling under 10.6.6) Here are the keys (I hope, this is not too l

UIView size after rotation

2011-03-30 Thread Remco Poelstra
Hi, In my UIVIewController -(void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration, I need to know the size of the view after it's rotated. Is there a way to calculate it if it can not be requested? The view's bounds are still in

Re: Distribution via DMG fails

2011-03-30 Thread Stephane Sudre
On Wed, Mar 30, 2011 at 4:04 AM, Gabriel Zachmann wrote: >> Are you sure you're building the application the same way for both cases? If >> one's a debug build and the other is a release build, then that could >> explain that you're not getting all architectures in one case. > > Yes, I am sure a

Trying to start up a Rome (Italy) cocoaheads chapter (so looking for interested parties)

2011-03-30 Thread Giacomo Tufano
Subject says all, we're trying to start a cocoaheads chapter in Rome (Italy). If you're interested please get back (off list) to me and/or Ugo. Have a nice day all, gt --- Giacomo Tufano Stat rosa pristina nomine, nomina nuda tenemus. ___ Cocoa-dev

NSSecureTextFieldCell and Zeroization

2011-03-30 Thread Jeffrey Walton
Hi All, According to [1], NSSecureTextFieldCell provides a text field whose value is guarded from user examination. Does anyone know if the object zeroizes its memory? If not, does anyone have suggestions to get a ZeroizingSecureTextFieldCell? Thanks in advance, Jeff [1] http://developer.appl

UIWebview accessibility enable

2011-03-30 Thread Symadept
Hi, Is there a way that the content in the UIWebView shall be accessible similar to safari. Load yahoo.com in safari and enable accessibility then if I click on Yahoo logo, it shows yahoo image. Its same for all. Thanks in advance. Regards symadept ___