警告:类的实现不完整 - iphone sdk警告

时间:2011-05-22 19:45:34

标签: objective-c cocoa-touch ios4

这是我的代码

//
//  SecondViewController.m
//
//  Created by tushar chutani on 11-05-16.
//  Copyright 2011 Fleetwood park secondary . All rights reserved.
//
#import "SecondViewController.h"
@implementation SecondViewController;

@synthesize titleForSong;
@synthesize bookDetailViewController;


-(void)viewDidLoad{
[titleForSong becomeFirstResponder];

}

-(IBAction)save{
NSLog(@"save is killed");


}


-(IBAction)cancel
{
[self dismissModalViewControllerAnimated:YES];

}


@end

.h

 #import <UIKit/UIKit.h>
 #import <Foundation/Foundation.h>
#import "sqlite3.h"
#import "iPhoneStreamingPlayerViewController.h"
@class iPhoneStreamingPlayerViewController;

@interface SecondViewController : UIViewController {
UITextField *titleForSong;  
sqlite3 *db;
iPhoneStreamingPlayerViewController *bookDetailViewController;  
}
@property(nonatomic,retain) iPhoneStreamingPlayerViewController     *bookDetailViewController;
-(NSString *)filePath;
@property(nonatomic,retain)IBOutlet UITextField *titleForSong;
-(IBAction)cancel;
-(IBAction)save;
@end

1 个答案:

答案 0 :(得分:1)

您没有实施-(NSString *)filePath;