Re: Create command from string

2008-12-01 Thread Bill Bumgarner
On Dec 1, 2008, at 8:52 PM, Luke the Hiesterman wrote: parse string into commandString and argumentString then do: SEL command = NSSelectorFromString(commandString); [anObject performSelector:command withObject:argumentString]; If you're trying to execute a C function, then you could create c

Xcode messes up my Log Files

2008-12-01 Thread Gerriet M. Denkmann
Whenever Xcode is running, I get hundreds of lines like: 02/12/2008 14:02:37 Xcode[451] Xcode(451,0xb0103000) malloc: free_garbage: garbage ptr = 0x3af12c0, has non-zero refcount = 1 in my Log Files (Console Messages). I am ready to believe that this is something quite innocent and not to be

Viewing Documentation in Safari

2008-12-01 Thread Gerriet M. Denkmann
When I try to open the "String Programming Guide for Cocoa" in Safari, it tells me that: “index.html” is a web application which was downloaded from the Internet. Are you sure you want to open it? Xcode downloaded this file on 26 November 2008 from developer.apple.com. First of all, I st

Re: Time measurement

2008-12-01 Thread Rob Keniger
On 02/12/2008, at 5:08 PM, Daniel Luis dos Santos wrote: Hello, Not sure I should ask this here. How do I get time measurements in milliseconds? What is the accuracy of the mac's C library implementation ? I am using the clock() function from time.h and measuring differences in seconds

Time measurement

2008-12-01 Thread Daniel Luis dos Santos
Hello, Not sure I should ask this here. How do I get time measurements in milliseconds? What is the accuracy of the mac's C library implementation ? I am using the clock() function from time.h and measuring differences in seconds between the trigering of a NSTimer. The NSTimer fires ever

Re: ???& ??? in ICARegisterForEventNotification Apple Code Sample

2008-12-01 Thread Andrew Farmer
On 01 Dec 08, at 21:54, Ron Fleckner wrote: They are almost certainly un-rendered plain '&' tokens which Safari has failed to render properly or perhaps the html was incorrectly written. The clue is that each of them have a semi-colon after them. Have a look at the page's source code to c

Re: Crash when closing window from the menu

2008-12-01 Thread Andre Masse
Thanks for the clarification Michael. One thing I'm discovering as I'm learning Cocoa is that it's easy to forget basic things. You set connections, bindings, data sources or delegates graphically between your objects in IB and when you run your application, all seems to work like "magic".

Re: ???& ??? in ICARegisterForEventNotification Apple Code Sample

2008-12-01 Thread Ron Fleckner
On 02/12/2008, at 4:34 PM, M Pulis wrote: Folks, In the code below, from http://developer.apple.com/documentation/Carbon/Conceptual/ImageCaptureServicesProgrammingGuide/03HowtoWriteanImageCaptureApplication/chapter_3_section_1.html#/ /apple_ref/doc/uid/TP40005196-CH4-SW1 In the calls CFAr

???& ??? in ICARegisterForEventNotification Apple Code Sample

2008-12-01 Thread M Pulis
Folks, In the code below, from http://developer.apple.com/documentation/Carbon/Conceptual/ ImageCaptureServicesProgrammingGuide/ 03HowtoWriteanImageCaptureApplication/chapter_3_section_1.html#// apple_ref/doc/uid/TP40005196-CH4-SW1 In the calls CFArrayCreate and ICARegisterForEventNotifica

Re: Textual representation of an NSData?

2008-12-01 Thread Stephen J. Butler
On Mon, Dec 1, 2008 at 11:02 PM, Michael Ash <[EMAIL PROTECTED]> wrote: > On Mon, Dec 1, 2008 at 11:04 PM, Stephen J. Butler > <[EMAIL PROTECTED]> wrote: >> Really, don't encode it in your binary. Especially bad idea on an >> embedded platform like the iPhone because they you're carrying around >>

Re: Create command from string

2008-12-01 Thread Jay Reynolds Freeman
If the command you seek can be accomplished by a Unix shell, you can always create a string and then call the Unix "system" function to perform it. This approach has perils, however. -- Jay Reynolds Freeman - [EMAIL PROTECTED] http://web.mac.com/jay_reynolds_freeman (persona

Re: Textual representation of an NSData?

