Re: Performance of calculation on float point numbers in a array • NSNumber in NSArray, or classi c C array?

2008-12-18 Thread Rich Collyer
lations involved. However, you never know when Apple will do something tricky with Grand Central Dispatch that will void this argument. +++++++ Rich Collyer - Senior Software Engineer rcoll...@ironkey.com IronKey - The World's Most Secure Flash Drive 2008 SC Magazine Reader

Caps Lock Icon in NSTextField

2009-03-04 Thread Rich Collyer
Is there a standard way to have the Caps Lock icon show up in an NSTextField? If not, is the icon available for general use, so I can place it there when I notice the state change of the caps lock key? +++ Rich Collyer - Senior Software Engineer

User In-Activity hook?

2009-03-05 Thread Rich Collyer
Are there any hooks for tracking user activity? I need to be able to determine if there has been any user activity (mouse, keyboard, disk access) for a period of time. +++ Rich Collyer - Senior Software Engineer +++ smime.p7s Description: S/MIME

Re: User In-Activity hook? And a request

2009-03-05 Thread Rich Collyer
I appreciate the importance of NOT using undocumented APIs and the IOKit option listed below works great. Thank you, +++ Rich Collyer - Senior Software Engineer +++ On Mar 5, 2009, at 10:23 AM, Michael Ash wrote: On Thu, Mar 5, 2009 at 11:58 AM, m

Re: User In-Activity hook? And a request

2009-03-05 Thread Rich Collyer
BTY, is there a similar dictionary item for mass storage accesses? i.e. how long since the last time a file system read or write took place. +++ Rich Collyer - Senior Software Engineer +++ On Mar 5, 2009, at 11:13 AM, Rich Collyer wrote: I

Re: Automatically replacing part of text in a text label

2009-03-17 Thread Rich Collyer
You might try just getting the name as an NSString with: NSString applicationName = [[[NSBundle mainBundle] infoDictionary] objectForKey: CFBundleExecutable]; Than populate the dialog with that string (using the technique shown by Mark. +++ Rich Collyer - Senior

List of open documents

2009-03-24 Thread Rich Collyer
I am looking for a clean way to find all open documents and their associated paths. +++ Rich Collyer - Senior Software Engineer +++ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev

Re: List of open documents

2009-03-25 Thread Rich Collyer
know that some applications will respond to applescripts with this information, but how about objective- c? +++ Rich Collyer - Senior Software Engineer rcoll...@ironkey.com IronKey - The World's Most Secure Flash Drive 2008 SC Magazine Readers Choice Award Winner 2008

file system query

2009-03-26 Thread Rich Collyer
Is there a way to ask the file system if a particular file is open? or, are there any open files within a given directory? +++ Rich Collyer - Senior Software Engineer +++ smime.p7s Description: S/MIME cryptographic signature

NSAccessibilityLinkedUIElementsAttributes

2009-04-01 Thread Rich Collyer
Are there any samples of using NSAccessibilityLinkedUIElementsAttribute? Specifically, I need to do something like what iTunes does where it links the outline view in the left navigation with the content view in the middle. +++ Rich Collyer - Senior Software Engineer

Non-pageable app

2009-04-02 Thread Rich Collyer
Is there a way to mark as application (or at least its heap) as non- pageable. +++ Rich Collyer - Senior Software Engineer +++ smime.p7s Description: S/MIME cryptographic signature ___ Cocoa-dev mailing list

Re: Non-pageable app

2009-04-03 Thread Rich Collyer
My primary interest is to ensure that the content of an NSSecureTextField and any times I extract the string from it, the memory is not paged out, or cached. +++ Rich Collyer - Senior Software Engineer +++ On Apr 2, 2009, at 4:19 PM, Dave Carrigan

UIView Center does not seem to change with orientation change

2013-09-16 Thread Rich Collyer
nter: NSPoint: {160, 284} viewDidAppear self.view.bounds: NSRect: {{0, 0}, {568, 320}} self.view.frame: NSRect: {{124, -124}, {320, 568}} self.view.center: NSPoint: {284, 160} Where does the {124, -124} come from? Rich Collyer ___ Cocoa-dev mailing list (C