Re: Creating the app menu from scratch

2008-07-13 Thread Jeff Johnson
On Jul 13, 2008, at 10:37 PM, Bill Bumgarner wrote: And, no, exchanging class methods is not a typical pattern to be employed when developing a Cocoa application. In particular, replacing or exchanging method implementations found in Apple frameworks is completely unsupported and will quite

Re: Creating the app menu from scratch

2008-07-13 Thread Jeff Johnson
The code I gave in Part 6 is only for Leopard. However, the code I gave in Part 5 is for Tiger. It should also work for 32-bit Leopard as well as Panther, though I've never tested on Panther. Note that my code is at present just a proof of concept. I'm not making any recommendations about w

Re: [NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Deborah Goldsmith
On Jul 13, 2008, at 10:34 PM, Charles Srstka wrote: What I don't get is why there can't just be a +dateWithYear:month:day:hour:minute:second:timeZone:calendar: method to replace the current +dateWithYear:month:day:hour:minute:second:timeZone: one instead of having to deal with three differ

Re: NSViewController and View Swapping

2008-07-13 Thread Brad Gibbs
Thanks for the quick response and the links. NSTabView with tabs on the bottom is exactly what I'm looking for, except, I'm writing a fullscreen app with stylized NSImage buttons, rather than tabs. I'm still looking through the ViewController sample code. Given the number of single window

Re: NSViewController and View Swapping

2008-07-13 Thread Nathan Kinsinger
On Jul 13, 2008, at 11:15 PM, Brad Gibbs wrote: I'm trying to create a Cocoa app with a single window with a number of views that get swapped in and out, using an NSViewController for each of the views. I have a series of buttons along the bottom of the UI in a custom view, and another c

Is there any way to show disclosure button always closed in NSOutlineView

2008-07-13 Thread Aman Alam
I am working on a project that needs the disclosure button of NSOutlineView always closed whether its row are expanded or not. Does anyone know that how to do that? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin re

Re: Remove overlap on NSBezierPath

2008-07-13 Thread Jens Alfke
On 13 Jul '08, at 9:14 PM, Graham Cox wrote: Since apps like Adobe Illustrator and Flash can perform these operations on bezier paths, clearly there are methods that exist for doing it, even though the mathematicians claim otherwise (what they are claiming is the lack of a general all-purp

Re: [NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Charles Srstka
On Jul 13, 2008, at 7:47 PM, Deborah Goldsmith wrote: The Thai, Hebrew, and Islamic calendars are quite important in the software market, and there is one other that Jens didn't mention: the Japanese calendar. The Japanese era system is heavily used in Japan: http://en.wikipedia.org/wiki/Ja

NSViewController and View Swapping

2008-07-13 Thread Brad Gibbs
I'm trying to create a Cocoa app with a single window with a number of views that get swapped in and out, using an NSViewController for each of the views. I have a series of buttons along the bottom of the UI in a custom view, and another custom view above the row of buttons. When button A

Re: Remove overlap on NSBezierPath

2008-07-13 Thread Brett Powley
How I can merge to bezierPaths and remove the overlap in Cocoa. Does anyone has exerience with this or can point me to some information? It's not going to solve this problem generally for you, but you could start with the code provided generously by Omni: http://www.omnigroup.com

Re: Creating the app menu from scratch

2008-07-13 Thread Bill Bumgarner
On Jul 13, 2008, at 9:25 PM, Jim Crafton wrote: Can you elaborate on why? Most of the time from what I've seen, when people think they need to do this, they really don't. For example: Sure, I'm porting a framework over to OS X. The framework (in C++), doesn't use NIBs, but does (obviously) use m

IKImageBrowserView aspect ratio

2008-07-13 Thread Chilton Webb
Hi, I have a lot of 4:3 ratio images I'd like to line up with IKImageBrowserView. Unfortunately, the default configuration forces all of the IKImageBrowserView cells to be square. Is there a way to set the aspect ratio of the IKImageBrowserView cells? Thank you, -Chilton Webb _

NSUserDefaultsController, when does value change?

2008-07-13 Thread James W. Walker
I have a preferences dialog that I'm using with an NSUserDefaultsController instance, my first use of bindings, and it works. But I want to post a notification when a certain setting changes. In my method that shows the dialog, I record the old value of the setting. In my action method f

Re: Creating the app menu from scratch

2008-07-13 Thread Jim Crafton
> Can you elaborate on why? Most of the time from what I've seen, when > people think they need to do this, they really don't. For example: Sure, I'm porting a framework over to OS X. The framework (in C++), doesn't use NIBs, but does (obviously) use menu items and thus I need to be able to popula

Re: Remove overlap on NSBezierPath

2008-07-13 Thread Graham Cox
If all you need is a fill, and a union, it's trivial just to paint two paths one on top of the other. If one path completely surrounds the other you can get a difference effect by appending the paths and using the appropriate winding rule. XOR likewise. But these are about the only situatio

Re: [NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Deborah Goldsmith
On Jul 13, 2008, at 8:34 PM, Nick Zitzmann wrote: What's the NSCalendar identifier for the Thai calendar? I don't see one documented in the NSLocale docs. NSBuddhistCalendar Deborah Goldsmith Apple Inc. [EMAIL PROTECTED] ___ Cocoa-dev mailing list

Re: Creating the app menu from scratch

2008-07-13 Thread Michael Ash
On Sun, Jul 13, 2008 at 5:01 PM, Jim Crafton <[EMAIL PROTECTED]> wrote: > I'd like to be able to create an application's menu from scratch, > without a nib file. Can you elaborate on why? Most of the time from what I've seen, when people think they need to do this, they really don't. For example:

Re: Custom NSCells

2008-07-13 Thread Matt Neuburg
On Mon, 14 Jul 2008 10:59:44 +1200, "Paul Williams" <[EMAIL PROTECTED]> said: >Hi, > >I am trying to find a way where I can use a NSTableView to display a list of >buttons(NSButtonCell) which can be hidden depending on the state of the >program. >I have tried using a custom NSCells, but the only ob

Re: Custom NSCells

2008-07-13 Thread Michael Ash
On Sun, Jul 13, 2008 at 6:59 PM, Paul Williams <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to find a way where I can use a NSTableView to display a list of > buttons(NSButtonCell) which can be hidden depending on the state of the > program. > I have tried using a custom NSCells, but the only o

Re: Creating the app menu from scratch

2008-07-13 Thread Bill Bumgarner
On Jul 13, 2008, at 8:16 PM, Jim Crafton wrote: Thanks, that looks pretty much exactly what I'm after. The only question I had was that this seems to be specific to the 10.5 Obj runtime, is there a way to do this on 10.4 or even 10.3.9? Also is this "safe", exchanging class methods like this seem

Re: [NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Nick Zitzmann
On Jul 13, 2008, at 6:47 PM, Deborah Goldsmith wrote: Mac OS X 10.5 supports Gregorian, Japanese, Thai, Hebrew, and Islamic (two kinds) calendars. What's the NSCalendar identifier for the Thai calendar? I don't see one documented in the NSLocale docs. Nick Zitzmann

Re: Remove overlap on NSBezierPath

2008-07-13 Thread David Duncan
On Jul 13, 2008, at 6:43 AM, Georg Seifert wrote: I don’t know if this is the right place to ask ... How I can merge to bezierPaths and remove the overlap in Cocoa. Does anyone has exerience with this or can point me to some information? Now one thing that no one has really asked is, do

Re: Creating the app menu from scratch

2008-07-13 Thread Jim Crafton
Thanks, that looks pretty much exactly what I'm after. The only question I had was that this seems to be specific to the 10.5 Obj runtime, is there a way to do this on 10.4 or even 10.3.9? Also is this "safe", exchanging class methods like this seems pretty wild, I've not seen something like this b

Re: SOAP server framework?

2008-07-13 Thread Devon Ferns
Check out nusoap which is a php soap framework/library. It's really easy to set up your own soap functions on the server and it generates the WSDL file for you dynamicall Devon On 13-Jul-08, at 6:34 PM, Stefan wrote: Am 13.07.2008 um 23:08 schrieb Jens Alfke: On 13 Jul '08, at 12:15 PM,

Re: Responder Chain Patching

2008-07-13 Thread Matt Neuburg
On Sun, 13 Jul 2008 16:48:45 +0100, Keith Duncan <[EMAIL PROTECTED]> said: >I'm working with NSViewController to create a workflow of controllers. >I'm trying to patch the controller into the responder chain so that I >can implement action methods in the specific controllers and in the >window cont

Re: Custom NSCells

2008-07-13 Thread Scott Anguish
Have a look at /Developer/Examples/AppKit/SimpleBrowser and DragNDropOutlineView both of these implement cells that show more information. On Jul 13, 2008, at 6:59 PM, Paul Williams wrote: Hi, I am trying to find a way where I can use a NSTableView to display a list of buttons(NSButtonCe

Re: [NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Deborah Goldsmith
The Thai, Hebrew, and Islamic calendars are quite important in the software market, and there is one other that Jens didn't mention: the Japanese calendar. The Japanese era system is heavily used in Japan: http://en.wikipedia.org/wiki/Japanese_era_name While the months and days of the Japanes

[Moderator] Re: Why aren't my bindings firing?

2008-07-13 Thread Scott Anguish
Your message is entirely off topic and totally inappropriate. I can't see how anyone on the list could feel this was an appropriate response. On Jul 13, 2008, at 5:06 PM, Hamish Allan wrote: This isn't relevant and is personal information that should not be posted.. Whether about me, o

Re: Remove overlap on NSBezierPath

2008-07-13 Thread Graham Cox
Are you talking about performing union, intersection, difference (i.e. "set" operations)? If so, this is not a simple problem. Cocoa doesn't have anything built in to do it, and in fact there is no known general solution for arbitrary bezier curves (though there are plenty of practical/heur

re: SOAP server framework

2008-07-13 Thread John Zorko
Stefan, Though it's not ObjC, i've used gSOAP in several projects for SOAP clients and servers. If you have a WSDL, it will generate either a C or C++ interface (your choice) from it. Otherwise, it will generate the WSDL given a header file that you define. Regards, John Falling You

Custom NSCells

2008-07-13 Thread Paul Williams
Hi, I am trying to find a way where I can use a NSTableView to display a list of buttons(NSButtonCell) which can be hidden depending on the state of the program. I have tried using a custom NSCells, but the only object I can can pass to my custom cell is a NSCFBoolean. Is there a way I can pass mo

Re: SOAP server framework?

2008-07-13 Thread Stefan
Am 13.07.2008 um 23:08 schrieb Jens Alfke: On 13 Jul '08, at 12:15 PM, Stefan wrote: could anybody provide a pointer to a SOAP server framework - one with low impedance gap regarding ObjC/Cocoa? It's possible that WebObjects has SOAP support, but I don't know for sure. While there is m

Re: Creating the app menu from scratch

2008-07-13 Thread Jeff Johnson
Jim, I wrote a series of 6 posts on my blog exploring this subject. http://lapcatsoftware.com/blog/?s=working+without+a+nib There are code samples for both Tiger and Leopard. -Jeff On Jul 13, 2008, at 4:01 PM, Jim Crafton wrote: I'd like to be able to create an application's menu from scra

Re: Webkit and image redirects

2008-07-13 Thread Rod Schmidt
I tried that and that lead me to change the User-Agent header to AppleWebKit. Now I get a redirect and here are the headers I get back: "Cache-Control" = "no-cache"; Connection = close; "Content-Length" = 136; "Content-Type" = "text/html; charset=utf-8"; Date = "Sun, 13 Jul

Re: Setting Up Socket Streams

2008-07-13 Thread Jens Alfke
On 13 Jul '08, at 1:46 PM, StaS Bandol wrote: "Note that @"http://192.168.1.2"; is a URL, not a host name. Just use the host name portion of the URL." - so i shall use @"192.168.1.2" instead of @"http://192.168.1.2";? Yes. Nearly any API that takes a domain name also accepts the numeric

Re: SOAP server framework?

2008-07-13 Thread Jens Alfke
On 13 Jul '08, at 12:15 PM, Stefan wrote: could anybody provide a pointer to a SOAP server framework - one with low impedance gap regarding ObjC/Cocoa? It's possible that WebObjects has SOAP support, but I don't know for sure. While there is much Java stuff available, I wonder why Apple

Re: Why aren't my bindings firing?

2008-07-13 Thread Hamish Allan
In subsequent discussion off-list, Mmalc has made it known to me that in questioning Scott's statements that Key-Value Binding and Cocoa Bindings are the same thing -- or rather, in failing to capitulate to his insistence that Ron made the identical claim -- I have caused him considerable physical

Creating the app menu from scratch

2008-07-13 Thread Jim Crafton
I'd like to be able to create an application's menu from scratch, without a nib file. I'm having problems doing so, I've looked around and seen some different code samples but nothing seems to work correctly. The simplest case: int main(int argc, char *argv[]) { NSAutoreleasePool *pool = [

Re: Quick look preview multipage rich text -- NSPrintOperation inconsistency

2008-07-13 Thread Philip Dow
I have a filed a report, Bug ID# 6072333. ~Phil On Jul 11, 2008, at 1:02 PM, Julien Jalon wrote: On Fri, Jul 11, 2008 at 8:00 PM, Philip Dow <[EMAIL PROTECTED]> wrote: That's right, I realized after posting the message that I should have boiled it down to the following: + (NSPrintOpera

Re: Setting Up Socket Streams

2008-07-13 Thread StaS Bandol
Hi Chris, Thank you for your response: My 192.168.1.2 processor can understand standard TCP/IP protocol and is located in my local network. So , this 192.168.1.2 is a server in my communication and are always listening the port 8000 , and my app will be the client which shall open a socke

Re: [NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Phil
On Jul 13, 2008, at 2:50 PM, Jens Alfke wrote: On 13 Jul '08, at 10:52 AM, Phil wrote: I'd really like to understand what *common* modern uses there are for non-Gregorian calendars Are you serious? A large fraction of the world's population uses other calendars. From the Wikipedia entry

Re: importing sqlite data into a core data "database"

2008-07-13 Thread John Velman
On Sat, Jul 12, 2008 at 08:25:39PM -0700, John Velman wrote: > Thanks, Chris, > > Using the SQLite 3 api as you suggest sounds good, but there are a couple --[snip] Thanks to all who responded. Things are much clearer now. Just a word about third party software. I didn't mean to denegrate

Re: garbage collection and NSConnection

2008-07-13 Thread Michael Ash
On Sun, Jul 13, 2008 at 12:29 PM, Marcel Weiher <[EMAIL PROTECTED]> wrote: > > On Jul 12, 2008, at 13:42 , Michael Ash wrote: > http://www.opensource.apple.com/darwinsource/projects/apsl/CF-476.10/CFRuntime.h >> >> typedef struct __CFRuntimeBase { >> uintptr_t _cfisa; >> uint8_t _cfinfo[4]; >>

SOAP server framework?

2008-07-13 Thread Stefan
Hi, could anybody provide a pointer to a SOAP server framework - one with low impedance gap regarding ObjC/Cocoa? While there is much Java stuff available, I wonder why Apple never provided a SOAP server implementation or a real Cocoa SOAP implementation. Well, maybe developers could use

Re: Trigonometric Problem, Particularly tan() Function

2008-07-13 Thread Bill Monk
On Jul 13, 2008 10:30:27 -0300, Patrick Walker <[EMAIL PROTECTED]> wrote: float radians; radians = ([entryField floatValue] * M_PI / 180); [outField setFloatValue:tan(radians)]; tan() takes a double and returns a double. Your code above truncates doubles three different

Re: [NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Jens Alfke
On 13 Jul '08, at 10:52 AM, Phil wrote: I'd really like to understand what *common* modern uses there are for non-Gregorian calendars Are you serious? A large fraction of the world's population uses other calendars. From the Wikipedia entry "Calendar": While the Gregorian calendar is wid

Re: Webkit and image redirects

2008-07-13 Thread Jens Alfke
On 13 Jul '08, at 9:49 AM, Rod Schmidt wrote: I have an embedded webkit in my app. In my HTML that I display in the webview I have an image that refers to an image a Backpack web page. In Safari when you type in the URL for this image it gets redirected to another image that is stored on t

Re: Trigonometric Problem, Particularly tan() Function

2008-07-13 Thread Jens Alfke
On 13 Jul '08, at 7:10 AM, Michael Vannorsdel wrote: I don't think it's the cause but you should probably use tanf to avoid value casting to and from a double. Rather, he should be using double instead of float, since he needs more precision. As one of the other Michaels on this thread poi

Re: Remove overlap on NSBezierPath

2008-07-13 Thread Jens Alfke
On 13 Jul '08, at 6:43 AM, Georg Seifert wrote: How I can merge to bezierPaths and remove the overlap in Cocoa. Does anyone has exerience with this or can point me to some information? That's a rather difficult bit of computational geometry. AFAIK, CoreGraphics doesn't have anything tha

Re: [NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Phil
On Jul 13, 2008, at 12:05 PM, Keith Duncan wrote: The problem is that NSCalendarDate uses the gregorian calendar exclusively I must be out of the loop on the population of developers and/or users complaining about this. If the issue is the reliance on the Gregorian calendar, where's the

Re: Servicing Core Animations?

2008-07-13 Thread I. Savant
I welcome any feedback, mockery, etc. Feedback I can give, mockery requires creativity which I'm fresh out of today ... long day yesterday. ;-) If I use the option in (1) below, it works fine. If I use the option in (2), which is what I WANT to use, no animation occurs until after the

Re: Triangulating webcams

2008-07-13 Thread em
Jens--that's an awfully nice piece of work on the web-site that you pointed me to. Thanks. I hope your 'lost connection iPhone-->mac gets resolved'. Oh, and I couldn't overlook the 'iPhone build entry'. I'm kicking myself for missing out on the iPhone dev stuff. I downloaded the SDK and I e

Webkit and image redirects

2008-07-13 Thread Rod Schmidt
I have an embedded webkit in my app. In my HTML that I display in the webview I have an image that refers to an image a Backpack web page. In Safari when you type in the URL for this image it gets redirected to another image that is stored on the Amazon web service. However, in my webview t

Re: garbage collection and NSConnection

2008-07-13 Thread Marcel Weiher
On Jul 12, 2008, at 13:42 , Michael Ash wrote: http://www.opensource.apple.com/darwinsource/projects/apsl/CF-476.10/CFRuntime.h typedef struct __CFRuntimeBase { uintptr_t _cfisa; uint8_t _cfinfo[4]; #if __LP64__ uint32_t _rc; #endif } CFRuntimeBase; I guess this isn't the right one,

Re: [NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Keith Duncan
I worked it out using NSCalendarDate [...] From the docs: Important: Use of NSCalendarDate strongly discouraged. It is not deprecated yet, however it may be in the next major OS release after Mac OS X v10.5. For calendrical calculations, you should use suitable combinations of NSCalendar,

Re: [NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Jamie Phelps
Well, I worked it out using NSCalendarDate's - dateByAddingYears:months:days:hours:minutes:seconds: but I'd still be curious as to why the natural language I was trying to use didn't work... JP On Jul 13, 2008, at 10:44 AM, Jamie Phelps wrote: Hi, all. I searched the archives regarding thi

Responder Chain Patching

2008-07-13 Thread Keith Duncan
I'm working with NSViewController to create a workflow of controllers. I'm trying to patch the controller into the responder chain so that I can implement action methods in the specific controllers and in the window controller. I'm using the following code in an attempt to create a responde

[NSDate +dateWithNaturalLanguageString] question

2008-07-13 Thread Jamie Phelps
Hi, all. I searched the archives regarding this method and didn't find anything applicable. Sorry if this has been covered. Is there some list of acceptable strings for +dateWithNaturalLanguageString:? I am trying to set my Core Data entity's expirationDate attribute's default value to "fou

Re: Design Question: Where to observe using KVO?

2008-07-13 Thread Ken Thomases
On Jul 11, 2008, at 2:45 AM, Patrick Mau wrote: Do you think that observing lots of objects with lots of keypaths is a good idea anyway? Honestly, I've forgotten the original design issues you're considering. If you need to observe lots of objects and key paths to achieve your purposes, the

Re: NSTimer and NSLock

2008-07-13 Thread Michael Ash
On Sun, Jul 13, 2008 at 6:13 AM, Lorenzo <[EMAIL PROTECTED]> wrote: > Hi, > I need to execute a method only after a thread has been executed. > I guess I have to lock that thread but I don't know how. > The thread I should lock comes from a timer Timers have nothing to do with threads. All code in

Re: Trigonometric Problem, Particularly tan() Function

2008-07-13 Thread Michael Ash
On Sun, Jul 13, 2008 at 9:30 AM, Patrick Walker <[EMAIL PROTECTED]> wrote: > I can't post the whole thing because it's sort of large and "integrated" but > here is what I have originally done. > >float radians; > >radians = ([entryField floatValue] * M_PI / 180); >[outField setFloatValu

Re: Click to edit

2008-07-13 Thread Stefan Arentz
On Jul 13, 2008, at 12:46 AM, Jens Alfke wrote: On 12 Jul '08, at 7:50 PM, Stefan Arentz wrote: I would like to use text labels that turn into editable text fields when you click them. Like Address Book has when you edit an address card. Does anyone know how those work? Is it a matter of

Re: Trigonometric Problem, Particularly tan() Function

2008-07-13 Thread Michael Vannorsdel
I don't think it's the cause but you should probably use tanf to avoid value casting to and from a double. On Jul 13, 2008, at 7:30 AM, Patrick Walker wrote: I can't post the whole thing because it's sort of large and "integrated" but here is what I have originally done. float radians;

Re: Trigonometric Problem, Particularly tan() Function

2008-07-13 Thread Michael Hall
On Jul 13, 2008, at 8:30 AM, Patrick Walker wrote: My other problems seems to be -2877334 itself. To me, that appears to be a rather strange value for a floating point number Tan^-1 on -2877334 on my trusty TI-36X Solar shows that as -89.975 Mike Hallhallmike at att dot net ht

Remove overlap on NSBezierPath

2008-07-13 Thread Georg Seifert
Hello, I don’t know if this is the right place to ask ... How I can merge to bezierPaths and remove the overlap in Cocoa. Does anyone has exerience with this or can point me to some information? Thanks in advance Georg___ Cocoa-dev mailing list (

Re: Trigonometric Problem, Particularly tan() Function

2008-07-13 Thread Patrick Walker
I can't post the whole thing because it's sort of large and "integrated" but here is what I have originally done. float radians; radians = ([entryField floatValue] * M_PI / 180); [outField setFloatValue:tan(radians)]; A simple solution could involve using another trigonometgric

Re: Design Question: Where to observe using KVO?

2008-07-13 Thread Patrick Mau
Ken Thomases wrote: > How about a dictionary whose keys are NSValues representing the > objects? For each object, the value from the dictionary would be an > NSMutableArray whose elements are the key paths being observed on that > object. > > // ... > NSValue* objectKey = [NSValue valueW

Re: Cocoa : Drag/ drop from a table view onto a NSTextfield

2008-07-13 Thread Marco Masser
1. I have a text field and a table view in 2 different windows. I drag and drop a row from the table view to the textfield. Now, after drop, i would want to have a database transaction. I would want to validate the text that i have dropped onto the text field, and save the text that i have dropp

Re: NSTimer and NSLock

2008-07-13 Thread Simone Tellini
Il giorno 13/lug/08, alle ore 12:13, Lorenzo ha scritto: timer = [[NSTimer scheduledTimerWithTimeInterval:timeInterval target:self selector:@selector(UpdateWindow:) userInfo:nil repeats:YES] retain]; [[NSRunLoop currentRunLoop] addTimer:timer f

NSTimer and NSLock

2008-07-13 Thread Lorenzo
Hi, I need to execute a method only after a thread has been executed. I guess I have to lock that thread but I don't know how. The thread I should lock comes from a timer timer = [[NSTimer scheduledTimerWithTimeInterval:timeInterval target:self selector:@selector(UpdateWindow:)

Google map view in my iPhone application

2008-07-13 Thread Devraj Mukherjee
Hi all, I am trying to explore the iPhone SDK. In my application I wish to use a Google map with visual markers to represent contact details. Do I just use a Web Browser component to display the map? Or is there a better of approaching this? Thanks for your time. -- "I never look back darling,

Cocoa : Drag/ drop from a table view onto a NSTextfield

2008-07-13 Thread vibhatha v
Hi, I wanted some inputs regarding drag/ drop functionality in cocoa. I have two scenarios as below: 1. I have a text field and a table view in 2 different windows. I drag and drop a row from the table view to the textfield. Now, after drop, i would want to have a database transaction. I would wa