Ios development and design cinema
Film. h
# Import
Enum selectWatchFilmTime {selectWatchFilmTimeMonday, // used to record the viewing time Monday watch selectWatchFilmTimeThesday, // used to record the viewing time on Tuesday watch hour, // used to record the viewing time on wedne, // records the viewing time on Thursday and selectWatchFilmTimeFriday. // records the viewing time on Friday and selectWatchFilmTimeSaturday. // records the viewing time on Saturday and selectWatchFilmTimeSunday. // records the viewing time on Sun }; typedef enum selectWatchFilmTime; @ interface Film: NSObject {@ public/** name of the Film used to store the Movie */NSString * _ flimName; /** used to store the film release time */NSString * _ showDateTime;/** used to store the director's name */NSString * _ directorName; /** used to store the name of the cast */NSString * _ castName;/** used to store the price of movie tickets */int _ singelPrice; /** used to record the number of movie tickets selected */int _ amountOfFilmTicket;/** select movie time */selectWatchFilmTime _ selselectWatchFilmTime;} // setter method-(void) interval :( int) amountOfTicket; // about movie-(void) aboutTheFilm; // Movie content-(void) aboutTheFilmContent :( NSString *) content; // select movie votes-(void) selectAmountOfFilmTicket :( int) selectNumber; // select the time to watch the movie-(void) filmWithPlayTime :( selectWatchFilmTime) selectWatchFilmTime;-(NSString *) description; @ end