iOS Development Design Cinema

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.