Skip to content

Item 21: Understand the Objective-C Error Model sample code wrong? #1

@rollr76518

Description

@rollr76518

2018-12-13 1 30 07

About Sample Code as red rect inside, the code maybe below?

BOOL ret = [object doSomething:nil];
if (!ret) {
//There was an error
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions