Xcode 4.2 Compilation Failed with prototype cell

前端 未结 7 1925
陌清茗
陌清茗 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";

    0 讨论(0)
提交回复
热议问题