com.livecode.objc

Typemodule
DictionaryLCB
LibraryLiveCode Builder
Associationscom.livecode.objc
Summary

This module provides utility handlers for converting to and from Obj-C types.

Description

This module provides utility handlers for converting to and from Obj-C types.

TypeNameSummarySyntax
handlerArrayFromNSDictionary

Convert a Objective-C dictionary into a Array

ArrayFromNSDictionary(<pObjcArray>)

- - -ArrayToNSDictionary

Convert an Array into an Objective-C dictionary

ArrayToNSDictionary(<pArray>)

- - -CreateObjcBlockPointerFromHandler

Create an Objective-C block pointer that wraps an LCB handler.

CreateObjcBlockPointerFromHandler(<pHandler>,<rBlockPtr>)

- - -CreateObjcDelegate

Create an Objective-C object with LCB implementations of methods of a protocol.

CreateObjcDelegate(<pProtocol>,<pHandlerMapping>)

- - -CreateObjcDelegateWithContext

Create an Objective-C object with LCB implementations of methods of a protocol.

CreateObjcDelegateWithContext(<pProtocol>,<pHandlerMapping>,<pContext>)

- - -CreateObjcInformalDelegate

Create an Objective-C object with LCB implementations of methods of an informal protocol.

CreateObjcInformalDelegate(<pProtocol>,<pHandlerMapping>)

- - -CreateObjcInformalDelegateWithContext

Create an Objective-C object with LCB implementations of methods of an informal protocol.

CreateObjcInformalDelegateWithContext(<pProtocol>,<pHandlerMapping>,<pContext>)

- - -DataFromNSData

Convert a Objective-C data into a Data

DataFromNSData(<pObjcData>)

- - -DataToNSData

Convert a Data into an Objective-C data

DataToNSData(<pData>)

- - -DeleteObjcBlockPointer

Delete an Objective-C block pointer.

DeleteObjcBlockPointer(<pBlockPointer>)

- - -ListFromNSArray

Convert a Objective-C array into a List

ListFromNSArray(<pObjcArray>)

- - -ListToNSArray

Convert a List into an Objective-C array

ListToNSArray(<pList>)

- - -NumberFromNSNumber

Convert a Objective-C number into a Number

NumberFromNSNumber(<pObjcNumber>)

- - -NumberToNSNumber

Convert a Number into an Objective-C number

NumberToNSNumber(<pNumber>)

- - -PointerFromObjcObject

Convert an ObjcObject into a Pointer

PointerFromObjcObject(<pObjcObject>)

- - -PointerToObjcObject

Convert a Pointer into an ObjcObject

PointerToObjcObject(<pPointer>)

- - -StringFromNSString

Convert a Objective-C string into a String

StringFromNSString(<pObjcString>)

- - -StringToNSString

Convert a String into an Objective-C string

StringToNSString(<pString>)

modulecom.livecode.objc

This module provides utility handlers for converting to and from Obj-C types.

StringToNSString(<pString>)