Re: efficiency of Xquery vs NSXMLElement attributes

2008-12-11 Thread Kieren Eaton
Thanks Mike On 12/12/2008, at 2:24 AM, Michael Ash wrote: On Thu, Dec 11, 2008 at 1:00 AM, Kieren Eaton kier...@gmail.com wrote: Hi All I know there are always several ways to do things and have come across something which puzzles me as to the efficiency of these 2 ways of getting

efficiency of Xquery vs NSXMLElement attributes

2008-12-10 Thread Kieren Eaton
Hi All I know there are always several ways to do things and have come across something which puzzles me as to the efficiency of these 2 ways of getting the same data from an NSXMLNode object. for this exercise assume theNode is an NSXMLNode object which has been initialized and contains

Re: Cocoa-dev Digest, Vol 5, Issue 1701

2008-10-01 Thread Kieren Eaton
Chris, thank you that worked just fine, to bad the piece of information i read did not mention that... :( Sandro. On 1-Oct-08, at 12:47 PM, Chris Patterson wrote: Your XPath is almost correct, as far as I can tell. All you need to do is insert an @ character before the id attribute

accessing netinfo db from cocoa?

2008-08-31 Thread Kieren Eaton
Hi, I am trying to find a way to access the netinfo DB from cocoa. Specifically the sharing (AFP, SMB, etc). know that server has the command line util 'sharing' for just this purpose. unfortunately this command is not available in the Client version of os x :( the reason i need this is

Re: accessing netinfo db from cocoa?

2008-08-31 Thread Kieren Eaton
/darwinsource/Current/DSTools-112/ Thanks Michael and Phil That seems to be the way to go. Looks like its not going to be as easy as I thought. The source should make an interesting read. On 31 Aug, 2008, at 10:43, Jaime Magiera wrote: On Aug 31, 2008, at 4:57 AM, Kieren Eaton wrote: Hi, I am

Re: textfield not updating with bindings - Whats wrong?

2008-08-24 Thread Kieren Eaton
On 24/08/2008, at 2:30 PM, Scott Anguish wrote: On 23-Aug-08, at 11:53 PM, Kieren Eaton wrote: I have one minor question now that I am understanding bindings more. Is is good policy to add an object controller instead of just binding directly to the class? Yes. Especially when using

textfield not updating with bindings - Whats wrong?

2008-08-23 Thread Kieren Eaton
Hi all I have given up on doing anymore work on my current project until i get this sorted ok simply i have an interface with 2 textfields, one for a number and one for a string. Also there is a button which tells the controller to tell my class to update the model vars. I am using

Re: textfield not updating with bindings - Whats wrong?

2008-08-23 Thread Kieren Eaton
Right so in IB I have an object which is of class someClass and an object controller which has the content outlet set to the someclass object and the keys someString,someNumber. The button calls the changeValues method in the delegate The 2 textfields are bound to the controller with

Re: textfield not updating with bindings - Whats wrong?

2008-08-23 Thread Kieren Eaton
Right so in IB I have an object which is of class someClass and an object controller which has the content outlet set to the someclass object and the keys someString,someNumber. The button calls the changeValues method in the delegate The 2 textfields are bound to the controller with

Re: textfield not updating with bindings - Whats wrong?

2008-08-23 Thread Kieren Eaton
On Aug 23, 2008, at 5:16 AM, Kieren Eaton wrote: ok the delegate is set as an object in IB it is the delegate of Files owner and nsapplication (thats correct isnt it?) it has a class of bindtestdelegate which is where the button action is located. The button calls the changeValues method

add dummy NSView subclass to framework?

2008-08-21 Thread Kieren Eaton
Hi I have lately been struggling with bindings A LOT. I have looked at a lot of tutorials but they have not seemed to be what I need. I have a framework which does all the grunt work for my application and the app controller is just a frontend to the framework. With bindings I cant connect

Re: add dummy NSView subclass to framework?

2008-08-21 Thread Kieren Eaton
PM, Graham Cox wrote: On 22 Aug 2008, at 1:53 pm, Kieren Eaton wrote: With bindings I cant connect to the framework classes directly so should I add a dummy nsview subclass that will allow my interface bindings access to the frameworks ivars etc? A dummy NSView? No. A controller? Yes