2012-07-24 4 views
0

제 문제를 잘 설명하기 위해 몇 가지 스크린 샷을 공유하고 싶습니다. Xcode : 내 .h 파일이 감지되지 않았습니다.

enter image description here

당신이 BookCell.h 파일이 존재하고 내가 # import를 사용하고 때 그 점점 자동 제안 이미지의 왼쪽에서 볼 수 있듯이 enter image description here

. 그러나 사실 나는 그것을 전혀 사용할 수 없다. BookCell.m은 BookCell.h를 찾지 못했습니다. 두 번째 스크린 샷에서도 볼 수 있듯이 다른 클래스 파일로 가져 왔지만 찾을 수는 없습니다. 뭐가 문제 야?

XCode를 다시 열어 보았고 심지어 Mac을 다시 시작했습니다. 나는 당신의 도움이 심하게 필요합니다. 참조 .H 파일을 마우스 오른쪽 버튼으로 클릭하고 제거에 대한

// 
// BookCell.h 
// BookShelf 
// 
// Created by ManGoes Mobile on 24/7/12. 
// Copyright 2012 __MyCompanyName__. All rights reserved. 
// 

#import "ArticleCell.h" 
#import "ArticleTitleLabel.h" 
#import "MainViewDelegate.h" 
#import "ControlVariables.h" 
@interface BookCell : ArticleCell 
//This image name will be needed once we want to retain the represented Article object by this. 
@property (strong,nonatomic) NSString *imageName; 
@property (strong,nonatomic) UITableViewCell *parentCell; 
@property CGPoint locationInCell; 
-(BookCell *)BookCell; 
//delegates 
@property (nonatomic,assign) id<MainViewDelegate> delegate; 

@end 
+0

BookCell.h의 내용도 함께 표시하십시오. –

+0

수정 된 질문을 확인하십시오. 감사합니다. –

답변

0

, 다시 프로젝트에 추가하는 방법 :

편집 여기 는 BookCell.h 파일을 간다?

+0

여러 번 시도 :( –

관련 문제