help with usb

2012-02-22 Thread ronald b. kopelman
in Obj-C. Can anyone point me in the direction of some relevant literature regarding usb devices how to read them? Thank you very much. ronald b. kopelman ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests

toolbars toolbar items in lion

2011-07-29 Thread ronald b. kopelman
NSToolbarSeparatorItem NSToolbarCustomizeToolbarItem seem broken in xcode 4.1. I used to be able to add these without a problem previously but now I get errors saying: The toolbar item with object ID 654 was not in the allowed items list of the toolbar with object ID 651. It has been

Setting the Sent Actions in IB

2011-07-05 Thread ronald b. kopelman
Ok, I know I'm missing something simple here. I connect the Page Setup menu item to the runPageLayout action in the First Responder get nothing. If I hook up a random button to the same action, it displays just fine. If I connect a new menu item, I still get nothing. If I connect the

seeking to understand ABPeoplePickerView behavior

2011-06-07 Thread ronald b. kopelman
I have been trying to implement setNameDoubleAction: setGroupDoubleAction: which I do in applicationDidFinishLaunching as follows: - (void)applicationDidFinishLaunching:(NSNotification *)aNotification { stuff [pickerView setNameDoubleAction:@selector(doNameSelection:)];

Re: Recursive search for files

2011-05-25 Thread ronald b. kopelman
On May 22, 2011, at 11:52 AM, James Merkel wrote: I would like to add a capability to an application to search directories and sub-directories eventually opening all image files (basically using NSDirectoryEnumerator). Obviously, I can't allow the user to start at say the volume level and

Re: Looking for help scanning entire drives

2011-02-23 Thread ronald b. kopelman
On Feb 23, 2011, at 6:41 AM, cocoa-dev-requ...@lists.apple.com wrote: I need to write an application that will scan entire drives and compare files between the 2 drives. I have already something working but in situations where there are a lot of files (hundreds of thousands), the memory

ABPeoplePickerProblems

2010-11-09 Thread ronald b. kopelman
I am having a problem with the ABPeoplePickerView. I have read the Class Reference, the Address Book Programming Guide for Mac OS X, searched the web, all to no avail. I wish to double click either a name or a group have the program respond to the double click. I created an ABPeoplePickerView

Re: Recursive file remove

2010-08-15 Thread ronald b. kopelman
First is the more obvious one, where you have the semantics of doing an 'rm' on a directory without passing the -r flag. If the directory is empty, it's deleted. If it's not, the command fails. Not to flog a dead horse, but 'rm' doesn't do that. Without '-r', rm always fails on a

Re: Best way to determine if a directory is a package

2010-06-25 Thread ronald b. kopelman
On Jun 24, 2010 Ron Aldrich wrote: So, first - Given a file path (or URL, if needed), how do I reliably determine if the path points to a package? And second, how do I reliably determine if the path points to a hidden item? Hidden item names begin with a . In your enumeration, check

Re: Cocoa-dev Digest, Vol 7, Issue 621

2010-06-06 Thread ronald b. kopelman
On Jun 5, 2010, at 10:17 PM, cocoa-dev-requ...@lists.apple.com wrote: I'm new to Cocoa programming. I would like to be able to drag filenames from Finder to a custom view in my application. Both previous mails and Mr. Google redirect to Drag and Drop Programming Topics for Cocoa

newbe view question

2010-05-16 Thread ronald b. kopelman
I am designing a small app that will accept a dropped folder, get its name process it. Everything works fine. I can drop a folder on the dock icon or the app icon get exactly what I want. I would like to drop the folder onto the app window while the app is running get the same result