Instance Methods

The following instance methods are available globally.

  • Removes the last object in the list. The object is not removed from the Realm that manages it.

    Warning

    This method may only be called during a write transaction.

    Declaration

    Swift

    public func removeLast()