Toggle Dock Icon

2009-06-18 Thread Charles E. Heizer
Hello, Does anyone know if there is a good way to toggle the dock icon? I have a reboot application that has problems at times with OS updates and not launching, due to libraries being updated. I was looking to solve this by launching my reboot application before the updates occur and just back gr

CURLHandle - getting header status

2009-05-11 Thread Charles E. Heizer
Hello, I'm trying to use CURLHandle to get the header status of the request just made but I'm unable to get the status code. I'm trying to use "headerStatus" but I get a "unrecognized selector" error. What am I missing? Thanks, Charles NSURL *url = [NSURL URLWithString:myURL]; CURLHandle *

Re: NSDate isEqual to...

2009-03-20 Thread Charles E. Heizer
ou a lot of pain for the next time... :) Cheers! On Fri, Mar 20, 2009 at 2:50 PM, Mike Abdullah wrote: On 20 Mar 2009, at 21:17, Charles E. Heizer wrote: Thanks, No it's just playing around right now. It would be nice to be able to specify if you wanted NSDate to be sub-second or second

Re: NSDate isEqual to...

2009-03-20 Thread Charles E. Heizer
wrote: On 20 Mar 2009, at 20:50, Charles E. Heizer wrote: Hello, I'm playing around with date time stuff right now and I'm trying to figure out the bets way to determine if one datetime is equal to another. The problem I'm running in to is "isEqualToDate" does not appea

NSDate isEqual to...

2009-03-20 Thread Charles E. Heizer
Hello, I'm playing around with date time stuff right now and I'm trying to figure out the bets way to determine if one datetime is equal to another. The problem I'm running in to is "isEqualToDate" does not appear to work, the NSLog statement will show two identical datetime statements but

Re: Question on threads running in my Foundation tool

2009-02-23 Thread Charles E. Heizer
Thanks for the plug. :-) I do appreciate it. Thanks, -charles On Feb 22, 2009, at 9:54 PM, Josh Freeman wrote: Hi, On Feb 22, 2009, at 9:35 AM, Charles E. Heizer wrote: The issue I'm seeing is that for every time I call NSThread so not to block the run loop it runs it's course b

RE: Question on threads running in my Foundation tool

2009-02-22 Thread Charles E. Heizer
OK, I reworked my test app so that I could isolate the threads and to see what's going on a little better, and I'm now using a NSTimer and a NSRunLoop. The issue I'm seeing is that for every time I call NSThread so not to block the run loop it runs it's course but when it completes it leaves a h

Re: Question on threads running in my Foundation tool

2009-02-20 Thread Charles E. Heizer
Feb 20, 2009, at 11:02 AM, Nick Zitzmann wrote: On Feb 20, 2009, at 11:55 AM, Charles E. Heizer wrote: Ok, so I have the NSURLRequest in my main method ( included snippet of my code ) so what your saying is if I delegate the NSURLRequest to a NSRunLoop it will clean it's self up? You

Re: Question on threads running in my Foundation tool

2009-02-20 Thread Charles E. Heizer
NSLog(@"Error: %@",error); } else { //NSLog(@"%@",xmlDoc); } On Feb 20, 2009, at 10:48 AM, Nick Zitzmann wrote: On Feb 20, 2009, at 11:30 AM, Charles E. Heizer wrote: The question/issue I have is my app appears to create separat

Question on threads running in my Foundation tool

2009-02-20 Thread Charles E. Heizer
Hello, I'm writing a small foundation tool which reads a xml file from a remote source and will schedule a task per xml entry. The question/issue I have is my app appears to create separate threads for different actions such as NSTask, NSURL, NSURLRequest which is OK. The problem is they d

iPhoto API to access the shared photos

2009-01-06 Thread Charles E. Heizer
Hello, I have been hunting around the web and Apples' site and have not found what I'm really looking for. I'm looking for a way to connect to a shared iPhoto library and view the photos. I can find the shared library using Bonjour (NSNetServiceBrowser), but I cant seem to figure out how to connec

Re: Apple Developer Forums

2008-10-24 Thread Charles E. Heizer
Problem is, it's only for iPhone Developer, paid programs. On 10/24/08 9:15 AM, "Randall Meadows" <[EMAIL PROTECTED]> wrote: It looks like we're legit to discuss now! ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Re: Help converting NSFilePosixPermissions to Octal representation

2008-08-25 Thread Charles E. Heizer
Format:@"%o", perms]; > > HTH > > On Aug 25, 2008, at 3:03 PM, Charles E. Heizer wrote: > >> Hello, >> I have been googaling and searching but I must be missing >> something. Can >> someone please tell me how to get the Octal representation from the &

Help converting NSFilePosixPermissions to Octal representation

2008-08-25 Thread Charles E. Heizer
Hello, I have been googaling and searching but I must be missing something. Can someone please tell me how to get the Octal representation from the returned value of [fileAttributes objectForKey:NSFilePosixPermissions]. Thanks, - Charles --

Calendar Store for iCal Server calendar...

2008-06-17 Thread Charles E. Heizer
Hello, I'm trying to find more info on how to get access to calendars stored on a iCal server. Everything I'm finding is for the local iCal calendar store. Thanks, Charles ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Get Value for kCFPreferencesCurrentHost

2008-03-05 Thread Charles E. Heizer
Hello, I have noticed that Apple has changed it's formula for generating ByHost identifier from the MAC address of en0 to a generated UUID. I figured the constant kCFPreferencesCurrentHost has that value but I'm not sure how to get at that value. Does anyone know of a easy way to return the value