C H A P T E R 1 5
Filing
15-12
Using the Filing Service
Creating the appAll Slot
15
You must create in your application's base view an
appAll
slot containing a string
of the form
"All
Items
"
where Items is the plural for the items to be filed, such as cards, notes, and so on.
For example, when the user taps the folder tab view in the built-in Notes
application, the last item in the picker is "All Notes."
The following code fragment defines a typical
appAll
slot:
myAppBase := {... appAll: "All Notes", ...}
Creating the appObjectFileThisIn Slot
15
You must define the
appObjectFileThisIn
slot in your application's base
view. This slot holds the full text of the message to be displayed to the user when
filing a single item; for example,
"File this widget in"
This string is shown at the top of the Filing slip pictured in Figure 15-2 (page 15-3).
Creating the appObjectFileThisOn Slot
15
You must define the
appObjectFileThisOn
slot in your application's base
view. This slot holds the full text of the string labelling the group of buttons that
represent stores in the Filing slip; for example,
"File this
item
on"
where item is the singular case of the target your application files, such as a card, a
note, and so on.
For an example of this string, see Figure 15-5 (page 15-5).
Creating the appObjectUnfiled Slot
15
You must define an
appObjectUnfiled
slot in your application's base view.
This slot holds a string of the form
"Unfiled
Items
"
where Items is the plural case of the items to be filed, such as cards, notes, and so
on. For example, if the user taps the folder tab view in the built-in Notes application,
the first item in the picker is "Unfiled Notes."
The following code fragment defines a typical
appObjectUnfiled
slot:
myAppBase := {... appObjectUnfiled: "Unfiled Notes", ...}