2008-12-01 Thread Michael Ash
On Mon, Dec 1, 2008 at 11:04 PM, Stephen J. Butler <[EMAIL PROTECTED]> wrote: > Really, don't encode it in your binary. Especially bad idea on an > embedded platform like the iPhone because they you're carrying around > the image data in memory whether you're currently using the image or > not. It'

Re: Crash when closing window from the menu

2008-12-01 Thread Michael Ash
On Mon, Dec 1, 2008 at 2:54 PM, Jerry Krinock <[EMAIL PROTECTED]> wrote: > > On 2008 Dec, 01, at 6:12, Jean-Daniel Dupas wrote: > >> - (void)dealloc { >>[_tableView setDataSource:nil]; >>[_otherIVar setDelegate:nil]; > > According to [1], you need one more line of code here: >

Re: Create command from string

2008-12-01 Thread Luke the Hiesterman
parse string into commandString and argumentString then do: SEL command = NSSelectorFromString(commandString); [anObject performSelector:command withObject:argumentString]; If you're trying to execute a C function, then you could create class methods to wrap them. Luke On Dec 1, 2008, at 8

Re: Create command from string

2008-12-01 Thread Bill Bumgarner
On Dec 1, 2008, at 8:40 PM, John Murphy wrote: How do I do execute a command expression from a string? e.g., NSString *string = [NSString stringWithFormat:@"NSLog(@\"hello\");"]; Now what? Generally, you don't. At least, not on a user system. On a system with developer tools, you cou

Create command from string

2008-12-01 Thread John Murphy
How do I do execute a command expression from a string? e.g., NSString *string = [NSString stringWithFormat:@"NSLog(@\"hello\");"]; Now what? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests o

Re: Textual representation of an NSData?

2008-12-01 Thread Stephen J. Butler
On Mon, Dec 1, 2008 at 9:46 PM, Dave DeLong <[EMAIL PROTECTED]> wrote: > I've got some NSData objects that I'd like to hard code into a file (they're > encoded images for some example factory methods). The reason I need to hard > code them is that I need to be able to reconstruct these images on b

Re: Textual representation of an NSData?

2008-12-01 Thread Jim Correia
On Dec 1, 2008, at 10:46 PM, Dave DeLong wrote: I've got some NSData objects that I'd like to hard code into a file (they're encoded images for some example factory methods). The reason I need to hard code them is that I need to be able to reconstruct these images on both the Mac and the i

Textual representation of an NSData?

2008-12-01 Thread Dave DeLong
Hey everyone, I've got some NSData objects that I'd like to hard code into a file (they're encoded images for some example factory methods). The reason I need to hard code them is that I need to be able to reconstruct these images on both the Mac and the iPhone, and I thought that gettin

Re: best way to add transitions

2008-12-01 Thread M Pulis
Thanks, Matt, The pointers are appreciated. Gary On Dec 1, 2008, at 7:57 PM, Matt Long wrote: Gary, I haven't used IKImageView, however, it does implement the NSAnimatablePropertyContainer protocol: http://developer.apple.com/documentation/Cocoa/Reference/ NSAnimatablePropertyContainer

Re: Custom NSSlider?

2008-12-01 Thread Jean-Nicolas Jolivet
huh, nevermind, it was actually a stupid mistake on my end... I connected the slider to the sliderEnded action instead of sliderMoved (it's weird Im sure I double-checked...) anyway It's working now! thanks a lot J-N On 1-Dec-08, at 10:06 PM, Jean-Nicolas Jolivet wrote: Yup, still ge

Re: Custom NSSlider?

2008-12-01 Thread Jean-Nicolas Jolivet
Yup, still getting them, I also tried to move the 3 lines at the beginning of the sliderMoved method, still no luck...apparently it's not the binding thats keeping it from working I guess? J-N On 1-Dec-08, at 10:00 PM, James Walker wrote: Jean-Nicolas Jolivet wrote: Thanks for the info, I

Re: Custom NSSlider?

2008-12-01 Thread James Walker
Jean-Nicolas Jolivet wrote: Thanks for the info, I found the piece of code you were referring to, but somehow I can't get it to work... here's my code: - (IBAction)sliderMoved:(id)sender { SEL trackingEndedSelector = @selector(sliderEnded:); [NSObject cancelPreviousPerformRequestsWithTa

Re: best way to add transitions

2008-12-01 Thread Matt Long
Gary, I haven't used IKImageView, however, it does implement the NSAnimatablePropertyContainer protocol: http://developer.apple.com/documentation/Cocoa/Reference/NSAnimatablePropertyContainer_protocol/Introduction/Introduction.html#/ /apple_ref/occ/intf/NSAnimatablePropertyContainer This m

UIImageView drawRect not called

2008-12-01 Thread DKJ
I have a subclass of UIImageView, MySubView, which is instantiated and added as a subview in the viewDidLoad method of a UIViewController. MySubView displays a picture without difficulty when its image property is set in its initWithFrame method. But its drawRect method is never called. (I

Re: Custom NSSlider?

2008-12-01 Thread Jean-Nicolas Jolivet
Thanks for the info, I found the piece of code you were referring to, but somehow I can't get it to work... here's my code: - (IBAction)sliderMoved:(id)sender { SEL trackingEndedSelector = @selector(sliderEnded:); [NSObject cancelPreviousPerformRequestsWithTarget:self

Shouldn't NSOpenPanel media browser aliases be resolved before type check?

2008-12-01 Thread Nathan Vander Wilt
My Leopard-only application needs to be able to import any image supported by CGImageSource, so I create an NSOpenPanel and pass the array obtained from CGImageSourceCopyTypeIdentifiers() to runModalForTypes. This makes the "Media > Photos" sidebar to show up automatically in the Open panel

Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.

2008-12-01 Thread Peter Ammon
On Dec 1, 2008, at 2:17 PM, Keith Blount wrote: Hi, Many thanks for the reply. If you implement menuHasKeyEquivalent:, then the menu does not get populated for matching key equivalents; NSMenu assumes that your code does not need it to be populated. This puts the onus of supporting user key

Re: Custom NSSlider?

2008-12-01 Thread James Walker
Jean-Nicolas Jolivet wrote: I was wondering if its possible to have an NSSlider send an action after the user finished dragging, while still providing continuous updates? Look in the archives for the October thread named "notification of NSSlider end of tracking". -- James W. Walker, Innov

Re: Custom NSSlider?

2008-12-01 Thread Kevin Gessner
What if you handle the label via bindings, but your long process via the target/action? Then you could use -[NSSlider sendActionOn:] (inherited from NSControl) with NSLeftMouseUpMask to only send the action on drag end. It seems like this would work for a slider, though I'm not sure if the

Custom NSSlider?

2008-12-01 Thread Jean-Nicolas Jolivet
I was wondering if its possible to have an NSSlider send an action after the user finished dragging, while still providing continuous updates? The thing is, when the slider value changes, there's a considerably long process that will take place so I can't set my slider to continuous, but

Re: Crash when closing window from the menu

2008-12-01 Thread Andre Masse
Many thanks for the links! Very valuable reads! So far so good, no more crashes :-) Thanks again, Andre Masse On Dec 1, 2008, at 14:54, Jerry Krinock wrote: According to [1], you need one more line of code here: [tableView reloadData]; // other dealloc stuff [supe

Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.

2008-12-01 Thread Keith Blount
Many thanks for your reply. I'm actually rebuilding them anew each time, so this doesn't solve it, though I did try your suggestion of resetting the key equivalent just in case it would help... But no joy. Thanks and all the best, Keith --- On Mon, 12/1/08, I. Savant <[EMAIL PROTECTED]> wrote:

Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.

2008-12-01 Thread Keith Blount
Hi, Many thanks for the reply. > > If you implement menuHasKeyEquivalent:, then the menu does > not get populated for matching key equivalents; NSMenu > assumes that your code does not need it to be populated. > This puts the onus of supporting user key equivalents on the > app itself, and sinc

Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.

2008-12-01 Thread Peter Ammon
On Dec 1, 2008, at 12:49 PM, Keith Blount wrote: Hi, My application has several menus that get built dynamically, depending on user settings. For instance, there is a "Styles" menu, which lists styles the user has defined, and a "Script Elements" menu, which again, provides a list of use

Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.

2008-12-01 Thread I. Savant
On Mon, Dec 1, 2008 at 4:36 PM, I. Savant <[EMAIL PROTECTED]> wrote: > I've noticed a bug where calling -[NSMenuItem setKeyEquivalent:] > does not update unless you first set it to @"" then to the target. I > don't believe I remembered to file this with Apple ... I say this like it is most def

Re: Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.

2008-12-01 Thread I. Savant
> At first I thought the solution was obvious: I was building these menus as > needed, in the NSMenu delegate method, -menuNeedsUpdate: This method only > gets called when the user goes to look at the menu. So, if these dynamic > menus were only built in -menuNeedsUpdate:, then clearly the keybo

Rebuilding menus (menuNeedsUpdate:) and System Preferences keyboard shortcuts.

2008-12-01 Thread Keith Blount
Hi, My application has several menus that get built dynamically, depending on user settings. For instance, there is a "Styles" menu, which lists styles the user has defined, and a "Script Elements" menu, which again, provides a list of user-defined options that apply a certain format to a range

Re: Textured Window Responder Issue

2008-12-01 Thread Richard Somers
On Dec 1, 2008, at 12:34PM, Benjamin Stiglitz wrote: Presumably you have a custom view; you need to return the right value from -[NSView mouseDownCanMoveWindow]: That worked. Thank you so much. Richard ___ Cocoa-dev mailing list (Cocoa-dev@lists.

Detecting SMB servers on the network

2008-12-01 Thread Sandro Noel
Greetings. i am looking for a way to detect the presence or advertisement of samba servers on my network in cocoa kind of the same thing Bonjour does, the finder seems able to detect them and i would like to do the same thing, and i have been researching the documentation but found nothing

Re: Crash when closing window from the menu

2008-12-01 Thread Jerry Krinock
On 2008 Dec, 01, at 6:12, Jean-Daniel Dupas wrote: - (void)dealloc { [_tableView setDataSource:nil]; [_otherIVar setDelegate:nil]; According to [1], you need one more line of code here: [tableView reloadData]; // other dealloc stuff [super dealloc];

Re: Textured Window Responder Issue

2008-12-01 Thread Benjamin Stiglitz
> When the view uses NSOpenGLView a mouse drag in the view will send > events to the view. It works properly. > > When the view uses CAOpenGLLayer a mouse drag in the view will move the > window! The mouse events are being sent to the view but are apparently > being picked up and acted upon by

Re: displaying huge log files

2008-12-01 Thread Benjamin Stiglitz
On Sun, Nov 30, 2008 at 12:48:26AM -0800, Andrew Farmer wrote: > On 29 Nov 08, at 14:23, Nick Zitzmann wrote: >> On Nov 29, 2008, at 5:39 AM, Mudi Dandan wrote: >>> Is it possible to to display a memory mapped file in an NSTextView >> >> Of course. > > With one caveat: When creating a memory mappin

Textured Window Responder Issue

2008-12-01 Thread Richard Somers
I have a textured window with a custom view. When the view uses NSOpenGLView a mouse drag in the view will send events to the view. It works properly. When the view uses CAOpenGLLayer a mouse drag in the view will move the window! The mouse events are being sent to the view but are appare

Re: NSTextField as a CALayer

2008-12-01 Thread Michel Schinz
Le 1 déc. 08 à 07:45, Scott Anguish a écrit : No, you can't do this. Core Animation is designed for easy animation, but not so you can freely mix views and layers like this. you could probably do what you want by doing your current CALayer drawing into an NSView, and then add the textfiel

Re: Command-clicking table column -- radar://6407526

2008-12-01 Thread Corbin Dunn
Le Nov 30, 2008 à 2:45 PM, Kirk Kerekes a écrit : Done: Now that I have done that I eagerly anticipate the post that shows me my bonehead error. Unfortunately, I think this is just an oversight on the implementation. There is no work around, shy of implementing the selected header stu

Re: Multiple NSTableViews in one NSScrollView

2008-12-01 Thread Corbin Dunn
Hi Tom, Le Nov 26, 2008 à 1:09 AM, Thomas Engelmeier a écrit : Hi, I have an UI where a bunch of NSTableViews plus extra title views are stacked in one NSScrollView. Currently each table is loaded from a subview NIB, populated, resized-to-fit and placed in a master documentview. That is

Re: Power code unplug and plug

2008-12-01 Thread Jean-Daniel Dupas
Le 1 déc. 08 à 18:46, sheen mac a écrit : Hi All, My app want to get power code plug and unplug notification for MacBook. How can I get that info. Could suggest some info or link about this?. Thanks In Advance, Sheen I think you are looking for the IOPowerSources API, especially IOPSNoti

Power code unplug and plug

2008-12-01 Thread sheen mac
Hi All, My app want to get power code plug and unplug notification for MacBook. How can I get that info. Could suggest some info or link about this?. Thanks In Advance, Sheen ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do no

Re: CFMessagePort and GC

2008-12-01 Thread Michael Ash
On Mon, Dec 1, 2008 at 12:19 AM, Ryan Brown <[EMAIL PROTECTED]> wrote: > Also, forgot to mention: calling either objc_collect_if_needed() or > [[NSGarbageCollector defaultCollector] collectExhaustively] after releasing > the run loop source and message port doesn't force an immediate > deallocation

RE: [ANN]CocoaOniguruma Released

2008-12-01 Thread Ulai Beekam
That is nice. Thanks. Can you paste some simple code examples that do some matching against an NSStrings? For example, to determine whether myString matches against "$s.+" And another example that matches myString against "foo(.*)bar" and if it matches puts the stuff in the parantheses in a n

[ANN]CocoaOniguruma Released

2008-12-01 Thread Satoshi Nakagawa
I have released CocoaOniguruma. http://limechat.net/cocoaoniguruma/ CocoaOniguruma is an Objective-C binding of Oniguruma regular expression engine. It's simple and tiny compared to the other bindings. It works well on Mac OS X and iPhone. You can download the source code from github. http:

Re: Crash when closing window from the menu

2008-12-01 Thread Andre Masse
That would explain the different behaviours. Thanks a lot, Andre Masse On Dec 1, 2008, at 10:26, Jean-Daniel Dupas wrote: What I don't understand is why I don't crash if the window is closed from its close box... The order in which the window go offscreen, the window content is releas

Re: Core Data vector modeling query

2008-12-01 Thread Paul Tomlin
Thanks Erik, On 01 Dec 2008, at 4:59 PM, Erik Buck wrote: Vector3DReference is abstract. I have derived Vector3DReference for all of the cases where I have other entities with relationships to Vector3DReference. For example, I have a Billboard entity that has a "to one" relationship to B

Re: Crash when closing window from the menu

2008-12-01 Thread Jean-Daniel Dupas
Le 1 déc. 08 à 15:15, Andre Masse a écrit : Thanks for your reply Keary, What I don't understand is why I don't crash if the window is closed from its close box... Andre Masse The order in which the window go offscreen, the window content is released, etc. is probably not the same if

Re: Core Data vector modeling query

2008-12-01 Thread Thomas Davie
On 1 Dec 2008, at 15:59, Erik Buck wrote: I use Core Data to store large amounts of 3D vector data. I solved your problem in the following way: I have a "Vector3D" entity that you can think of as an "end point" in your model. My Vector3D entity has x,y,z attributes. I have a "Vector3DR

Re: Core Data vector modeling query

2008-12-01 Thread Erik Buck
As another refinement, store all of your end points as an array of float.  Store the array in NSData.  Have an entity called EndPointStorage that has an NSData attribute, endpoints.   The Vector3DReference entity can then have an integer attribute called endPointIndex.  Use endPointIndex to look

Re: Core Data vector modeling query

2008-12-01 Thread Erik Buck
I use Core Data to store large amounts of 3D vector data.  I solved your problem in the following way:   I have a "Vector3D" entity that you can think of as an "end point" in your model.  My Vector3D entity has x,y,z attributes.   I have a "Vector3DReference" entity.   Vector3D has a "to many" re

best way to add transitions

2008-12-01 Thread M Pulis
Hello Cocoa folk, My app uses an IKImageView in its main window. Until the user engages some function, the IK view sequentially displays slides prompting the user to become involved, a typical attract mode. What is now requested is a transition such as fade (or any of the variety of trans

Re: Crash when closing window from the menu

2008-12-01 Thread Andre Masse
Thanks for the info Thomas. I should have said that I'm not using GC. Andre Masse On Dec 1, 2008, at 09:22, Thomas Davie wrote: This is a shot in the dark, but I was looking at a very similar error recently. It turned out to be caused by having forgotten to turn on garbage collection i

ASLExpireTime Format?

2008-12-01 Thread Karl Moskowski
I'm using ASL for logging, and I'm trying to make the messages persist in the main database for at least 30 days. In Peter Hosey's excellent blog series on ASL, there's a description of an undocumented key "ASLExpireTime" to accomplish this. I'm doing something like this: NSCalendarDate *t

Re: Crash when closing window from the menu

2008-12-01 Thread Thomas Davie
On 1 Dec 2008, at 14:47, Andre Masse wrote: Hi, I've a strange bug that happens if the window is closed by choosing the "Close" menu and not by clicking in the window's close box. The window contains master/detail views. I can prevent the crash if I set the master's table view datasourc

Re: Crash when closing window from the menu

2008-12-01 Thread Andre Masse
Ah! Didn't know that. Thanks a lot, Andre Masse On Dec 1, 2008, at 09:12, Jean-Daniel Dupas wrote: When you dealloc a datasource, a delegate or any other object that is not retained by class that uses it, you have to unregister it. For example, if you have an object that is datasource for i

Re: Crash when closing window from the menu

2008-12-01 Thread Andre Masse
Thanks for your reply Keary, What I don't understand is why I don't crash if the window is closed from its close box... Andre Masse On Dec 1, 2008, at 09:08, Keary Suska wrote: On Dec 1, 2008, at 6:47 AM, Andre Masse wrote: I've a strange bug that happens if the window is closed by choo

Re: Crash when closing window from the menu

2008-12-01 Thread Jean-Daniel Dupas
When you dealloc a datasource, a delegate or any other object that is not retained by class that uses it, you have to unregister it. For example, if you have an object that is datasource for its _tableView ivar and delegate for _otherIVar ivar, you should do something like this : - (void)de

Re: Crash when closing window from the menu

2008-12-01 Thread Keary Suska
On Dec 1, 2008, at 6:47 AM, Andre Masse wrote: I've a strange bug that happens if the window is closed by choosing the "Close" menu and not by clicking in the window's close box. The window contains master/detail views. I can prevent the crash if I set the master's table view datasource t

Crash when closing window from the menu

2008-12-01 Thread Andre Masse
Hi, I've a strange bug that happens if the window is closed by choosing the "Close" menu and not by clicking in the window's close box. The window contains master/detail views. I can prevent the crash if I set the master's table view datasource to nil in dealloc but I don't understand wh

[MEET] Amsterdam CocoaHeads - December 10

2008-12-01 Thread Cathy Shive
Hello Cocoa devs! The next meeting of the Amsterdam CocoaHeads will be Wednesday, December 10th from 7-9 PM. Please visit the Google Group page for location and other information: http://groups.google.com/group/cocoaheads-amsterdam/web/meeting-20081210 Hope to see you there! Cathy

[MEET] CocoaHeads Frankfurt, TONIGHT 8PM

2008-12-01 Thread Torsten Curdt
Tonights it's on again! Talk: Using git for Cocoa projects Drop by if you are around. More information at http://cocoaheads.org/de/Frankfurt/index.html iCal: webcal://upcoming.yahoo.com/calendar/v2/group/4810/9266a3a167 RSS: http://upcoming.yahoo.com/syndicate/v2/group/4810/9266a3a167 cheers

Re: NSArrayController trouble

2008-12-01 Thread Ken Thomases
On Nov 30, 2008, at 3:35 PM, Alexander Cohen wrote: Hi, Im getting the following line in the console when sending the 'removeObjectsAtArrangedObjectIndexes:' message to an NSArrayController instance. -[NSCFArray removeObjectAtIndex:]: mutating method sent to immutable object I understan

Core Data vector modeling query

2008-12-01 Thread Paul Tomlin
Using an analogy, I'm trying to model a 'vector' using CD. I have a Vector entity, which has 2 to-one relationships to a VectorEnpoint entity. The VectorEndpoint entity describes how the Vector is connected at one end to other entities in the model Vector: source -> to-one -> VectorEndpoint

Re: NSTrackingArea strange requirement

2008-12-01 Thread rajesh
On Nov 28, 2008, at 6:52 PM, Quincey Morris wrote: On Nov 28, 2008, at 01:57, rajesh wrote: On 27/11/2008, at 10:22 PM, rajesh wrote: but I see a kind of problem with above approach as well. Since we are updating the TrackingAreas in updateTrackingAreas (removing and adding track areas) ,