Re: Bug with QTCaptureLayer..........?

2009-01-22 Thread Freddie Tilley
On 22 jan 2009, at 07:26, Anshul jain wrote: I am trying to capture live video. For displaying live video i am using QTCaptureLayer. It works fine with a USB Camera but as soon as Firewire camera is use flickering starts happening. When i use the QTCaptureView it works fine. Any

Re: Format float value to display with commas

2009-01-22 Thread Tharindu Madushanka
Great, thanks On Wed, Jan 21, 2009 at 8:43 PM, Rob Boellaard rbo...@tuparev.com wrote: In addition to Kenneth Bruno's suggestion, there is also the Data Formatting guide: http://developer.apple.com/documentation/Cocoa/Conceptual/DataFormatting/DataFormatting.html hth, Rob On

Re: Is there any mirroring in the Cocoa UI ?

2009-01-22 Thread eric.bachard
[CC m...@porting.openoffice.org , as answer to the initial question] Hi, Gary L. Wade a écrit : Not in the sense you get from the Windows platform whereby setting a flag on the parent window causes everything to automatically jump to the opposite side of the window and lay itself out

NSProgressIndicator not accepting updates

2009-01-22 Thread Aaron Wallis
Hi there, This is probably a really obvious bug, but I can't seem to get my NSProgressIndicator to show progress when using incrementBy: or setDoubleValue:. As an example, i've got a controller which has a NSProgressIndicator bound to it through IB, and on the awakeFromNib method I've

Re: NSProgressIndicator not accepting updates

2009-01-22 Thread Robert Martin
If I remember correctly, %d requires an integer On Jan 22, 2009, at 11:31 AM, Aaron Wallis wrote: double tD = 0.5; [progressBar setDoubleValue:tD]; NSLog(@%d, [progressBar doubleValue]); ___ Cocoa-dev

Re: Bug with QTCaptureLayer..........?

2009-01-22 Thread Anshul jain
Is there any alternative for it. because when i use the QTCaptureView my application performance really degrades . Is CAOpenGLLayer will be a good idea ? On 22-Jan-09, at 1:51 PM, Freddie Tilley wrote: On 22 jan 2009, at 07:26, Anshul jain wrote: I am trying to capture live video. For

Re: Distributed Objects

2009-01-22 Thread I. Savant
On Jan 21, 2009, at 11:21 PM, Michael Ash wrote: I'm sure we're all dying to know, are there actually two people with that exact same name and e-mail address, or what? Well ... sort of. http://en.wikipedia.org/wiki/Two-Face -- I.S. ___

Playing quartz composition using manual opengl rendering creates extreme flicker

2009-01-22 Thread Jonathan Selander
Hi, I use the method from the QCTV example to play a quartz composition with the difference that i use a qcview and then the opengl context of it to render the qc instead of creating the opengl context myself. This works like a charm with my iSight on a power mac G5, but when i try it on

Reverse-engineering Apple's two-tinted gradient NSViews

2009-01-22 Thread Sam Krishna
I think my understanding of NSGradient's use may be off here I'm trying to create a custom NSView that uses NSGradient to shade the view in such a way that it mimics Apple's two-tints NSView. You can see the color scheme at the bottom left hand corner of Mail and the NSView at the

Re: Reverse-engineering Apple's two-tinted gradient NSViews

2009-01-22 Thread Sam Krishna
Two points: 1. Reverse-engineer may be a little strong. Mimicking is what I'm going after. 2. I meant to say right (nee correct) angle, not right angle. Please don't respond with a pithy all 90 degree angles are the right angle Live Playfully, Sam - If he listens in faith, finding

Re: Reverse-engineering Apple's two-tinted gradient NSViews

2009-01-22 Thread jonat...@mugginsoft.com
On 22 Jan 2009, at 12:57, Sam Krishna wrote: I think my understanding of NSGradient's use may be off here I'm trying to create a custom NSView that uses NSGradient to shade the view in such a way that it mimics Apple's two-tints NSView. You can see the color scheme at the bottom left

