Search Results for

    Show / Hide Table of Contents

    Class Utility

    Cocoa-related utility functions.

    Inheritance
    System.Object
    Utility
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: FM.LiveSwitch.Cocoa
    Assembly: FM.LiveSwitch.Cocoa.dll
    Syntax
    public class Utility

    Methods

    DispatchToMainThread(Action0)

    Dispatches an action to the main thread.

    Declaration
    public static void DispatchToMainThread(Action0 action)
    Parameters
    Type Name Description
    Action0 action

    The action.

    DispatchToMainThread(Action0, Boolean)

    Dispatches an action to the main thread.

    Declaration
    public static void DispatchToMainThread(Action0 action, bool forceSync)
    Parameters
    Type Name Description
    Action0 action

    The action.

    System.Boolean forceSync

    Whether or not to force the action to run synchronously.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0