2011-05-22 43 views
-1

这里是我的代码警告:不完全的实现类的 - iPhone的SDK警告

// 
// 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 
+0

这个问题过于开放式的。 – memmons 2011-05-23 15:27:01

+0

它已经解决了感谢评论 – 2011-05-24 07:09:40

回答

1

你没有实现-(NSString *)filePath;