我使用Parse.com,我有一個視圖控制器具有的TableView內...未知類PFImageView文件
TableView中的細胞是個性化和包含PFImageView類的ImageView的內部。
當我運行它的所有作品,經常給我的照片,但Xcode的5顯示了我在Interface Builder文件此錯誤消息
PFImageView未知的類。
我怎麼得到這個錯誤?我在哪裏做錯了
下面我在表格視圖中顯示PFImageView的實現。
P.S. PFImageView和「也被添加到CustomTableViewCell.h
-(FFCellFindUser *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
static NSString *CellIdentifier = @"CellFindUser";
FFCellFindUser *cell = [self.FFTableViewFindUser dequeueReusableCellWithIdentifier:CellIdentifier];
if (!cell) {
cell = [[FFCellFindUser alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
}
PFObject *TempObject = [self.FFTotalUser objectAtIndex:indexPath.row];
cell.FFLabelCell_NomeCognome.text = [TempObject objectForKey:FF_USER_NOMECOGNOME];
PFFile *imageFile = [TempObject objectForKey:FF_USER_FOTOPROFILO];
[imageFile getDataInBackgroundWithBlock:^(NSData *data, NSError *error) {
cell.FFIMGCell_FotoProfilo.image =[UIImage imageWithData:data]; }];
return cell;
}
刪除 「如果{ 細胞= [[FFCellFindUser的alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier]; }(小區!)」,並告訴我們從工作就像一個魅力的細胞原型 –