Adrian
Adrian

Reputation: 20068

Connect label to an outlet in XCode 5

I have updated to XCode 5 and I cannot connect a label to an outlet using the old way: ctrl-drag from Connections inspector to the table view cell. No popup appears

In my tableview I have a ArticleCell with two labels:

@interface ArticleCell : UITableViewCell
@property (nonatomic, weak) IBOutlet UILabel *title;
@property (nonatomic, weak) IBOutlet UILabel *date;
@end

I want to connect those two labels to this outlets. Is there a different way to do it in XCode 5 ?

Upvotes: 3

Views: 4597

Answers (1)

Michael Dautermann
Michael Dautermann

Reputation: 89509

If you set the "Custom Class" of your table view cell in your storyboard or XIB file to "ArticleCell", you should be able to control drag your outlets to your labels again.

Upvotes: 4

Related Questions