Re: Telling the Help menu Spotlight search to ignore certain items

2009-01-22 Thread Keith Blount
Many thanks for your reply. I'll file an enhancement request, but still looking for a solution to the problem, is there any way to be notified of when the Help menu is about to start doing this indexing? If there were, I could tell my dynamic menus not to rebuild themselves in that situation. I

Re: OCUnit test failure - assert formatted text not presented

2009-01-22 Thread jonat...@mugginsoft.com
On 22 Jan 2009, at 14:14, Jeremy Pereira wrote: On 22 Jan 2009, at 13:27, jonat...@mugginsoft.com wrote: I do not seem to be seeing the formatted about of my OCUnit STxxx macros. My OCUnit test failures produce only the following output: Error:Failed test for achitecture 'i386' (GC ON)

Writing to an iFrame with Javascript

2009-01-22 Thread Alex Mills
Hey, I have built a Javascript WYSIWYG editor here : http://www.alexmillsdesign.com/Developer/FernEngine/Default.htm I want to send the contents of a NSTextView to the iFrame in the editor. I have tried using some of the methods in the CallJS sample app but while I'm able to open and close

Re: NSProgressIndicator not accepting updates

2009-01-22 Thread Randall Meadows
On Jan 22, 2009, at 3:31 AM, Aaron Wallis wrote: As an example, i've got a controller which has a NSProgressIndicator bound to it through IB, and on the awakeFromNib method I've got a little bit of code: double tD = 0.5; [progressBar setDoubleValue:tD];

Re: Switching NSDocument based application to tabbed views interface

2009-01-22 Thread Ross Carter
On Jan 21, 2009, at 1:38 PM, Fritz Anderson wrote: On 21 Jan 2009, at 9:42 AM, Ross Carter wrote: Can someone give me a hint how can I switch one window per document model (that currently works as expected thanks to NSDocument) to one tab per document, same window? This is answered in

Re: OCUnit test failure - assert formatted text not presented

2009-01-22 Thread Timothy Reaves
On Jan 22, 2009, at 8:27 AM, jonat...@mugginsoft.com wrote: On 22 Jan 2009, at 14:14, Jeremy Pereira wrote: On 22 Jan 2009, at 13:27, jonat...@mugginsoft.com wrote: I do not seem to be seeing the formatted about of my OCUnit STxxx macros. My OCUnit test failures produce only the

Memory Management - Best practices

2009-01-22 Thread Yvan BARTHÉLEMY
Hello, I am implementing mouse support in Core Animation. For this I have a CAButton : CALayer and adds button-related behavior : highlighting on mouseDown, stopping highlighting on mouseExit, etc. and actions. The actions are associated using: -[CAButton setAction:(SEL) withTarget:(SEL)]

Re: Log4Cocoa

2009-01-22 Thread Timothy Reaves
On Jan 21, 2009, at 4:56 PM, Barry Wark wrote: On Wed, Jan 21, 2009 at 1:15 PM, Kyle Sluder kyle.slu...@gmail.com wrote: On Wed, Jan 21, 2009 at 2:58 PM, Robert Kukuchka rkukuc...@gmail.com wrote: I'm looking into logging frameworks and see references to this project. Does anyone

Re: Reverse-engineering Apple's two-tinted gradient NSViews

2009-01-22 Thread Brandon Walkin
The view in question has a 4-stop gradient, with each stop positioned at a particular point, rather than spaced evenly. The view also draws a grey line at the top, so you'll want to reduce the height of the gradient rect by a pixel to leave space for it so you can draw it at some other

Re: NSScroller buttons not scrolling?

2009-01-22 Thread Nick Zitzmann
On Jan 21, 2009, at 9:07 PM, Erik Buck wrote: One possibility that answers the following question which is similar to yours: Sigh. I actually did search for NSScroller not scrolling, and got a bunch of results that had nothing to do with my problem, and it turns out that there was one

