Re: Sync my iPhone app with the Desktop version

2009-11-15 Thread John Cebasek
Another plug for Jens Alfke's MyNetworkLibrary... Takes a bit to set up (detailed in the documentation), but works fine! It's at: http://bitbucket.org/snej/mynetwork/ John On 2009-11-15, at 9:40 AM, Karolis Ramanauskas wrote: > Good day, > > Does anyone here have pointers on how to implement

Creating a radar sweep effect

2009-09-26 Thread John Cebasek
Hi All: I'm wondering what the best way to create a radar sweep effect is? (Like in old war movies?) I was trying to create a shadow effect but that didn't look good as when the sweep line was at 0, 90, 180 or 270 degrees, the shadow wasn't very visible. And even using the shadow, it wasn

ImageKit programming guide crop tool problem.

2009-06-13 Thread John Cebasek
Hi All: I've got to do some 'image processing' in my application and have started with the ImageKit Programming Guide. Everything works except cropping (which is the feature I need). Also, the image I have is a jpeg, if that makes any difference. As per the guide, here's the code: -(IBAc

Re: quick and dirty NSData implosion

2009-05-08 Thread John Cebasek
Why don't you do something like this: @try { [defaults setObject:bookMarkList forKey:PECBookMarkListKey]; } @catch (NSException *e) { NSLog(@"NSData blew up because: %@", [e reason]); } and find out what the error is? John On 8-May-09, at 9:56 AM, jon wrote: yes i did try, i would

Terminating a thread...

2009-03-02 Thread John Cebasek
Hi All: I've got an NSThread that copies some data from one database to another. While the copy is occurring, there's a sheet that is updated with the progress of the copy. On that sheet there's also a stop button, so that if the user wants to stop the copy, he can. I seem to be having so

Re: Write to file.

2008-12-23 Thread John Cebasek
Well, it's been a long time since I worked on a loginwindow replacement, but I think it was when Tiger was released, I had to split my code into two mechanisms , one privileged - which could have no GUI, and could write to at least /tmp and the global Preferences directory and then a non-pr

Cocoa and "Reveal in Finder..."

2008-09-28 Thread John Cebasek
Hi All: I've got a couple of functions that do a "Reveal in Finder" that are in Carbon land, and sit on top of the "More..." library. Since quite a few of the functions in the "More" library have been marked as deprecated, I'm wondering if there is a Cocoa-sentric way of performing a 'rev

Re: NSOutlineView: Which row is selected.

2008-09-17 Thread John Cebasek
Hi All: I guess I didn't have all the required interfaces implemented. I missed numberOfRowsInTable:NSTableView. John On 16-Sep-08, at 7:24 PM, Corbin Dunn wrote: On Sep 16, 2008, at 4:17 PM, John Cebasek wrote: Hi Nick, et al: Well, I did use [self selectedRow], in a previous ve

Re: NSOutlineView: Which row is selected.

2008-09-16 Thread John Cebasek
suming (and we all know what assume means) is the member that contains the currently selected row) be changed to reflect the currently selected row. Has to be something staring me in the face, but I can't see it... John On 14-Sep-08, at 6:25 PM, Nick Zitzmann wrote: On Sep 14, 2008,

NSOutlineView: Which row is selected.

2008-09-14 Thread John Cebasek
Hi All: Noobie question follows: I've got an NSOutlineView and am trying to determine which row is selected. I thought [super selectedRow]; (calling NSTableView's selectedRow method) would do the trick, but all I'm getting back from that call is -1. How does one determine which row is se