Re: Distribution via DMG fails

2011-03-31 Thread Andy Lee
On Mar 29, 2011, at 10:04 PM, Gabriel Zachmann wrote: > Here is what he tried: > """ > I just double click on the screensaver in the the DMG. > The double click on DMG still cause error I sent you. > Double clicking on the .saver file from email works fine. > Moving the .saver in the DMG to desktop

[SOLVED] Re: Click in underlying document while sheet displayed?

2011-03-31 Thread Graham Cox
Thanks for the suggestions, Turns out it was straightforward, given a mode for doing the capture. Just required an event-fetching loop that used the global mouse position, passed to the dialog's delegate (which can perform a global > local conversion, and has access to all the relevant parts of

Re: iOS - Play streaming(mp3) audio with effects

2011-03-31 Thread Hank Heijink (Mailinglists)
On Mar 30, 2011, at 11:14 PM, Sasikumar JP wrote: > 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://cocoa

Can't keep untitled windows from opening!

2011-03-31 Thread Carlos Eduardo Mello
Hi everyone, I've implemented both methods bellow, but my document-based app still opens untitled windows at start-up and when reactivated from the dock. The methods are placed in the window's delegate (MyDocument.m) but they never get called. Does anybody have an idea why this is happening

Re: Can't keep untitled windows from opening!

2011-03-31 Thread WT
On Mar 31, 2011, at 1:25 PM, Carlos Eduardo Mello wrote: > Hi everyone, > > I've implemented both methods bellow, but my document-based app still opens > untitled windows at start-up and when reactivated from the dock. The methods > are placed in the window's delegate (MyDocument.m) but they n

Re: Can't keep untitled windows from opening!

2011-03-31 Thread Gary L. Wade
These should be in the app delegate. - Gary L. Wade (Sent from my iPhone) On Mar 31, 2011, at 9:25 AM, Carlos Eduardo Mello wrote: > Hi everyone, > > I've implemented both methods bellow, but my document-based app still opens > untitled windows at start-up and when reactivated from the dock.

Re: Compiling screensaver for 10.5

2011-03-31 Thread Nick Zitzmann
On Mar 31, 2011, at 12:29 AM, Gabriel Zachmann wrote: > So, here are (hopefully) all relevant settings that are in effect when I > compile using the configuration "release 10.5": > ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; If you still want to support PowerPC, then you need to change

Re: Can't keep untitled windows from opening!

2011-03-31 Thread Carlos Eduardo Mello
Are you sure the window delegate is being set correctly and isn't nil? Yes. ___ 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-admins(at)list

Re: Can't keep untitled windows from opening!

2011-03-31 Thread Carlos Eduardo Mello
Isn't the document subclass the app's delegate by default in the document architecture? On Mar 31, 2011, at 1:36 PM, Gary L. Wade wrote: These should be in the app delegate. - Gary L. Wade (Sent from my iPhone) On Mar 31, 2011, at 9:25 AM, Carlos Eduardo Mello > wrote: Hi everyone, I've

Re: constructor cannot be overloaded?

2011-03-31 Thread Sean McBride
On Wed, 30 Mar 2011 17:46:28 -0700, David Duncan said: >> 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 suppor

Re: Can't keep untitled windows from opening!

2011-03-31 Thread Andy Lee
No, and if you think about it, it couldn't be. It's possible to launch an app with no documents initially (as you are in fact trying to do) or to have multiple documents open. The app is a singleton object that has exactly one delegate, so the delegate can't be a document instance. In your mai

Re: Can't keep untitled windows from opening!

2011-03-31 Thread Sherm Pendley
On Thu, Mar 31, 2011 at 12:49 PM, Carlos Eduardo Mello wrote: > Isn't the document subclass the app's delegate by default in the document > architecture? No, it isn't. The document's job is to handle per-document responsibilities; the app delegate's job is to handle tasks that are relevant for th

Re: Can't keep untitled windows from opening!

2011-03-31 Thread Gary L. Wade
Which document or document type would you expect to speak for the app? Only GIFs, JPEGs, RTFs, or should everyone have a say? What happens when there is NO document? Who is the app's delegate in that case? - Gary L. Wade (Sent from my iPhone) On Mar 31, 2011, at 9:49 AM, Carlos Eduardo Mello

Re: Can't keep untitled windows from opening!

2011-03-31 Thread Mike Abdullah
On 31 Mar 2011, at 17:49, Carlos Eduardo Mello wrote: > Isn't the document subclass the app's delegate by default in the document > architecture? No. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or modera

Re: constructor cannot be overloaded?

2011-03-31 Thread Nick Zitzmann
On Mar 31, 2011, at 10:49 AM, Sean McBride wrote: > On Wed, 30 Mar 2011 17:46:28 -0700, David Duncan said: >> >> 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 with this project). > > But beware that NS_BUILD_32_

Re: constructor cannot be overloaded?

2011-03-31 Thread Sean McBride
On Thu, 31 Mar 2011 11:03:34 -0600, Nick Zitzmann said: >>> 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 with this project). >> >> But beware that NS_BUILD_32_LIKE_64 also changes the size of NSInteger >> in 32bi

Re: Distribution via DMG fails

2011-03-31 Thread Warren Dodge
On Mar 29, 2011, at 1:39 AM, Stephane Sudre wrote: > Do you know what the testers reporting the issue have all in common? > ... > On Tue, Mar 29, 2011 at 9:22 AM, Gabriel Zachmann > wrote: >> ... >> >> I have developed a little program (a screensaver, actually). >> >> When I send it (just the .

Re: Distribution via DMG fails

2011-03-31 Thread Stephane Sudre
Not the issue AFAIK. The quarantine flag does not affect the double-click action on a screen saver module. My $0.02 On Thu, Mar 31, 2011 at 10:43 AM, Warren Dodge wrote: > On Mar 29, 2011, at 1:39 AM, Stephane Sudre wrote: >> Do you know what the testers reporting the issue have all in common? >

Re: Compiling screensaver for 10.5

2011-03-31 Thread Laurent Daudelin
On Mar 31, 2011, at 09:42, Nick Zitzmann wrote: > > On Mar 31, 2011, at 12:29 AM, Gabriel Zachmann wrote: > >> So, here are (hopefully) all relevant settings that are in effect when I >> compile using the configuration "release 10.5": >> ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; > >

Re: Compiling screensaver for 10.5

2011-03-31 Thread Nick Zitzmann
On Mar 31, 2011, at 1:03 PM, Laurent Daudelin wrote: >> You should also change this to macosx10.6 for the x86_64 build only. > > Maybe a stupid question but how do you change build settings for a particular > architecture? I'm still on 3.2.6, btw... In the build tab of the info window on the t

Don't open email from me with no Subject!!!! My email has been hijacked

2011-03-31 Thread Brian Hughes
___ 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-admins(at)lists.apple.com Help/Unsubscribe/Updat

Re: Can't keep untitled windows from opening!

2011-03-31 Thread Carlos Eduardo Mello
Thank you all for the clarifications. Now I see it didn't really make any sense... Following Andy's recommendation, I wrote a class to be the app's delegate and handle these calls. It works fine now. On Mar 31, 2011, at 1:55 PM, Andy Lee wrote: No, and if you think about it, it couldn't be. I

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

2011-03-31 Thread Sean McBride
On Wed, 30 Mar 2011 15:57:53 -0700, Quincey Morris said: >> That FAQ is actually pretty darn close to my original question really. >> But it's a little vague. I've never been clear on when/where it's safe >> to use KVO from one managedobject to another. It says "You must add and >> remove the pa

Are the progress spinner images publically available?

2011-03-31 Thread James Bucanek
Greetings, Simple question: I'm creating a CALayer to animate an indeterminate progress spinner, a la NSProgressIndicator, and I'm wondering if the ubiquitous "sweeping" spinner images are public resources in the OS or do I need to roll my own? TIA -- James Bucanek _

Fwd: Plugin iPhoto don't Finish!

2011-03-31 Thread Alejandro Visiedo GarcĂ­a
Hello! One month later! Finally i have the solution from my problem! and i upload photos succesful to social networks! wow! The origin of the problem was a model dialog that i showed before run performExport message from my controller! When i stop run modal loop, i called [dialog setHidden:TRU

Re: Are the progress spinner images publically available?

2011-03-31 Thread John Pannell
Hi James- Don't know if this fits your objectives, but I found an excellent layer-based solution to this: YRKSpinningProgressIndicator https://github.com/kelan/yrk-spinning-progress-indicator-layer Hope this helps! John John Pannell http://www.positivespinmedia.com On Mar 31, 2011, at 3:

Re: Are the progress spinner images publically available?

2011-03-31 Thread Mike Abdullah
On 31 Mar 2011, at 22:54, James Bucanek wrote: > Greetings, > > Simple question: I'm creating a CALayer to animate an indeterminate progress > spinner, a la NSProgressIndicator, and I'm wondering if the ubiquitous > "sweeping" spinner images are public resources in the OS or do I need to roll

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

2011-03-31 Thread Quincey Morris
On Mar 31, 2011, at 14:13, Sean McBride wrote: > Still, I'm hesitant to do KVO observation from one managedobject to > another. I currently don't do that anywhere. Do you use this technique > frequently? Frequently? Yes. With Core Data? Not recently, but in the past, similar things. > It's u

Re: Can't keep untitled windows from opening!

2011-03-31 Thread Quincey Morris
On Mar 31, 2011, at 12:51 PM, Carlos Eduardo Mello wrote: > Isn't the document subclass the app's delegate by default in the > document architecture? Incidentally, your choice of words reflects the point of confusion. Classes aren't delegates, objects are. If you'd written your question as "Is

Seeking advice for how to implement "notification" upon completion of asynchronous upload

2011-03-31 Thread Chris Markle
Still fairly new here to iOS and Objective-C programming, so looking for some advice to help keep me from going down the wrong road(s)... I would like to build an Objective-C class or classes to perform a file upload using a non-standard protocol. It would run the upload asynchronously and would ne

Compiling screensaver for 10.5

2011-03-31 Thread Gabriel Zachmann
I am really beginning to pull my hair, because it seems that I am incapable of compiling my screensaver for 10.5. I've got one user who says that he can't install my screensaver under 10.5. I have tried a number of different settings in my project settings, to no avail. Unfortunately, I don't hav

does not implement the NSTextViewDelegate protocol

2011-03-31 Thread JAMES ROGERS
Everything works but I am getting the following: Warning: Class "WinKeyer2AppDelegate" does not implement the 'NSTextViewDelegate' protocol." code snippet: - (void) awakeFromNib{ [<*textView> setDelegate:self]; } - (void) textDidChange:(NSNotification *)aNotification { < process

Re: does not implement the NSTextViewDelegate protocol

2011-03-31 Thread Howard Siegel
Have you properly added the protocol declaration to your class interface definition?? e.g. @interface YouClass : BaseClass {...} - h On Thu, Mar 31, 2011 at 16:09, JAMES ROGERS wrote: > Everything works but I am getting the following: > > Warning: Class "WinKeyer2AppDelegate" does not imp

Re: does not implement the NSTextViewDelegate protocol

2011-03-31 Thread Roland King
Did you declare the class as implementing the protocol? @interface myclass : superclass On Apr 1, 2011, at 7:09, JAMES ROGERS wrote: > Everything works but I am getting the following: > > Warning: Class "WinKeyer2AppDelegate" does not implement the > 'NSTextViewDelegate' protocol." > >

Re: Compiling screensaver for 10.5

2011-03-31 Thread Joar Wingfors
Hello Gabriel, Some questions and comments: What kind of hardware does your Mac OS X 10.5 user have (i386 / ppc)? Which version of Xcode are you using? Note that 3.2.6 dropped PPC support. Check your binary to verify that it contains the architectures that you expect: $ file /path/to/ArtSaver.s

(no subject)

2011-03-31 Thread Rikza Azriyan
Anyone could help me,, I want to handle touch drag event programatically, for example in ibooks reader, we use fingertips for navigating to next/prev page by sliding the screen to the left/right direction. I want to handle this event within my code, such as give the first cordinate in A(180,45)

Simulate touch event with cordinate?

2011-03-31 Thread Rikza Azriyan
Sorry for my previous post without subject. Anyone could help me,, I want to handle touch drag event programatically, for example in ibooks reader, we use fingertips for navigating to next/prev page by sliding the screen to the left/right direction. I want to handle this event within my code, s

Re: Seeking advice for how to implement "notification" upon completion of asynchronous upload

2011-03-31 Thread WT
On Mar 31, 2011, at 9:08 PM, Chris Markle wrote: > Still fairly new here to iOS and Objective-C programming, so looking > for some advice to help keep me from going down the wrong road(s)... I > would like to build an Objective-C class or classes to perform a file > upload using a non-standard pro

Re: (no subject)

2011-03-31 Thread WT
On Apr 1, 2011, at 1:29 AM, Rikza Azriyan wrote: > Anyone could help me,, > I want to handle touch drag event programatically, for example in ibooks > reader, we use fingertips for navigating to next/prev page by sliding the > screen to the left/right direction. > I want to handle this event wi

Re: Compiling screensaver for 10.5

2011-03-31 Thread Gabriel Zachmann
> What kind of hardware does your Mac OS X 10.5 user have (i386 / ppc)? It's a G4. (Sorry, I forgot to mention that in my post.) > Which version of Xcode are you using? Note that 3.2.6 dropped PPC support. I've got 3.2.6. Thanks to another member of this mailinglist, I have added "ppc" to the s