background image
C H A P T E R 2 4
Built-in Communications Tools
24-14
AppleTalk Functions
Figure 24-2
NetChooser view while searching
When the search has been completed, the NetChooser fills in the available choices
and allows the user to make a selection, as shown in Figure 24-3.
Figure 24-3
NetChooser view displaying printers
After the user has made a selection, the system calls a method that you provide
named
NetworkChooserDone
. The system fills in the parameters to this
method with the name of the selection and zone chosen by the user. The
NetworkChooserDone
method must have the following format:
myChooser
:NetworkChooserDone(
currentSelection
,
currentZone
)
The two parameters, currentSelection and currentZone, are filled in by the system
after the user makes a choice.
© 2007-2024, o7 studio » при воспроизведении материала сайта ссылка обязательна