Re: A directory site for open-source Cocoa components?

2008-05-22 Thread C Sandeep
I think a CPAN like environment for objc/cocoa is a good idea. I'd like to help in any way possible to make this possible. RIght now Im using google code and sourceforge to host my apps/frameworks. - Sandeep On Thu, May 22, 2008 at 4:05 PM, Sherm Pendley <[EMAIL PROTECTED]> wrote: > On Thu, May 2

NSURL with query string

2008-04-12 Thread C Sandeep
Greetings, For my application, I need to form a NSURL, which looks something like this: http://www.google.com/search?hl=en&q=test I have the following code: NSURL *url = [NSURL URLWithString: baseUrl]; //where baseUrl is http://www.google.com/search However Im not able to find a optimized wa

unpacking binary data

2008-03-30 Thread C Sandeep
Greetings, Im working on an cocoa application that needs to, among other things, unpack binary data, into NSString preferably. I have used perl's unpack (http://perldoc.perl.org/functions/unpack.html) in the past to do such a thing. I have looked at NSData's documentation, however Im at a loss on

Re: cocoa http client library

2008-03-28 Thread C Sandeep
; > On 28 Mar '08, at 10:59 AM, C Sandeep wrote: > > > Im trying to access a custom http server via my cocoa app. I have > > looked at various libraries, mainly CFNetwork, available from apple, > > however Im not sure which one of them to use(Im comfortable using &

cocoa http client library

2008-03-28 Thread C Sandeep
Greetings, Im trying to access a custom http server via my cocoa app. I have looked at various libraries, mainly CFNetwork, available from apple, however Im not sure which one of them to use(Im comfortable using Objective-C over C) . Im looking for something similar to perl's LWP (http://search.c

Re: extract text from image

2008-03-20 Thread C Sandeep
Hi, Thanks. Are there any open source OCR libraries for objc ? - Sandeep On Thu, Mar 20, 2008 at 6:09 PM, Andrew Farmer <[EMAIL PROTECTED]> wrote: > On 20 Mar 08, at 13:09, C Sandeep wrote: > > Im trying to extract text from an Image. Are there any apple blessed > > class

extract text from image

2008-03-20 Thread C Sandeep
Greetings, Im trying to extract text from an Image. Are there any apple blessed class(es) that can help me achieve this ? Thanks. - Sandeep ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Re: GNUStep, OpenStep, NextStep, Cocoa port?

2008-03-08 Thread C Sandeep
I have used GNUStep in the past. This: http://wiki.gnustep.org/index.php/Writing_portable_code might help you. - Sandeep On Sat, Mar 8, 2008 at 2:20 AM, William Zumwalt <[EMAIL PROTECTED]> wrote: > Anyone have any experience trying to port a Cocoa XCode app to linux? Are > the GnuStep or OpenSte

Re: setting exif metadata with ApplicationServices framework

2008-02-29 Thread C Sandeep
Hi all, I think I have solved this one. I wasn't setting the right type for the destination properties, hence it wouldn't work. Subsequently I have posted an small howto on here: http://sandeepc.livejournal.com/656.html Hope it helps others. - Sandeep On Fri, Feb 22, 2008 at

Re: NSString floatValue issue

2008-02-26 Thread C Sandeep
Hi all, Thanks for the ideas. Im using the class method to evaluate such strings, thusly: -(NSNumber *) getNumberFrom: (NSString *) str { NSScanner *scanner = [NSScanner scannerWithString: str]; int numerator, denominator; [scanner scanInt: &numerator]; [scanner scanString:@"/"

NSString floatValue issue

2008-02-26 Thread C Sandeep
Greetings, I need to evaluate a NSString as a float value (represented by NSNumber object). Here is my code snippet: NSString *str = @"28/5"; NSNumber *nm = [NSNumber numberWithFloat:[str floatValue]]; NSLog(@"number: %@", nm ); this results in: number: 28.0

setting exif metadata with ApplicationServices framework

2008-02-22 Thread C Sandeep
Hi all, Recently I have been playing with adding exif data to image files on disk. I found this nice blog entry which shows how. However, Im not able to set aperture, ISO and shutter speeds from my code, here (showing literal values): .. [exifDi