espagram/Espagram/EspagramNewLessonViewController.h
2013-02-21 17:08:51 +01:00

37 lines
969 B
Objective-C

//
// EspagramNewLessonViewController.h
// Espagram
//
// Created by Abel Fokkinga on 11/13/12.
// Copyright (c) 2012 Abel Fokkinga. All rights reserved.
//
#import <UIKit/UIKit.h>
@class EspagramConjugationTableViewController;
@protocol EspagramNewLessonDelegate
- (void) addLesson:(NSString*)title withDescription:(NSString*) subTitle;
- (void) cancelLesson;
@end
@interface EspagramNewLessonViewController : UIViewController
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *descriptionLabel;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIButton *addButton;
@property (weak, nonatomic) IBOutlet UIButton *cancelButton;
@property (weak, nonatomic) IBOutlet UITextField *lessonNameTextInput;
@property (weak, nonatomic) IBOutlet UITextField *lessonDescriptionTextInput;
@property (nonatomic,strong) id <EspagramNewLessonDelegate> dataSource;
@end