• 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: Accessing single element from NSArray of objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accessing single element from NSArray of objects


  • Subject: Re: Accessing single element from NSArray of objects
  • From: Randall Perry <email@hidden>
  • Date: Tue, 13 Apr 2004 15:00:25 -0400

> Are you familiar with WORepetition?  Alternatively, you may want to
> investigate the use of WODisplayGroup.
>
Yes. I've got a repetition on the same page and it works fine. But the query
returns a single row so it seems like overkill. I just need to access a few
properties of the query.

> I believe your first example above actually returns an array (NSArray)
> of that particular attribute.

I believe this:
>   custInfo = ec.objectsWithFetchSpecification(fetchSpec);

Returns an array of objects, no?

>   How are you displaying that?
Using CustInfo.cust as a binding to WOString returns every cust row of the
CustInfo array, enclosed in quotes and parentheses like so:

("A1 Motors", "A-1 Answering", "Acme Widgets")


--
Randall Perry
sysTame

Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales

http://www.systame.com/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Accessing single element from NSArray of objects
      • From: Arturo PĂ©rez <email@hidden>
References: 
 >Re: Accessing single element from NSArray of objects (From: Arturo Perez <email@hidden>)

  • Prev by Date: Re: Accessing single element from NSArray of objects
  • Next by Date: Re: How can I stream blobs to/from entities?
  • Previous by thread: Re: Accessing single element from NSArray of objects
  • Next by thread: Re: Accessing single element from NSArray of objects
  • Index(es):
    • Date
    • Thread