-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
這個問題過於開放式的。 – memmons 2011-05-23 15:27:01
它已經解決了感謝評論 – 2011-05-24 07:09:40