newbie window questions

2011-04-13 Thread Artemiy Pavlov
Hi all! I have previously written plugins with custom views, but I am now working on a standalone app and have a couple very basic questions: - I would like to disable my app from maximizing on the screen. - When the app's window is closed, I would like the app to quit and not stay active in

Re: newbie window questions

2011-04-13 Thread Quincey Morris
On Apr 12, 2011, at 23:27, Artemiy Pavlov wrote: - I would like to disable my app from maximizing on the screen. Look into the window delegate method 'windowWillUseStandardFrame:defaultFrame:' or perhaps 'windowShouldZoom:toFrame:':

Re: newbie window questions

2011-04-13 Thread Laurent Daudelin
On Apr 12, 2011, at 23:27, Artemiy Pavlov wrote: Hi all! I have previously written plugins with custom views, but I am now working on a standalone app and have a couple very basic questions: - I would like to disable my app from maximizing on the screen. - When the app's window is

Re: newbie window questions

2011-04-13 Thread Artemiy Pavlov
Thanks Laurent, all worked perfectly! On 13 Apr 2011, at 10:23, Laurent Daudelin wrote: On Apr 12, 2011, at 23:27, Artemiy Pavlov wrote: Hi all! I have previously written plugins with custom views, but I am now working on a standalone app and have a couple very basic questions: - I

How to enable accessibility for Screen Change

2011-04-13 Thread Symadept
Hi, I am looking for a multiview app, if I am navigating to Page 2 from Page 1 is there a way I can enable accessibility such that, Voice Over can read as I am transitioning to Page 2. Glad to see your responses. Regards symadept ___ Cocoa-dev mailing

AVMutableMetadataItem on still photos

2011-04-13 Thread Roy Lovejoy
Watched session 409 from WWDC '10- They mentioned adding metadata via AVMutableMetadataItems. It's not clear how to add them to an AVCaptureStillImageOutput (desired)- since only AVCaptureMovieFileOutput has the metadata property. I had previously had added metadata to the photos after the fact

MPMoviePlayerController

2011-04-13 Thread Jeffrey Walton
Hi All, I'm trying to play a M4V acquired from iTunes [1]. The movie is local and was transferred into my sandbox using iTunes via file sharing. Working from a Hillegass example ('Playing Movie Files', p. 294), the player appears to load/display but does not play. Unfortunately, PLAY is not

Re: MPMoviePlayerController

2011-04-13 Thread Kyle Sluder
On Apr 13, 2011, at 9:15 AM, Jeffrey Walton noloa...@gmail.com wrote: Unfortunately, PLAY is not documented [2]. In addition, I can't find a delegate (as with other controllers) and there are no notifications covering errors [2]. Finally, the error log is for network streams [2]. Not

Re: MPMoviePlayerController

2011-04-13 Thread Jeffrey Walton
On Wed, Apr 13, 2011 at 1:26 PM, Kyle Sluder kyle.slu...@gmail.com wrote: On Apr 13, 2011, at 9:15 AM, Jeffrey Walton noloa...@gmail.com wrote: Unfortunately, PLAY is not documented [2]. In addition, I can't find a delegate (as with other controllers) and there are no notifications covering

AVFoundation still photo Zoom HDR support

2011-04-13 Thread Roy Lovejoy
I'm not seeing the methods for accessing these features in AVFoundation - I would have assumed it to be part of AVCaptureDevice, but it's no where to be found. Any help would be appreciated.___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: MPMoviePlayerController

2011-04-13 Thread Quincey Morris
On Apr 13, 2011, at 11:39, Jeffrey Walton wrote: Silly me. I went looking for documentation on MPMoviePlayerController PLAY in MPMoviePlayerController's documentation. Unfortunately, it's just something you need to learn about Apple's style of documentation -- when consulting the

Re: MPMoviePlayerController