[SOLVED] NSScrollView Tiger v Leopard

2009-01-22 Thread David Blanton
My thanks to Kyle for shaming me into RTFM! Upon changing my code to setDocumentView I get the same result on Tiger and Leopard, i.e when switching to a table view in the scroll view the thumb behaves properly. Thanks! David Blanton ___

Re: Custom Cocoa Component/Control

2009-01-22 Thread Shawn Erickson
On Wed, Jan 21, 2009 at 6:33 PM, Paul Franz paulfr...@email.com wrote: Can a custom NSControl/NSCell combo be used in a normal NSView? Yes. This type of question implies you may want to dig a little more deeply in the view documentation.

Re: OCUnit test failure - assert formatted text not presented [solved]

2009-01-22 Thread jonat...@mugginsoft.com
A bit of self inflicted stupidity here. I had dragged in some logging code from another app which sneakily redirected stderr. OCUnit test failures are now reported in the build transcript window. On 22 Jan 2009, at 16:46, Timothy Reaves wrote: On Jan 22, 2009, at 8:27 AM,

IBOutlet objects not responding to any messages passed

2009-01-22 Thread Cormac Daly
Hi list, I've added a new window to my application and have written a window controller class. Everything is going fine, except for the fact that when initialising the window, none of my IBOutlets are responding to methods called on them. This is the case in both the init and windowDidLoad

Re: IBOutlet objects not responding to any messages passed

2009-01-22 Thread Joseph Crawford
Did you make the connections in IB? You need to do that on top of adding the outlets in code. Joseph Crawford On Jan 22, 2009, at 5:44 AM, Cormac Daly wrote: Hi list, I've added a new window to my application and have written a window controller class. Everything is going fine, except for

Re: Log4Cocoa

