Slice-to-Objective-C Mapping for Local Types
The mapping for local
enum
, local sequence
, local dictionary
and local struct
to Objective-C is identical to the mapping for these constructs without the local
qualifier. The generated Objective-C code for local enums and structs does not include support for marshaling, so you cannot use them as parameters for operations on non-local types, or as data members on non-local types.
The rest of this section describes the mapping of the remaining local types to Objective-C:
- Objective-C Mapping for Local Interface
- Objective-C Mapping for Local Classes
- Objective-C Mapping for Local Exceptions
- Objective-C Mapping for Operations on Local Types
- Objective-C Mapping for Data Members in Local Types