How to create outlets in a cocoa category

2011-06-01 Thread Sandeep
while creating a category. Thanks in Advance, Sandeep. ___ 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.apple.com Help

Headers for NSBrowsers

2011-06-08 Thread Sandeep
such a feature has been implemented. Any help will be greatly appreciated. Thanks in Advance. Sandeep. ___ 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

changing file name when copying a file in the same directory

2011-06-10 Thread Sandeep
sufix Copy 1, Copy 2, Copy3 etc. can someone please let me know if we can implement the same using NSFileManager or if there are any methods that help in doing the same. Regards, Sandeep. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

How to get the code responsible for high CPU utilization

2011-06-16 Thread Sandeep
instrument using which we are able to get the exact method or lines of code where the CPU utilization goes high. Regards, Sandeep. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

cocoa http client library

2008-03-28 Thread C Sandeep
(http://search.cpan.org/~gaas/libwww-perl-5.808/lib/LWP.pm) library. Can you suggest any other libraries ? Thanks. - Sandeep ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contac

Re: cocoa http client library

2008-03-28 Thread C Sandeep
Hi Jens, Thanks. I looked at NSURLConnection docs. It doesn't allow me to set certain custom headers, while connecting to the http server. Are there any other libraries that you recommend ? Thanks. - Sandeep On Fri, Mar 28, 2008 at 2:09 PM, Jens Alfke <[EMAIL PROTECTED]> wrote: >

unpacking binary data

2008-03-30 Thread C Sandeep
at a loss on how to accomplish the same. Any help is greatly appreciated. Thanks. - Sandeep ___ 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

NSURL with query string

2008-04-12 Thread C Sandeep
ized way to append the query strings "hl" and "q". Any help is apprecaited. Thanks. - Sandeep ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

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: &g

Re: best practice to create Custom Objects represented by a image in a d-n-d operation

2008-12-08 Thread Sandeep Chayapathi
our custom drap type. ( http://developer.apple.com/documentation/Cocoa/Conceptual/DragandDrop/Tasks/acceptingdrags.html ) -- Sandeep On Mon, Dec 8, 2008 at 1:11 PM, Gustavo Pizano <[EMAIL PROTECTED]>wrote: > Hello. > > I have in a view images of ships, and Im able to drag them t

String Encoding problem with Unicode

2008-07-10 Thread Sandeep Nair
only ामन as output.* the normal conversion to NSString like [NSString stringWithCString: cString encoding: NSUnicodeStringEncoding]; also returns some crazy results. Can any one help me to solve this problem Thanking you Regards Sandeep A.C

Wrapping of text around an image or shape.

2008-11-05 Thread Sandeep Nair
in Advance Regards Sandeep ___ 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.apple.com Help/Unsubscribe/Update y

Re: Wrapping of text around an image or shape.

2008-11-05 Thread Sandeep Nair
is there any sample code regarding this ??? On Wed, Nov 5, 2008 at 7:09 PM, Sandeep Nair <[EMAIL PROTECTED]>wrote: > Hi All, > I am trying to do text wrapping like pages app does. > i added a View as subview of NSTextView. > i want the text inside the TextView to wrap around

Re: Wrapping of text around an image or shape.

2008-11-05 Thread Sandeep Nair
at 12:39 am, Sandeep Nair wrote: > > Hi All, >> I am trying to do text wrapping like pages app does. >> i added a View as subview of NSTextView. >> i want the text inside the TextView to wrap around >> the subview rect (as like in the pages app). >> [] >&

IKImageBrowserView and mouseDragged event

2008-11-27 Thread Sandeep Chayapathi
ss the mouseDragged never gets called. Any help on making the IKImageBrowserView a drag source or making it respond to mouseDragged even is appreciated. Thanks. -- Sandeep ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin re

Re: IKImageBrowserView and mouseDragged event

2008-11-28 Thread Sandeep Chayapathi
get called. Also I tried setting the class of the IKImageBrowserView object to my custom class, only then would the - mouseDragged: even would work, but I lost a bunch of other IKImageBrowserView features (such as cell selection etc). -- Sandeep On Fri, Nov 28, 2008 at 11:27 AM, douglas welton

Subtitle Track

2009-06-15 Thread Sandeep Nair
Hi, can anybody tell the difference between text track and subtitle track. I know to add a text track to a movie, how can i add a subtitle track. can i add more than two language foe subtitle track? is there any source regarding subtitle? Thanks in advance regards Sandeep

Text Track to Subtitle Track

2009-06-22 Thread Sandeep Nair
Hi, Anybody know how to convert a text track to subtitle track. i have doubt in how to read samples from a text track and add it in a subtitle track??? Thanks in Advance Sandeep ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

how to use Tx3gDescriptionHandle

2009-09-09 Thread Sandeep Nair
e. I am confused of how to use font table, and how to incorporate Tx3gFontTableRecord with the description handle.Tx3gFontTableRecord with the description handle. Thanking You in Advance regards sandeep ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple

any recommended zip framework ?

2009-03-16 Thread Sandeep Chayapathi
end a good framework to handle (mainly unzip) zip files ? Note: this is for an iphone app. Im planning to zip files on a network and let the app download and extract the content - is this a good idea ? any suggestion is appreciated. -- Sandeep ___ Cocoa-dev ma

Re: any recommended zip framework ?

2009-03-16 Thread Sandeep Chayapathi
spot on - thanks for the suggestion. I guess I have a bit of Rube Goldberg ( http://en.wikipedia.org/wiki/Rube_Goldberg) in me. -- Sandeep On Mon, Mar 16, 2009 at 6:18 PM, Mike Abdullah wrote: > If you are in control of these zip files, why not make use of HTTP's built > in

Re: any recommended zip framework ?

2009-03-19 Thread Sandeep Chayapathi
one more related question - does anyone the mime-type for plists/binary plists ? Currently I have setup the mime type for my plist files as text/plain. -- Sandeep On Mon, Mar 16, 2009 at 10:05 PM, Sandeep Chayapathi wrote: > spot on - thanks for the suggestion. I guess I have a bit of R

how to get the save File path from NSPrintpanel

2009-04-21 Thread sandeep chaudhary
eciated. Thanks-sandeep Bollywood news, movie reviews, film trailers and more! Go to http://in.movies.yahoo.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact

how to set font in NSTextView

2009-05-12 Thread sandeep chaudhary
w to do this. any help is much appriciated Thanks-sandeep Bollywood news, movie reviews, film trailers and more! Go to http://in.movies.yahoo.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

how to write passord in KeyChain using cocoa

2009-05-14 Thread sandeep chaudhary
using Objective-C. Also can i create my own folder and write my passord  inside this folder in KeyChain?Please describe me in details Any help is much appreciated Thanks-sandeep Bollywood news, movie reviews, film trailers and more! Go to http://in.movies.yahoo.com

setting exif metadata with ApplicationServices framework

2008-02-22 Thread C Sandeep
source,0, (CFDictionaryRef) metaData); CGImageDestinationFinalize(destination); . However I was able to set the kCGImagePropertyTIFFMake property. Are the values for these properties of the wrong format ? How does one set these exif meta data ? Thanks. - Sandeep ___

NSString floatValue issue

2008-02-26 Thread C Sandeep
number: 28.0 However, I was expecting 5.6 as the result. How do I achieve this ? Thanks. - Sandeep ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: NSString floatValue issue

2008-02-26 Thread C Sandeep
ring:@"/" intoString: NULL]; [scanner scanInt: &denominator]; float result = (float) numerator/denominator; NSNumber *nm = [NSNumber numberWithFloat: result]; return nm; } - Sandeep On Tue, Feb 26, 2008 at 1:27 PM, Hamish Allan <[EMAIL PROTECTED]> wrote: > On T

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: 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 > th

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

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

Dragging from an NSBrowser to an NSTableView

2011-06-23 Thread Sandeep Mohan Bhandarkar
Hi All, within my application i have a screen where exists and NSBrowser as well as an NSTableViews. can someone please let me know we can implement dragging items from the browser to the table view. any source reference on this would be very helpful. Thanks in Advance, Sandeep

tableView: objectValueForTableColumn: row: method not getting called

2011-06-23 Thread Sandeep Mohan Bhandarkar
numberOfRowsInTableView: (this is getting called); Have i missed anything else...?? Thanks and Regards, Sandeep. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: tableView: objectValueForTableColumn: row: method not getting called

2011-06-23 Thread Sandeep Mohan Bhandarkar
Hi Jens, I have just wired up the delegate outlet and for the second query. The count shows up as zero but will this be the reason for the method not getting called...? Regards, Sandeep. On Jun 23, 2011, at 2:34 PM, Jens Alfke wrote: > > On Jun 23, 2011, at 2:23 PM, Sandeep Mohan Bhan

Re: tableView: objectValueForTableColumn: row: method not getting called

2011-06-23 Thread Sandeep Mohan Bhandarkar
Yeah. checked it out by hardcoding a value of 2 in the rows returned now the method seems to be getting called. Thank you for your assistance jens. Regards, Sandeep. On Jun 23, 2011, at 2:49 PM, Jens Alfke wrote: > > On Jun 23, 2011, at 2:46 PM, Sandeep Mohan Bhandarkar wrote: >

Re: Dragging from an NSBrowser to an NSTableView

2011-06-23 Thread Sandeep Mohan Bhandarkar
{ } PS: The dragTypes for both the browser as well as NSTableView have been set to NSStringPasteboardType Please let me know if we are missing something. As of now it would be great if the control would just flow into these methods. Thanks in Advance Sandeep. On Jun 23, 2011, at 4:03 AM, Mike

How to change font trait and font family for a NSBrowserCell

2011-07-06 Thread Sandeep Mohan Bhandarkar
r way in which this can be done. Thanks and Regards, Sandeep. ___ 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.apple.com Hel

How to Support in-line attachments in NStextView

2011-09-14 Thread Sandeep Mohan Bhandarkar
in Advance, Sandeep. ___ 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.apple.com Help/Unsubscribe/Update your Subscription

How to get the exact location and range for an Attachment present in NSTextView

2011-09-19 Thread Sandeep Mohan Bhandarkar
text of the NSTextView. Thanks in Advance , Sandeep. ___ 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.apple.com Help

How to replace occurrences of a pattern with a NSAttributedString

2011-09-20 Thread Sandeep Mohan Bhandarkar
one please let me know how this could be achieved. I have looked for various approaches such as using NSRange or NSMutableString but am unable to figure our replacing of a string pattern with a NSAttributedString. Thanks in Advance, Sandeep. ___ C

Re: How to replace occurrences of a pattern with a NSAttributedString

2011-09-20 Thread Sandeep Mohan Bhandarkar
Hi Mike, <> is a character sequence.. Thanks, Sandeep On Sep 20, 2011, at 2:26 AM, Mike Abdullah wrote: > > On 20 Sep 2011, at 10:16, Sandeep Mohan Bhandarkar wrote: > >> Hi All, >> >> >> Can anyone tell me how the following can be achieve

how to set path on NSPathControl

2011-10-03 Thread Sandeep Mohan Bhandarkar
;, Node1, Node2]]]; Here rootSubRootPath is a object of type of NSPathControl. Can some one please let me know if it is possible to set a path using a NSString. Thanks and Regards, Sandeep. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: how to set path on NSPathControl

2011-10-03 Thread Sandeep Mohan Bhandarkar
Tried doing the same with the value bindings and it seemed to work. On Oct 3, 2011, at 8:41 PM, Quincey Morris wrote: > On Oct 3, 2011, at 20:20 , Sandeep Mohan Bhandarkar wrote: > >> Can some one let me know if it is possible to set a NSPathControl using a >> NSString. I

How to remove items from NSCollectionView without view selection

2011-10-17 Thread Sandeep Mohan Bhandarkar
re lablesArray is an ArrayController object. This is working currently but i have to select the prototypeItem view first and then click on the "-" button. can some one tell me if there is a way where in i can directly remove the item just by clicking on "-" and not selectin

How to display HTML in proper format in a NSTextView

2011-11-29 Thread Sandeep Mohan Bhandarkar
correctly. Please see the figure below. Can some one let me know how we can display the HTML with the appropriate spacing etc. Thanks and Regards, Sandeep Mohan Bhandarkar. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

How to Display Images in a WebView

2011-12-01 Thread Sandeep Mohan Bhandarkar
Hi All, Can some one provide any pointers as to how we can display an Image in a WebView. and can this be done without the use of a HTML File.? Thanks and Regards, Sandeep Mohan Bhandarkar. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com