2009-01-22 Thread Karl Moskowski
On Jan 21, 2009, at 4:56 PM, Barry Wark wrote: +1 ASL supports logging level filtering and redirection to one or more URLs. It's a C library, but it's quite trivial to write an ObjC wrapper on top (email me offline, if you'd like to take a look a my code; I'm not quite ready to release it

NSTextView and front/middle/back ellipses

2009-01-22 Thread Harry Plate
I have a simple text view that will display its text information with an ellipses on the right (end) if the string is too long for the view. Nice, but... How can I tell NSTextView to use a front or middle ellipses for viewing purposes? -h ___

Re: IBOutlet objects not responding to any messages passed

2009-01-22 Thread Shawn Erickson
On Thu, Jan 22, 2009 at 2:44 AM, Cormac Daly cormacd...@gmail.com wrote: Any ideas? Is there a problem in the ordering somewhere? Its probably something very basic but I'm stumped! You are subclassing NSWindowController and NSWindowController will call windowDidLoad after the nib it loads is

Re: IBOutlet objects not responding to any messages passed

2009-01-22 Thread Cormac Daly
Thank you to everyone who replied to this query: it is now resolved. I had created a custom class for the window controller in Interface Builder, but I got rid of it and hooked up all the outlets via File's Owner instead. I'm not sure exactly how this worked but it did! Thanks again, Cormac On

Re: NSTextView and front/middle/back ellipses

2009-01-22 Thread Randall Meadows
On Jan 22, 2009, at 11:03 AM, Harry Plate wrote: I have a simple text view that will display its text information with an ellipses on the right (end) if the string is too long for the view. Nice, but... How can I tell NSTextView to use a front or middle ellipses for viewing purposes?

Re: NSUserDefaultsController not updating defaults via binding

2009-01-22 Thread Matt Neuburg
On Fri, 16 Jan 2009 15:24:45 -0800, Luke Evans l...@eversosoft.com said: I tried a set up where some UI (slider) bound to a property on a class, and separately this class' init programmatically set up a binding to NSUserDefaultsController sharedUserDefaultsController to initialise both the

Re: Log4Cocoa

2009-01-22 Thread Kyle Sluder
On Thu, Jan 22, 2009 at 11:53 AM, Timothy Reaves trea...@silverfieldstech.com wrote: There are a number of reasons to use Log4Cocoa over something like ASL. The fact that it already supports Obj-C is the least of them. * It supports various logging levels, As does ASL. * supports

Re: Telling the Help menu Spotlight search to ignore certain items

2009-01-22 Thread Eric Schlegel
On Jan 22, 2009, at 6:23 AM, Keith Blount wrote: Many thanks for your reply. I'll file an enhancement request, but still looking for a solution to the problem, is there any way to be notified of when the Help menu is about to start doing this indexing? If there were, I could tell my

Re: Switching NSDocument based application to tabbed views interface

2009-01-22 Thread Klaus Backert
On 22. Jan 2009, at 17:02, Ross Carter wrote: On Jan 21, 2009, at 1:38 PM, Fritz Anderson wrote: On 21 Jan 2009, at 9:42 AM, Ross Carter wrote: Can someone give me a hint how can I switch one window per document model (that currently works as expected thanks to NSDocument) to one tab

Re: NSProgressIndicator not accepting updates

2009-01-22 Thread Aaron Wallis
Yeah, I realised that %d should be %f shorly after I send the email - however, even after I changed it the progress indicator still didn't update itself, and the value echo'ed was 20.5!? I tried tinkering with the intdeterminate setting but, although it stopped the barber shop animation,

Re: Bug with QTCaptureLayer..........?

2009-01-22 Thread Gordon Apple
As is supposedly the alternating start/stop when you change anything in the layer. I haven't had a chance to test it yet. (Waiting on a new HD to arrive to load Snow Leopard.) BTW, I haven't seen an update since around Dec. 1. What's with that? On 1/22/09 7:04 AM,

Re: NSProgressIndicator not accepting updates

2009-01-22 Thread Andy Lee
What are the min and max values? The defaults in IB are 20 and 100, so maybe you aren't seeing anything because the initial value of 0.5 is too small. --Andy On Jan 22, 2009, at 2:17 PM, Aaron Wallis wrote: Yeah, I realised that %d should be %f shorly after I send the email - however,

Re: Telling the Help menu Spotlight search to ignore certain items

2009-01-22 Thread Keith Blount
Okay, thanks again anyway. I've filed an enhancement request, and for now I'll just try to optimise the menu building as best as I can, being sure only to update them when they have actually changed. Thanks again and all the best, Keith --- On Thu, 1/22/09, Eric Schlegel eri...@apple.com

Re: Custom Cocoa Component/Control

2009-01-22 Thread Paul Franz
Thanks. I will read that. Paul Franz Shawn Erickson wrote: On Wed, Jan 21, 2009 at 6:33 PM, Paul Franz paulfr...@email.com wrote: Can a custom NSControl/NSCell combo be used in a normal NSView? Yes. This type of question implies you may want to dig a little more deeply in the view

Re: IBOutlet objects not responding to any messages passed

2009-01-22 Thread Kyle Sluder
On Thu, Jan 22, 2009 at 1:11 PM, Cormac Daly cormacd...@gmail.com wrote: I had created a custom class for the window controller in Interface Builder, but I got rid of it and hooked up all the outlets via File's Owner instead. I'm not sure exactly how this worked but it did! You don't create

My objectcontroller is loosing its moc, but only with certain timing

2009-01-22 Thread Sean McBride
Hi all, I'm getting a weird exception, Cannot perform operation without a managed object context, with this backtrace: #0 0x93d66e17 in objc_exception_throw () #1 0x9485beeb in +[NSException raise:format:arguments:] () #2 0x9485bf2a in +[NSException raise:format:] () #3 0x94de2ff5 in

Re: Reverse-engineering Apple's two-tinted gradient NSViews

2009-01-22 Thread Corbin Dunn
- (void)drawRect:(NSRect)rect { // Drawing code here. NSArray *_colorArray = [NSArray arrayWithObjects: [NSColor colorWithDeviceRed:0.9843 green: 0.9843 blue:0.9843 alpha:1.0], [NSColor colorWithDeviceRed:0.9608 green: 0.9608

Re: Using the security framework

2009-01-22 Thread Joe Turner
Thanks again for the speedy responses! On Jan 20, 2009, at 1:47 AM, Nick Zitzmann wrote: On Jan 19, 2009, at 7:56 PM, Joe Turner wrote: That makes sense, but then how does an app like SuperDuper! do it. You click the lock, enter your password, and then you don't need to enter your

Zombies: Not a Type release

2009-01-22 Thread Alexander Heinz
Hello all, I'm trying to debug what I think is a memory-management problem in my Core Animation-based custom view. I'm getting EXEC_BAD_ACCESS at some point after I release a bunch of ivars and set the view's layer property to nil, so I've turned on NSZombieEnabled in the environment to

Re: Zombies: Not a Type release

2009-01-22 Thread Sean McBride
On 1/22/09 2:11 PM, Alexander Heinz said: *** -[Not A Type release]: message sent to deallocated instance 0xe412b30 This doesn't tell me what kind of object is sent the message, so I'm having a very hard time debugging the problem. My questions are: What is a Type release (and, by extension,

Re: Zombies: Not a Type release

2009-01-22 Thread Alexander Heinz
Thanks for the quick reply. You're right, I read that wrong, but, unfortunately, I can't po the object in gdb (just gives me a similar log message) and Instruments doesn't have a record for the object. I'd appreciate any other ideas... Alex On Jan 22, 2009, at 2:15 PM, Sean McBride

Re: Zombies: Not a Type release

2009-01-22 Thread Corbin Dunn
On Jan 22, 2009, at 2:29 PM, Alexander Heinz wrote: Thanks for the quick reply. You're right, I read that wrong, but, unfortunately, I can't po the object in gdb (just gives me a similar log message) and Instruments doesn't have a record for the object. Are you sure you are using

Re: Zombies: Not a Type release

2009-01-22 Thread Sean McBride
On 1/22/09 2:29 PM, Alexander Heinz said: You're right, I read that wrong, but, unfortunately, I can't po the object in gdb (just gives me a similar log message) Figures. and Instruments doesn't have a record for the object. I'd appreciate any other ideas... In addition to Corbin's advice,

Re: Zombies: Not a Type release

2009-01-22 Thread Alexander Heinz
On Jan 22, 2009, at 2:36 PM, Sean McBride wrote: On 1/22/09 2:29 PM, Alexander Heinz said: You're right, I read that wrong, but, unfortunately, I can't po the object in gdb (just gives me a similar log message) Figures. and Instruments doesn't have a record for the object. I'd

firewall api

2009-01-22 Thread Chris Benedict
Hello, First, I'm pretty new to Mac OS X programming so please bear with my ignorance. I was hoping to get a bit of quick advice. I'm wanting to write a little application that will kind of put my MacBook in a lock down mode of sorts. It would need to block/ignore all network traffic

Re: Zombies: Not a Type release

2009-01-22 Thread Alexander Heinz
On Jan 22, 2009, at 2:34 PM, Corbin Dunn wrote: On Jan 22, 2009, at 2:29 PM, Alexander Heinz wrote: Thanks for the quick reply. You're right, I read that wrong, but, unfortunately, I can't po the object in gdb (just gives me a similar log message) and Instruments doesn't have a record

Re: Zombies: Not a Type release

2009-01-22 Thread Greg Parker
On Jan 22, 2009, at 2:15 PM, Sean McBride wrote: On 1/22/09 2:11 PM, Alexander Heinz said: *** -[Not A Type release]: message sent to deallocated instance 0xe412b30 This doesn't tell me what kind of object is sent the message, so I'm having a very hard time debugging the problem. My questions

Re: Zombies: Not a Type release

2009-01-22 Thread David Duncan
On Jan 22, 2009, at 2:40 PM, Alexander Heinz wrote: Now, to figure out why I'm sending a - release to a CGImage... If you'd set the contents property of a CALayer to a CGImage at any point? Since you set the view's layer to nil, it could be that at that point, some number of CALayers are

Looking for the Use Family and Typeface option in font panel in IB 3

2009-01-22 Thread Laurent Daudelin
H Am I missing something? Where did this option go under the new Interface Builder? I feel dumb but how am I suppose to change the font and font size of table columns in a table view without using a specific font and a specific size? Thanks for any info. -Laurent. -- Laurent Daudelin

NSCaledarDate's deprecation

2009-01-22 Thread kvic...@pobox.com
in anticipation of the deprecation of NSCaledarDate, i am in the process of converting my app to use NSDate and friends. and while the process is mostly straightforward and not all that difficult, it is tedious. when i think i'm done, i'd like to be able to do a fresh build and if possible

Receiving user events from within an NSTimer callback

2009-01-22 Thread John Mikros
Hello all, I'm working on a Cocoa application which does all of its work within an NSTimer callback that is called regularly. Events are handled normally within a Cocoa run loop. However, there are times when within the callback, the code enters an inner loop, and will not exit until

Re: Using the security framework

2009-01-22 Thread Nick Zitzmann
On Jan 22, 2009, at 4:09 PM, Joe Turner wrote: I see. Then, how would you suggest to create a cloner/deleter, if it needs root privileges, but cannot use the security framework? I didn't say you couldn't use the security framework. I said you ought to consider re-thinking your strategy.

Re: Core Data: Saving Permanent IDs in Document-Based App

2009-01-22 Thread Quincey Morris
On Jan 21, 2009, at 13:15, Derek Kuhl wrote: I created a document-based core data application and want it to be able to add external files from a support folder. I can successfully set the permanent URIs for the transient relationships working in memory, but for some reason saving to

re:My objectcontroller is loosing its moc, but only with certain timing

2009-01-22 Thread Ben Trumbull
This happens when I close a window in my app, but only if I close it _very_ soon after it is opened. If I leave the window open for a few 100 ms then there is no problem. My app is garbage collected. The exception is happening after windowWillClose. The culprit seems to be an

[SOLVED] Zombies: Not a Type release

2009-01-22 Thread Alexander Heinz
On Jan 22, 2009, at 2:51 PM, David Duncan wrote: On Jan 22, 2009, at 2:40 PM, Alexander Heinz wrote: Now, to figure out why I'm sending a - release to a CGImage... If you'd set the contents property of a CALayer to a CGImage at any point? Since you set the view's layer to nil, it could

Re: NSCaledarDate's deprecation

2009-01-22 Thread Benjamin Dobson
On 22 Jan 2009, at 22:52:56, kvic...@pobox.com wrote: in anticipation of the deprecation of NSCaledarDate, i am in the process of converting my app to use NSDate and friends. and while the process is mostly straightforward and not all that difficult, it is tedious. when i think i'm

What does errAuthorizationToolEnvironmentError mean?

2009-01-22 Thread Andy Lee
I'm using AuthorizationExecuteWithPrivileges() to run /bin/rm within some uninstaller code. I thought I had everything working, but today it returned errAuthorizationToolEnvironmentError, which according to the docs means The attempt to execute the tool failed to return a success or an

Re: Receiving user events from within an NSTimer callback

2009-01-22 Thread Quincey Morris
On Jan 22, 2009, at 14:55, John Mikros wrote: I'm working on a Cocoa application which does all of its work within an NSTimer callback that is called regularly. Events are handled normally within a Cocoa run loop. However, there are times when within the callback, the code enters an

puzzled about speech synthesis

2009-01-22 Thread Daniel Richman
Hi all, I am trying to write an app that has a hard-coded NSString, formatted like this: @Alex: This is a test.\nBruce: One two.\nFred: This is another test. The idea is that the lines in the text are spoken using the indicated voice. In the example above, line one is Alex, line two is

Re: puzzled about speech synthesis [SOLVED]

2009-01-22 Thread Daniel Richman
I think this is it. Thank you so much. Daniel Roland King wrote: Daniel Richman wrote: Hi all, I am trying to write an app that has a hard-coded NSString, formatted like this: @Alex: This is a test.\nBruce: One two.\nFred: This is another test. The idea is that the lines in the text

Re: Using the security framework

2009-01-22 Thread Joe Turner
On Jan 22, 2009, at 4:57 PM, Nick Zitzmann wrote: On Jan 22, 2009, at 4:09 PM, Joe Turner wrote: I see. Then, how would you suggest to create a cloner/deleter, if it needs root privileges, but cannot use the security framework? I didn't say you couldn't use the security framework. I said

Problem assigning image to button under garbage collection

2009-01-22 Thread Rick Hoge
I have a garbage collected app which has been running fine, with no crashing or leaks and passing nicely using the Xray diagnostic tools. A problem arose when I added an NSButton to my nib file and assigned an image to it in Interface Builder (just entering the image name NSAddTemplate)

Re: Problem assigning image to button under garbage collection

2009-01-22 Thread Bill Bumgarner
On Jan 22, 2009, at 7:49 PM, Rick Hoge wrote: I have a garbage collected app which has been running fine, with no crashing or leaks and passing nicely using the Xray diagnostic tools. A problem arose when I added an NSButton to my nib file and assigned an image to it in Interface Builder

Re: What does errAuthorizationToolEnvironmentError mean?

2009-01-22 Thread Jim Correia
On Jan 22, 2009, at 6:48 PM, Andy Lee wrote: I'm using AuthorizationExecuteWithPrivileges() to run /bin/rm within some uninstaller code. I thought I had everything working, but today it returned errAuthorizationToolEnvironmentError, which according to the docs means The attempt to execute

Re: Receiving user events from within an NSTimer callback

2009-01-22 Thread Michael Ash
On Thu, Jan 22, 2009 at 7:34 PM, Quincey Morris quinceymor...@earthlink.net wrote: On Jan 22, 2009, at 14:55, John Mikros wrote: I'm working on a Cocoa application which does all of its work within an NSTimer callback that is called regularly. Events are handled normally within a Cocoa run

Re: Using the security framework

2009-01-22 Thread Michael Ash
On Thu, Jan 22, 2009 at 10:15 PM, Joe Turner joetur...@me.com wrote: On Jan 22, 2009, at 4:57 PM, Nick Zitzmann wrote: On Jan 22, 2009, at 4:09 PM, Joe Turner wrote: I see. Then, how would you suggest to create a cloner/deleter, if it needs root privileges, but cannot use the security

Re: Problem assigning image to button under garbage collection

2009-01-22 Thread Rob Keniger
On 23/01/2009, at 1:53 PM, Bill Bumgarner wrote: A problem arose when I added an NSButton to my nib file and assigned an image to it in Interface Builder (just entering the image name NSAddTemplate) in the Inspector. As soon as I did this, I started getting the following kinds of

[moderator] Re: Bug with QTCaptureLayer..........?

2009-01-22 Thread Scott Anguish
On 22-Jan-09, at 2:23 PM, Gordon Apple wrote: As is supposedly the alternating start/stop when you change anything in the layer. I haven't had a chance to test it yet. (Waiting on a new HD to arrive to load Snow Leopard.) BTW, I haven't seen an update since around Dec. 1. What's with

CALayer scaling issue

2009-01-22 Thread Kishore Gedela
Hi, I'm working on a slide show application, in that I have a Custom View which has a layer. On top of that layer I've several sub-layers. The custom view is enclosed in a scroll view. When the user switches to fullscreen, I'm calling enterFullScreenMode:withOptions: method on the custom