Xcode 4.2 Compilation Failed with prototype cell

前端 未结 7 1902
陌清茗
陌清茗 2021-02-06 05:54

I\'m trying out the new Xcode 4.2 Beta and I\'m wondering if my code is wrong or if I\'m bumping in to an bug.

The new Storyboard feature is promising but extremely bug

7条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-06 06:26

    If anyones still having a problem with this i found the solution is to use tags instead of outlets.

    CellForRowAtIndexPath UILabel *titleLabel = (UILabel *)[cell viewWithTag:1001]; titleLabel.text = @"Name";

提交回复
热议问题