home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / Newton Platform Info / Newton 2.0 Sample Code / System Data & Built In Apps / PeoplePicker-1 / README.peoplePicker < prev   
Encoding:
Text File  |  1995-08-24  |  1.4 KB  |  31 lines  |  [TEXT/R*ch]

  1. /*
  2. **      Newton Developer Technical Support Sample Code
  3. **
  4. **      peoplePicker, how to use of peoplePicker
  5. **
  6. **      by Stephen Harris, Newton Developer Technical Support
  7. **
  8. **      Copyright © 1994-5 by Apple Computer, Inc.  All rights reserved.
  9. **
  10. **      You may incorporate this sample code into your applications without
  11. **      restriction.  This sample code has been provided "AS IS" and the
  12. **      responsibility for its operation is 100% yours.  You are not
  13. **      permitted to modify and redistribute the source as "DTS Sample Code."
  14. **      If you are going to re-distribute the source, we require that you
  15. **      make it clear in the source that the code was descended from
  16. **      Apple-provided sample code, but that you've made changes.
  17. */
  18.  
  19.  
  20. The peoplePicker protos off of the ListPicker and behaves in the same way.  The
  21. peoplePicker queries the names soup and based on the dataClass of the
  22. peoplePicker, display related information from the soup.  The dataClasses of
  23. the peoplePicker must be a nameRef with  a subClass.  The valid subClasses are
  24. either fax, email, meetingPlaces, or people.  For more information about
  25. listPicker see the documentation and listPicker Samples.
  26.  
  27. See the protoTextList.viewSetupFormScript to see how to get the currently selected items in the protoPeoplePicker.
  28.  
  29. Note that you may also consider using protoPeoplePopup instead. This proto provides the enclosing view for the protoPeoplePicker.
  30.  
  31.