Ios development and design cinema, ios development cinema

Source: Internet
Author: User

Ios development and design cinema, ios development cinema

First, we will give you a rough requirement analysis.

Some functions will be improved as demand changes

/* Exercise 8: In our real life, when we go to the cinema to watch a movie, we will all go through a painful process, that is, waiting in line to buy tickets, if we can put this process on our cell phone and use software to complete it, it will greatly reduce the pain of our movie queuing process, so we need to use this process software. Requirement Analysis: 1. you must have an audio message. 2. select the movie I want to watch. 3. select a seat 4. print the ticket information to find the object design class name: cinema attributes: name, fare, number of rows, seat number, movie hall method: select a movie, a movie room, a seat, and a ticket */# import <Foundation/Foundation. h> # import "Cinema. h "# import" People. h "# import" Film. h "# import" Ticket. h "int main (int argc, const char * argv []) {Cinema * cinema = [[Cinema alloc] init]; NSLog (@" % @ ", cinema ); people * people = [[People alloc] init]; NSLog (@ "% @", people); Film * film = [[Film alloc] init]; NSLog (@ "% @", film); Ticket * ticket = [[Ticket alloc] init]; NSLog (@ "% @", ticket); return 0 ;}



Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

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.