You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

50 lines
1.6 KiB

//
// AddCourseViewController.h
// tongxin
//
// Created by ecell on 2021/11/25.
// Copyright © 2021 xTT. All rights reserved.
//
#import <UIKit/UIKit.h>
@class AddCourseViewController;
@class CourseModel;
@protocol AddCousrDelegate <NSObject>
-(void)addCourse:(AddCourseViewController *)vc course:(CourseModel*)model time:(NSString *)time;
@end
@interface AddCourseViewController : UIViewController
@property (weak, nonatomic) IBOutlet UITextField *tfCourseName;
@property (weak, nonatomic) IBOutlet UILabel *labMon;
@property (weak, nonatomic) IBOutlet UILabel *labTues;
@property (weak, nonatomic) IBOutlet UILabel *labWed;
@property (weak, nonatomic) IBOutlet UILabel *labThur;
@property (weak, nonatomic) IBOutlet UILabel *labFri;
@property (weak, nonatomic) IBOutlet UILabel *labSat;
@property (weak, nonatomic) IBOutlet UILabel *labSun;
@property (weak, nonatomic) IBOutlet UILabel *labFirst;
@property (weak, nonatomic) IBOutlet UILabel *labSecond;
@property (weak, nonatomic) IBOutlet UILabel *labThird;
@property (weak, nonatomic) IBOutlet UILabel *labFourth;
@property (weak, nonatomic) IBOutlet UILabel *labFifth;
@property (weak, nonatomic) IBOutlet UILabel *labSixth;
@property (weak, nonatomic) IBOutlet UILabel *labSeventh;
@property (weak, nonatomic) IBOutlet UILabel *labEighth;
@property (weak, nonatomic) IBOutlet UITextField *tfStartTime;
@property (weak, nonatomic) IBOutlet UITextField *tfEndTime;
@property (nonatomic, weak)id<AddCousrDelegate> delegate;
@property (nonatomic, strong)CourseModel *curModel;
@property (nonatomic, strong)NSString *courseTime;
@end