Skip to content

Unpacking textLabel option #1

@kandluis

Description

@kandluis

On earlier versions of Xcode, it's necessary to change lines like the following:

cell.textLabel!.text = buttons[indexPath.row].valueForKey("buttonName")

to

 cell.textLabel.text = buttons[indexPath.row].valueForKey("buttonName")

Not sure why. Should probably look into it. Eitherway, XCode will point out the error when compiling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions