Film.h
#import <foundation/foundation.h>enum selectwatchfilmtime{selectwatchfilmtimemonday,//used to record viewing time Monday watch selectwatchfilmtimethesday,//used to record viewing time Tuesday watch selectwatchfilmtimewednesday,//used to record watch time Wednesday watch selectwatchfilmtimethursday,//used to record viewing time Thursday watch selectwatchfilmtimefriday,//used to record viewing time Friday watch Selectwatchfilmtimesaturday, Used to record viewing time Saturday watch selectwatchfilmtimesunday//used to record viewing time Sunday watch};typedef enum selectwatchfilmtime selectwatchfilmtime; @inte Rface film:nsobject{@public/** The name of the movie used to store the movie */NSString * _FLIMNAME; /** used to store the release time of the film * * 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 selected movie tickets */int _amountoffilmticket; /** choose to see the movie time * * Selectwatchfilmtime _selselectwatchfilmtime; }//setter Method-(void) Setselectamountoffimeticket: (int) amountofticket;//about movie-(void) aboutthefilm;//movie content-(void) Aboutthefilmcontent: (NSString *) content;//Select movie Ticket number-(VOID) Selectamountoffilmticket: (int) selectnumber;//Watch Movie Time Selection-(void) Filmwithplaytime: (Selectwatchfilmtime) selectwatchfilmtime;-(NSString *) description; @end
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
iOS Development Design Cinema