Modeling a seat reservation: iPhone
Modeling a seat reservation: iPhone
- Subject: Modeling a seat reservation: iPhone
- From: Gustavo Pizano <email@hidden>
- Date: Mon, 8 Mar 2010 18:13:45 +0100
Hello all,
I was reading some older post about something similar. What I want to achieve is that I have a room with seats and I want to check the seats to reserve. Now I did something alike in Cocoa retrieving the view under the hitTest, then I got the id of the view (custom identification) and then I new which number shall I reserve.
Btu for iPhone I dunno how big this process might be, Im talking about 220 - 250 seats. I was thinking in placing inside a UIScrollView my map of seats and a button with a tag identifier for each seat in a button grid, but im not happy with having so many buttons.
Then I thought making CGPaths, but then to check which path contains the touch point... ???? :S:S:S not nice.
Any idea how can I achieve this in a fancy "easy" solution?
knowing that the server will tell me whats reserve already I must color each seat and don't allow touch events on that area, or well at least don't respond to them.
Thx in advance for any help
Gustavo
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden