(no subject)

2008-03-04 Thread ali alavi
I have a WebView and a NSTextField (as URL address bar) on my window. I need to be able to load the page automatically when I programmatically set the URL filed to a web page address. However the only way I can make the page appear now is by clicking in the URL field and hitting Return key. How

(no subject)

2008-06-16 Thread Angelo Chen
Hi, I have following action, two NSButtons are linked to it, I'd like to test which button trigger the action in the code, any way to do this? thanks. - (IBAction)doCopying:(id)sender { // how to determine which NSButton is clicked? } Angelo Yahoo! Mail具備一流的網上安全保護功能,請前往 http://hk.an

(no subject)

2008-07-24 Thread 松 李
I have a problem about ABAddressBook, i want get NSData with ABPerson' vCardRepresentation fuction,the NSData is vcard 3.0 formatter,but i want to get vcard 2.1 formatter, how to get vcard 2.1 formatter with vCardRepresentation, follow is my code : ABPerson* thePerson = [theArray objectAtInd

(no subject)

2008-11-29 Thread Ulai Beekam
Hi I know I can put an image into a layer by doing theLayer.contents = cgTheGreatImage. But that will just put a single image on the layer. My question is, how can I use that image to have a repeating pattern on that layer of that single image? Can you give me short example code snippet?

(no subject)

2008-12-20 Thread John Nairn
I had a similar problem and there were serious performance issues with the built-in sorting. I could make it work with sortUsingFunction:context:, but the performance depends significantly on the efficiency of that method (i.e., how much work it takes to interact with that external data). I

(no subject)

2009-09-04 Thread David Blanton
I want to develop a CocoaTouch app that talks to a web server without doing 'web pages'. I.e. the app does http gets and posts driving php (or other) scripts on the server to access some sql database. Reason for this approach - to use coca table view to display data, generally speaking to

(no subject)

2009-09-07 Thread Colin Deasy
Does the returned obj from this method: - (NSCollectionViewItem *)newItemForRepresentedObject:(id)object require a release? ThanksColin _ Share your memories online with anyone you want. http://www.microsoft.com/ireland/windows/windo

(no subject)

2008-08-07 Thread Zphofar Ægir Spender G
Zphofar Ægir Spender Gulu___ 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 Subscript

(no subject)

2008-09-04 Thread mahaboob
Hi All, I need to create a plug-in for safari. It should be a toolbar and when I'm installing it, it has to a prompt user to enter personal info and should be stored in same computer. When I'm using browser, where I need to fill the data on form fields. I have one more thing, when I am clicking on

(no subject)

2009-01-28 Thread David Blanton
Using this code: NSIndexSet *is = [NSIndexSet indexSetWithIndex:rowIndex]; [_tableView selectRowIndexes:is byExtendingSelection:YES]; to select rows, the rows are selected and highlighted, but the first column is not highlighted

(no subject)

2009-02-20 Thread mukesh
Also give information about the control I should use for this. ___ 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.

(no subject)