2011-04-13 Thread Kyle Sluder
On Wed, Apr 13, 2011 at 11:39 AM, Jeffrey Walton noloa...@gmail.com wrote: On Wed, Apr 13, 2011 at 1:26 PM, Kyle Sluder kyle.slu...@gmail.com wrote: On Apr 13, 2011, at 9:15 AM, Jeffrey Walton noloa...@gmail.com wrote: Unfortunately, PLAY is not documented [2]. In addition, I can't find a

Refreshing an NSView

2011-04-13 Thread Tom Jeffries
I seem to be missing something, and it's probably something quite obvious. In the initialization to an NSView subclass window, I do the following: - (void) drawRect:(NSRect)dirtyRect { [StepWindow DrawStepArea]; } DrawStepArea is a simple function that draws some lines on the screen-

Re: MPMoviePlayerController

2011-04-13 Thread Kyle Sluder
On Wed, Apr 13, 2011 at 11:39 AM, Jeffrey Walton noloa...@gmail.com wrote: Below is the rabbit hole I went down trying to play a Movie. I would give my left arm for a return code right about now. With a error code, I could search for MPMoviePlayerController play error 0xX and probably get

Re: Refreshing an NSView

2011-04-13 Thread Quincey Morris
On Apr 13, 2011, at 12:23, Tom Jeffries wrote: I seem to be missing something, and it's probably something quite obvious. In the initialization to an NSView subclass window, I do the following: - (void) drawRect:(NSRect)dirtyRect { [StepWindow DrawStepArea]; } It works perfectly

Re: How to enable accessibility for Screen Change

2011-04-13 Thread Peter Lübke
You should rather post your question to Accessibility- d...@lists.apple.com. Am 13.04.2011 um 11:30 schrieb Symadept: Hi, I am looking for a multiview app, if I am navigating to Page 2 from Page 1 is there a way I can enable accessibility such that, Voice Over can read as I am

Are the Mac international resources available publicly?

2011-04-13 Thread Motti Shneor
Hi. In our program, we need to let the user choose a country code from a list, just like you choose input source from the language menu. I was wondering whether these well designed and pretty-complete lists of countries regions and their flags and country-codes (phone) are available to the

Cocoaheads Lake Forest meeting TONIGHT, 7pm, El Toro library

2011-04-13 Thread Scott Ellsworth
CocoaHeads Lake Forest will be meeting on the second Wednesday of the month. Please join us TONIGHT from 7pm to 9pm on Wednesday, 4/13. We will be meeting at the Orange County Public Library (El Toro) community room, 24672 Raymond Way, Lake Forest, CA 92630 Peter Hosey has built a brand new

Re: MPMoviePlayerController

