35 lines
910 B
Objective-C
35 lines
910 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 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
|