2009-02-20 Thread mukesh
Hi all I am building an application whose requirement is to develop an window same as in the macosx application FINDER. The window should be such that it should display the files/folders in the sam e way as in the finder (ie: the files/folders can be viewed in the list view, thumbnails view ,ic

(no subject)

2009-04-07 Thread Greg Guerin
Тимофей Даньшин wrote: [string2 release]; sqlite3_reset(sentence_insert_statement); I'm looking more closely at the code, and those statements seem mis- ordered to me. I would not release something if someone else (sqlite, in this case) might be holding onto a reference to a buffer that's

(no subject)

2009-04-07 Thread Tilo Villwock
Hi, is there a way to manipulate the order NSToolbarItems are added to a toolbar, when the application is starting. I have implemented the delegate methods to provide the items, and which items are allowed, but since items are fetched by identifier and not by position i don't see how this

(no subject)

2009-04-08 Thread Tilo Villwock
Does anyone know, whether there is a way to make a circular NSSlider not endless, so that it stops at a certain value? Thanks Tilo ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

(no subject)

2009-08-18 Thread PCWiz
___ 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: http://lists.apple.co

Re: (no subject)

2008-06-16 Thread Nick Zitzmann
On Jun 16, 2008, at 7:27 PM, Angelo Chen wrote: I have following action, two NSButtons are linked to it, I'd like to test which button trigger the action in the code, any way to do this? thanks. - (IBAction)doCopying:(id)sender { // how to determine which NSButton is clicked? } if (s

Re: (no subject)

2008-06-16 Thread Jeff LaMarche
On Jun 16, 2008, at 9:27 PM, Angelo Chen wrote: - (IBAction)doCopying:(id)sender { // how to determine which NSButton is clicked? } There are several ways. If this button was called because a button was pushed, sender will contain a pointer to the button. You can compare the tag value

Re: (no subject)

2008-06-16 Thread Graham Cox
You can set a different tag value for each button (in IB), then in the action method use -[sender tag] to get the value. Tags are just an integer number that most controls support and their use is entirely decided by the programmer - Cocoa doesn't use them. Alternatively you can of course j

Re: (no subject)

2008-06-16 Thread Graham Cox
This assumes you do have an outlet to each of course - if the buttons otherwise don't need any programmatic access there's no reason to have an outlet, so it's overkill (in my view) to add outlets just to tell two buttons apart. Having separate action methods is usually the best approach.

Re: (no subject)

2008-12-21 Thread Scott Ribe
> 1. Building a c++ array of integers with indices to the new sort order > 2. Precalculate all crucial sort terms (that depend on external data) > for the objects to be sorted. > 3. Sort the index array manually (e.g., a shell sort from Numerical > Recipes in C, pg 244 (my edition)) > 4. Once done,

Re: (no subject)

2009-09-04 Thread I. Savant
On Sep 4, 2009, at 6:16 PM, David Blanton wrote: I want to develop a CocoaTouch app that talks to a web server without doing 'web pages'. I.e. the app does http gets and posts driving php (or other) scripts on the server to access some sql database. ... Make sense or shoveling against th

Re: (no subject)

2009-09-04 Thread Steven Degutis
This is a common concept. In fact, it's exactly how nearly all twitter apps on the iPhone work. Usually it can be done manually with NSURLConnection and the like, though you may consider using a third-party framework like ASI-HTTP-Request or CocoaREST. -- Steven Degutis http://www.thoughtfultree.

Re: (no subject)

2009-09-04 Thread David Blanton
Thank you I.S. and Steven ... I am off to the races! On Sep 4, 2009, at 4:42 PM, Steven Degutis wrote: This is a common concept. In fact, it's exactly how nearly all twitter apps on the iPhone work. Usually it can be done manually with NSURLConnection and the like, though you may consider

Re: (no subject)

2009-09-07 Thread Bryan Henry
According to the memory management rules, yes, you own the object returned by that method and you should therefore release it. "You take ownership of an object if you create it using a method whose name begins with “alloc” or “new” or contains “copy” (for example, alloc,newObject, or mutabl

Re: (no subject)

2008-09-04 Thread Thomas Davie
On 4 Sep 2008, at 12:54, [EMAIL PROTECTED] wrote: Hi All, I need to create a plug-in for safari. It should be a toolbar and when I'm installing it, it has to a prompt user to enter personal info and should be stored in same computer. When I'm using browser, where I need to fill the data

Re: (no subject)

2008-09-04 Thread I. Savant
On Thu, Sep 4, 2008 at 7:57 AM, Thomas Davie <[EMAIL PROTECTED]> wrote: > As far as I know, you can't add toolbars to Safari. At a guess, this is by > design. ... and a very GOOD design, too: http://blogs.walkerart.org/newmedia/wp-content/uploads/2008/07/too-many-toolbars.jpg (just one exam

Re: (no subject)

2009-02-20 Thread Thomas Davie
On 20 Feb 2009, at 10:59, mukesh wrote: Also give information about the control I should use for this. I suggest the NSTextView, and you typing something into it to tell us what you're actually wanting ;) Bob ___ Cocoa-dev mailing list (Coc

Re: (no subject)

2009-02-20 Thread Nathan
... So you want someone to tell you how to do it, or do you have a specific problem? •confused• Nate On Feb 20, 2009, at 4:57 AM, mukesh wrote: Hi all I am building an application whose requirement is to develop an window same as in the macosx application FINDER. The window should be

Re: (no subject)

2009-02-20 Thread Sherm Pendley
On Fri, Feb 20, 2009 at 4:57 AM, mukesh wrote: > > I am building an application whose requirement is to develop an window > same as in the macosx application FINDER. The window should be such that it > should display the files/folders in the sam e way as in the finder (ie: the > files/folders can

Re: (no subject)

2009-02-20 Thread Sherm Pendley
On Fri, Feb 20, 2009 at 1:05 PM, Sherm Pendley wrote: > On Fri, Feb 20, 2009 at 4:57 AM, mukesh wrote: > > Welcome aboard! Were you having difficulty with some part of that, or were > you just introducing yourself and letting us all know what you're working > on? :-) > Never mind - I see your oth

Re: (no subject)

2009-02-20 Thread Nick Zitzmann
On Feb 20, 2009, at 2:57 AM, mukesh wrote: I am building an application whose requirement is to develop an window same as in the macosx application FINDER. The window should be such that it should display the files/folders in the sam e way as in the finder (ie: the files/folders can be vi

Re: (no subject)

2009-02-20 Thread parag vibhute
HI Mukesh, Nick has mentioned nicely. Ask the *exact *question. Regards, Parag On Fri, Feb 20, 2009 at 11:42 PM, Nick Zitzmann wrote: > > On Feb 20, 2009, at 2:57 AM, mukesh wrote: > > I am building an application whose requirement is to develop an window >> same as in the macosx application

Re: Programmatically loading page into WebView [was: (no subject)]

2008-03-04 Thread Jens Alfke
On 4 Mar '08, at 1:18 AM, ali alavi wrote: I need to be able to load the page automatically when I programmatically set the URL filed to a web page address. However the only way I can make the page appear now is by clicking in the URL field and hitting Return key. How can I do this without