2011-04-13 Thread Jeffrey Walton
On Wed, Apr 13, 2011 at 3:12 PM, Kyle Sluder kyle.slu...@gmail.com wrote: On Wed, Apr 13, 2011 at 11:39 AM, Jeffrey Walton noloa...@gmail.com wrote: On Wed, Apr 13, 2011 at 1:26 PM, Kyle Sluder kyle.slu...@gmail.com wrote: On Apr 13, 2011, at 9:15 AM, Jeffrey Walton noloa...@gmail.com wrote: [

Re: MPMoviePlayerController

2011-04-13 Thread Jeffrey Walton
On Wed, Apr 13, 2011 at 3:32 PM, Kyle Sluder kyle.slu...@gmail.com wrote: On Wed, Apr 13, 2011 at 11:39 AM, Jeffrey Walton noloa...@gmail.com wrote: Below is the rabbit hole I went down trying to play a Movie. I would give my left arm for a return code right about now. With a error code, I

UIViewControllers being reloaded on didReceiveMemoryWarning... ?

2011-04-13 Thread Martin Linklater
Hi - I'm working on latest iOS and when testing my code on an iPhone3G I sometimes get this log output: 2011-04-14 00:03:08.920 CRDev[18309:307] InGameViewController - viewDidUnload 2011-04-14 00:03:09.223 CRDev[18309:307] InGameViewController - viewDidLoad 2011-04-14 00:03:09.640

Re: UIViewControllers being reloaded on didReceiveMemoryWarning... ?

2011-04-13 Thread David Duncan
On Apr 13, 2011, at 4:14 PM, Martin Linklater wrote: Hi - I'm working on latest iOS and when testing my code on an iPhone3G I sometimes get this log output: 2011-04-14 00:03:08.920 CRDev[18309:307] InGameViewController - viewDidUnload 2011-04-14 00:03:09.223 CRDev[18309:307]

isDeletableFileAtPath: returns YES for locked files???

2011-04-13 Thread Laurent Daudelin
Is it normal that NSFileManager's isDeletableFileAtPath: returns YES for a locked file? Based on the result it returns, when I try to send it a removeItemAtPath:error:, it fails and the error localized description is '“This is a test.docx” couldn’t be removed because you don’t have permission

Re: UIViewControllers being reloaded on didReceiveMemoryWarning... ?

2011-04-13 Thread Chris Parker
On 13 Apr 2011, at 4:14 PM, Martin Linklater wrote: Hi - I'm working on latest iOS and when testing my code on an iPhone3G I sometimes get this log output: 2011-04-14 00:03:08.920 CRDev[18309:307] InGameViewController - viewDidUnload 2011-04-14 00:03:09.223 CRDev[18309:307]

Preventing View Update in NSTableView

2011-04-13 Thread Peter Lübke
Hi, I have an NSTableView subclass bound to an NSArrayController. I'd like to temporarily 'freeze' the cells in the table view while the data displayed in those cells are changed so they are not continuously redrawn. When the changes are completed, they should be updated at once. For

Re: file done writing?

2011-04-13 Thread Uli Kusterer
On 12.04.2011, at 17:54, Rainer Standke wrote: Thanks for pointing these out, Uli. Are those classes youhave on github newer than, let's say, UKKQueue on you website at http://zathras.de/angelweb/sourcecode.htm? Yes. Cheers, -- Uli Kusterer The Witnesses of TeachText are everywhere...

Re: UIViewControllers being reloaded on didReceiveMemoryWarning... ?

2011-04-13 Thread Matt Neuburg
On Wed, 13 Apr 2011 16:42:40 -0700, Chris Parker c...@apple.com said: 2011-04-14 00:03:09.640 CRDev[18309:307] InGameViewController implementation of -viewDidUnload caused the view to be reloaded. This will adversely impact system performance. The log is trying to help you out;

Re: MPMoviePlayerController

2011-04-13 Thread Matt Neuburg
On Wed, 13 Apr 2011 12:32:27 -0700, Kyle Sluder kyle.slu...@gmail.com said: I don't know what it is about Apple's documentation, but something about it trips everyone up when they first get to the platform. I'm certainly among that crowd. It's not that things aren't sufficiently documented;

[MEET] CocoaHeads-NYC tomorrow (Thursday) night

2011-04-13 Thread Andy Lee
6:00 PM at Google. Paul Kim's talk will be called The Ins and Outs of NSImage. Please submit your name (that's all we need) so Ed can have badges printed: https://spreadsheets.google.com/a/radiotope.com/viewform?hl=enhl=enformkey=dD\ BNZ1ZZbW1OS0RiYk1ldVkzRFN4QlE6MQ#gid=0 If you decide at the

Re: Are the Mac international resources available publicly?

2011-04-13 Thread Michael Dautermann
On Apr 13, 2011, at 4:30 PM, Motti Shneor wrote: Hi. In our program, we need to let the user choose a country code from a list, just like you choose input source from the language menu. I was wondering whether these well designed and pretty-complete lists of countries regions and

Re: Preventing View Update in NSTableView

2011-04-13 Thread Graham Cox
On 14/04/2011, at 10:13 AM, Peter Lübke wrote: I'd like to temporarily 'freeze' the cells in the table view while the data displayed in those cells are changed so they are not continuously redrawn. When the changes are completed, they should be updated at once. This is what happens by