Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBalint Bejczi
3,375 PointssegueLabelText property not found in playlistDetailViewController.h
Hi, my code's not working somehow...
I declared the segueLabelText property in playlistDetailViewController.h, imported this header to ...Master.m, but Xcode says segueLabelText property is not found..
This are the relevant codes:
@property (strong, nonatomic) NSString *segueLabelText;
#import "playlistDetailViewController.h"
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
if ([segue.identifier isEqual:@"showPlaylistDetail"]) {
playlistDetailViewController *playlistDetailViewcontroller = (playlistDetailViewController *)segue.destinationViewController;
playlistDetailViewController.segueLabelText;
Thank's for any help!
Balint
2 Answers
Brayden Kness
12,492 PointsDid you synthesize the property?
Balint Bejczi
3,375 PointsI don't know what I did, but now it's working.... (I closed Xcode ad opened in the morning)