I have created a class which is a subclass of UITableViewCell and I have also created an xib file for the same.
In the xib file I am adding a UITableViewCell and then giving it an identifier "ChatCell" and then in my class I am trying to use this custom cell like this:
static NSString *CellIdentifier = @"ChatCell";
ChatCustomCell *cell = (ChatCustomCell *)[tableView dequeueReusableCellWithIdentifier:CellIdentifier];
In the class I have provided an IBOutlet of UIlabel and connected it to one of the UILabel I have created in the xib but when ever the cell gets created the UILabel stays nil.
Why is this happening?