2011-05-22 68 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;