Ios development and design cinema

Source: Internet
Author: User

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
 


 

 

Related Article

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.