Re: Disabling screen capture

2014-02-21 Thread Ron Hunsinger
so the user can always get back to full functionality with a simple restart, even if a bug in your app prevents you from cleaning up. -Ron Hunsinger ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderat

Re: Disabling screen capture

2014-02-21 Thread Ron Hunsinger
Then boot off that filesystem. You wouldn't be copying anything, so there shouldn't be any licensing issues. I'm not sure how well that would play with FileVault, and there are a lot of other thorny issues to work out, but it's an approach you might want to consider. -Ron Hunsi

Re: FSEvents eventid (or perhaps event)'s life

2012-07-30 Thread Ron Hunsinger
The volume's UUID persists across all those things, but not across an erase. You can use it to be sure you're referring to the proper volume. You can get the volume's UUID from diskutil info. You can read the FSEventStoreUUID from /.fseventsd/fseventsd-uuid -Ron Hunsinger

Re: Desktop geometry problem

2012-06-11 Thread Ron Hunsinger
besides, the situation cannot arise with displays.) -Ron Hunsinger ___ 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.ap

Re: Open a new terminal tab or window from a Cocoa app at a certain directory without using NSAppleScript?

2012-01-28 Thread Ron Hunsinger
special to the shell, but I'm not sure what would happen if you inserted backslashes in the middle of a multi-byte character, nor whether the behavior will change in later versions of the shell, so be sure you're prepending backslashe

Re: How do we get rid of "application downloaded from the internet" warnings?

2011-10-31 Thread Ron Hunsinger
On Oct 31, 2011, at 2:42 PM, G S wrote: > So does anyone know what the new setting is, or how to clear the > "downloaded from Internet" flag on the files themselves? xattr -d com.apple.quarantine file... -Ron Hunsinger ___ Cocoa-

Re: How to do Save As... in Lion

2011-09-18 Thread Ron Hunsinger
t;. I wouldn't expect to use it to "Save in the same file in a different format", any more than I would use it to "Save in the same file with different content." Look at how TextEdit handles letting the user choose a file format, with its "Mak

Re: Windows and views and controls, oh my!

2011-09-07 Thread Ron Hunsinger
On Sep 7, 2011, at 11:19 AM, N!K wrote: > What I'm trying to do is really very simple. I want a pushbutton to seek data > input for the model (easily done). Then I want a pushbutton to display two > different views of the data. The pushbutton sets a flag indicating which view of the data shou

Re: recomendations for creating a beta with date to expire

2011-08-15 Thread Ron Hunsinger
On Aug 15, 2011, at 12:08 AM, Charles Srstka wrote: > Really? Surely there are better uses of your time than trying to track down > an old bug in an expired beta version that people aren’t even supposed to be > able to run anymore. Isn't the purpose of a beta to uncover bugs for you to track do

Re: Correct way to use contextInfo with ARC

2011-08-04 Thread Ron Hunsinger
On Aug 3, 2011, at 6:38 PM, Kevin Bracey wrote: > NSMutableArray *someInfo = [NSArray arrayWithObjects:@"made" , @"it", > @"across",. nil]; Did you really want to create an NSArray (non-mutable) and then pass it off as an NSMutableArray? Since you mentioned ARC, I'm surprised the compiler didn

Re: Return causes EXC_BAD_ACCESS

2011-07-31 Thread Ron Hunsinger
On Jul 31, 2011, at 12:27 AM, Ron Hunsinger wrote: > The point vincent was making was ... Sorry for the misattribution. I meant "The point Graham Cox and Scott Ribe were making was ...". ___ Cocoa-dev mailing list (Cocoa-dev@li

Re: Return causes EXC_BAD_ACCESS

2011-07-31 Thread Ron Hunsinger
On Jul 30, 2011, at 11:39 PM, vincent habchi wrote: >> Memory is "virtual", the addresses you appear to be working with are not >> real (i.e. they don't refer to the real address of the physical RAM >> underneath). Instead, a bit of hardware translates these to the real >> addresses as needed

Re: Is it possible to create a Finder-like icon in Dock?

2011-06-13 Thread Ron Hunsinger
On Jun 12, 2011, at 5:22 PM, Nick wrote: > Would it be possible to create a similar icon? Is it hardcoded in Dock, or > by manipulating with Dock's plist or some other way I could make an another > application behave like this? Finder and Trash are hardcoded into the Dock. If you examine ~/Libra

Re: Declaring and initialization of C array.

2011-06-01 Thread Ron Hunsinger
On Jun 1, 2011, at 8:17 AM, Graham Cox wrote: > > On 02/06/2011, at 1:12 AM, JAMES ROGERS wrote: > >> K&R says to declare and initialize an array in C: >> >> int myArray[2] = {1,2}; >> >> If the above is entered into the .h file > > > That's because a .h file is the HEADER. > > You ne