• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bindings and Quartz Composer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bindings and Quartz Composer


  • Subject: Re: Bindings and Quartz Composer
  • From: Kevin Ballard <email@hidden>
  • Date: Mon, 16 May 2005 18:36:35 -0400

This is not a situation for bindings, it's a situation for Key-Value Coding. Try

[theData setValue:theData forKey:@"XML"]

On May 16, 2005, at 6:13 PM, Julian wrote:

ok I have a qtz with a published port key named "XML". ALl is good and if I bind that to an NSTextField I can past my xml data and press enter and the rendering updates. However this is not the case I wish to use. I am fetching data from a url, so my question is, how can I bind an NSString to this input? Here is what I have so far.


NSURL *theURL = [[NSURL alloc] initWithString:@"http://blah.com: 4321/debug?hash_info=º þ¢„Hƒ³Ísv´RŸ% D4…•GÁ"];
NSString *theData = [[NSString alloc] initWithContentsOfURL:theURL];
[theURL release];
/** here is where I would like to bind the data to an nsstring and update the rendering */
//[theData bind:@"value" toObject:_quartzController withKeyPath:@"XML.value" options:nil];
[theData release];

-- Kevin Ballard email@hidden http://www.tildesoft.com http://kevin.sb.org

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Bindings and Quartz Composer
      • From: Julian <email@hidden>
References: 
 >Bindings and Quartz Composer (From: Julian <email@hidden>)

  • Prev by Date: Bindings and Quartz Composer
  • Next by Date: Re: Bindings and Quartz Composer
  • Previous by thread: Bindings and Quartz Composer
  • Next by thread: Re: Bindings and Quartz Composer
  • Index(es):
    • Date
    • Thread