Skip to content

Tree Parse object #161

Closed
Closed
@boardmain

Description

@boardmain

Hi i have a Tree object

with parent is object of the same type

how can i solve this?

struct Pagina : ParseObject {
    var objectId: String?
    var createdAt: Date?
    var updatedAt: Date?
    var ACL: ParseACL?
    var titolo: [String: String]?
    var parent: Pagina? <--- i can't do this because we are in a struct...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:questionSupport or code-level question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions