SlideShare une entreprise Scribd logo
1  sur  5
Télécharger pour lire hors ligne
Case Study
Mobile-based Deals & Coupons Management
System
This mobile application is the client server platform which provides an opportunity to its users to
stay informed about the daily deals in their city. It allows one to see all the daily deals of a
specified area (using location-based services) from phone or a website. On the other side, it will
help the merchants as users can redeem their coupons while making a purchase and authenticate
through a remote phone.
It is a web and iPhone-based mobile app which works primarily on Coupons, Offers Redemption
and Location Finder services through a mobile function. Client’s website allows users to create their
accounts. For better feasibility of this application, user needs to download a mobile app from
client’s website and can start using multiple features on his iPhone device.
Application has been divided in two variants: User Login and Merchant Login. Registered
members can login by using User Login Section whereas Merchant Login is specifically designed for
Shop Owners who provide the Coupons and Deals for the user. Merchant Account Owners can view
the lists of coupons redeemed by the users and also he/she can add or update new deals available
in their product list to be offered. Registration is FREE for any user. User Registration is only
applicable from client’s website and other features can be utilized in mobile app. The website’s Web
Section also gives track records of coupon redemption activities and available listings. Login Screen
also allows users to get authenticated with Facebook Account. With the help of Facebook account,
user will be able to access the application’s coupon transactions.
IPAD Application: It has a search bar to search the nearby locations and their offers. When you
define the preferred location in your mobile device, the system automatically intimates you by
highlighting the desired available coupons which require redemption. The system will prompt an
indicator about the number of coupons active for redemption in the predefined locations. Coupon
Main Section Module assists with image listings. All the respective daily coupons of a
restaurant/shop will be displayed with images and location.
Map View: On the top of the same screen, a map option will be provided that will take the user to
map view where he can see all the coupons on a Google map with a pin.
Requirement: Latitude and Longitude is required for places or stores to be shown on the map.
Search: There will be a search option provided on the top of the screen where users can search by
category, zip code, distance etc. or they can just be shown nearby offers on a Google map with a
pin.
Requirement: Database needs to be created keeping category, zip code, distance etc. in mind.
Detail View: When tapped on a particular coupon of interest the user will be provided with the
detail view of that particular coupon.
Special Feature: It has a search bar to search nearby locations or offers. List of Coupon Books
available in user’s account can be redeemed.
Near By: User can view the results in two ways: via Google Map or Grid List which will display the
lists of coupon offered from the nearby specified directions.
Settings (Preferences): Sync Books refresh on a single tap and fetch recent updated coupons
available in the database directory. It also includes Near By Range feature which can be defined
according to the user’s preferred locations.
Social Media Integration: Application or website seamlessly integrates with Facebook, Twitter,
LinkedIn etc.
Client Requirement
Technologies Used
Operating System &
Server Management
iOS (Mobile), Red Hat Linux OS (Web), Multi-Server Architecture with
Staging & Production Environment through Version Controlling
releases, Server Optimization, Security & SSL Implementation,
Scheduler for Back-ups, Alert Monitoring System Integration, Server
Performance Tuning at regular intervals, Software Firewall
Configuration & Maintenance
Development Tools &
Environments
Xignite, Stock Editor, JSON, PHP5+, JavaScript, Objective C, Flash, iOS
SDK, Xcode etc.
Database MYSQL Database Server, DB Clustering, DB Optimization, Master
Slave Replication, Query Optimization, Scheduler for Backups
Project Challenges
Team faced the following challenges:
 Allowing the site to handle millions of users at the same time without slowing down.
 Incorporating web usability principles while developing numerous features designed
for enhancing the users’ community networking experience.
 Harmonizing the simultaneous execution of various integrated features and options
while maintaining consistent load balance.
 Synchronization with Web Account, Database Servers and Mobile Tablet evolving the
huge range of categories.
 Coupons had to be redeemed from mobile devices at any dealer or retailer which has
to be synchronized with database, account transaction ID’s, web server,
administrative records etc. that requires being updated during the runtime of each
transaction activities.
 Location Finder, Traceability of Coupon Locater/Dealer, Device Notification, Displaying
of Map and Grid View for all users’ viewing and usability experience. All
commencement at the same server reproduces the application needs for user and
system.
Manpower
Planning
The following development approach was adopted to equip the site with numerous
features and functionality mentioned below:
 Planned for the proper synchronization of the connectivity and interaction between the web
server, database a server-where the images are being placed.
 Research and analysis has been scheduled in respect to get the actual level of output of data
which is in the form of different verticals and business logics.
 Coupon Finder ensures that each device within the specified range works on GPS/WiFi mobility
functions. Also, it is checked as a session to the server. Users can set a reminder with effects
on the application.
 The User Interface layer performs as a Graphical User Interface of the website and Mobile
Application.
Architecture
 Event Handling Cycle
After the UI Application, main function initializes the application. It starts the infrastructure needed
to manage the application’s event and drawing cycle which is depicted in the following figure. As
the user interacts with a device, iPhone/iPad OS detects touch events and places them in the
application’s event queue. The event-handling infrastructure of the UI Application object takes each
event off the top of this queue and delivers it to the object that best suited to handle it. For
example, a touch event occurring in a button would be delivered to the corresponding button
object. Events can also be delivered to controller objects and other objects indirectly responsible
for handling touch events in the application.
Project Leader 1
Developers 2
Designers 1
Quality Assurance Testers 1
Figure: The event and drawing cycle
In the iPhone OS Multi-Touch event model, touch data is encapsulated in a single event object (
Event). To track individual touches, the event object contains touch objects (
each finger that is touching the screen. As the user places fingers on the screen, moves them
around and finally removes them from the screen, the system reports the changes for each finger
in the corresponding touch object.
When it launches an application, the system creates both a process and a single thread for that
application. This initial thread becomes the application’s main thread and is where the
Application object sets up the Main Run Loo
code. Figure shows the relationship of the event
sent by the system are queued until they can be processed by the application’s main run loop.
Figure: Processing events in the main run loop
Touch event model, touch data is encapsulated in a single event object (
). To track individual touches, the event object contains touch objects (UI
each finger that is touching the screen. As the user places fingers on the screen, moves them
and finally removes them from the screen, the system reports the changes for each finger
When it launches an application, the system creates both a process and a single thread for that
comes the application’s main thread and is where the
Main Run Loop and configures the application’s event
code. Figure shows the relationship of the event-handling code to the main run loop. Touch events
sent by the system are queued until they can be processed by the application’s main run loop.
events in the main run loop
Touch event model, touch data is encapsulated in a single event object (UI
Touch) one for
each finger that is touching the screen. As the user places fingers on the screen, moves them
and finally removes them from the screen, the system reports the changes for each finger
When it launches an application, the system creates both a process and a single thread for that
comes the application’s main thread and is where the UI
and configures the application’s event-handling
handling code to the main run loop. Touch events
sent by the system are queued until they can be processed by the application’s main run loop.

Contenu connexe

Similaire à Gps based search coupons on map view ios, android mobile application

Mobile Calendar Application - Tourism Development Company
Mobile Calendar Application - Tourism Development CompanyMobile Calendar Application - Tourism Development Company
Mobile Calendar Application - Tourism Development Company
Stacy-Ann Duhaney
 
Application for Data Sync Between Different geo Locations
Application for Data Sync Between Different geo LocationsApplication for Data Sync Between Different geo Locations
Application for Data Sync Between Different geo Locations
Mike Taylor
 
Mobile “systems of interactions” driving business innovation
Mobile “systems of interactions” driving business innovationMobile “systems of interactions” driving business innovation
Mobile “systems of interactions” driving business innovation
IBM Software India
 

Similaire à Gps based search coupons on map view ios, android mobile application (20)

Loyalty & Rewards Points Application on your mobile phone, iPhone, Android
Loyalty & Rewards Points Application on your mobile phone, iPhone, AndroidLoyalty & Rewards Points Application on your mobile phone, iPhone, Android
Loyalty & Rewards Points Application on your mobile phone, iPhone, Android
 
Free advertising platform for businesses with IOS & Android Apps development
Free advertising platform for businesses with IOS & Android Apps developmentFree advertising platform for businesses with IOS & Android Apps development
Free advertising platform for businesses with IOS & Android Apps development
 
Mobile Calendar Application - Tourism Development Company
Mobile Calendar Application - Tourism Development CompanyMobile Calendar Application - Tourism Development Company
Mobile Calendar Application - Tourism Development Company
 
Real-time Text Audio to Video PPT Converter Tablet App
Real-time Text Audio to Video PPT Converter Tablet AppReal-time Text Audio to Video PPT Converter Tablet App
Real-time Text Audio to Video PPT Converter Tablet App
 
Community App for Promoting Cross-Cultural Interaction
Community App for Promoting Cross-Cultural InteractionCommunity App for Promoting Cross-Cultural Interaction
Community App for Promoting Cross-Cultural Interaction
 
Community App for Promoting Cross-Cultural Interaction
Community App for Promoting Cross-Cultural InteractionCommunity App for Promoting Cross-Cultural Interaction
Community App for Promoting Cross-Cultural Interaction
 
Application for Data Sync Between Different geo Locations
Application for Data Sync Between Different geo LocationsApplication for Data Sync Between Different geo Locations
Application for Data Sync Between Different geo Locations
 
Portfolio
PortfolioPortfolio
Portfolio
 
Distimo monitor
Distimo monitorDistimo monitor
Distimo monitor
 
Documentation
DocumentationDocumentation
Documentation
 
All about Apple Watchkit
All about Apple WatchkitAll about Apple Watchkit
All about Apple Watchkit
 
Image+ projects
Image+ projectsImage+ projects
Image+ projects
 
What is The Cost of Event Management App Development.pptx
What is The Cost of Event Management App Development.pptxWhat is The Cost of Event Management App Development.pptx
What is The Cost of Event Management App Development.pptx
 
Workflow automation i phone application for a construction company
Workflow automation i phone application for a construction companyWorkflow automation i phone application for a construction company
Workflow automation i phone application for a construction company
 
Mobile “systems of interactions” driving business innovation
Mobile “systems of interactions” driving business innovationMobile “systems of interactions” driving business innovation
Mobile “systems of interactions” driving business innovation
 
IRJET- A Review on Budget Estimator Android Application
IRJET-  	  A Review on Budget Estimator Android ApplicationIRJET-  	  A Review on Budget Estimator Android Application
IRJET- A Review on Budget Estimator Android Application
 
Case study on Movie Quiz App For IPhone and IPad – Facebook Enabled
Case study on Movie Quiz App For IPhone and IPad –  Facebook Enabled Case study on Movie Quiz App For IPhone and IPad –  Facebook Enabled
Case study on Movie Quiz App For IPhone and IPad – Facebook Enabled
 
16.mobileapps demo
16.mobileapps demo16.mobileapps demo
16.mobileapps demo
 
16.mobileapps demo
16.mobileapps demo16.mobileapps demo
16.mobileapps demo
 
16.mobileapps demo
16.mobileapps demo16.mobileapps demo
16.mobileapps demo
 

Plus de Mike Taylor

Top 20 Questions Ask Before Hire Android App Development Company
Top 20 Questions Ask Before Hire Android App Development CompanyTop 20 Questions Ask Before Hire Android App Development Company
Top 20 Questions Ask Before Hire Android App Development Company
Mike Taylor
 

Plus de Mike Taylor (20)

Latest trends for mobile apps development
Latest trends for mobile apps developmentLatest trends for mobile apps development
Latest trends for mobile apps development
 
Features of B2C Travel eCommerce system
Features of B2C Travel eCommerce systemFeatures of B2C Travel eCommerce system
Features of B2C Travel eCommerce system
 
Steps to Grow Your eCommerce Business
Steps to Grow Your eCommerce BusinessSteps to Grow Your eCommerce Business
Steps to Grow Your eCommerce Business
 
Reasons to choose php for web application development
Reasons to choose php for web application developmentReasons to choose php for web application development
Reasons to choose php for web application development
 
Unique Shopoping Experience with eCommerce Gamification Extension
Unique Shopoping Experience with eCommerce Gamification Extension Unique Shopoping Experience with eCommerce Gamification Extension
Unique Shopoping Experience with eCommerce Gamification Extension
 
Android Application Development with Apple's Swift Technology
Android Application Development with Apple's Swift TechnologyAndroid Application Development with Apple's Swift Technology
Android Application Development with Apple's Swift Technology
 
New Amazing Things about AngularJS 2.0
New Amazing Things about AngularJS 2.0New Amazing Things about AngularJS 2.0
New Amazing Things about AngularJS 2.0
 
Gamification - The Trending Things of eCommerce Business
Gamification - The Trending Things of eCommerce BusinessGamification - The Trending Things of eCommerce Business
Gamification - The Trending Things of eCommerce Business
 
Gamification - Enhance Customers shopping experience with latest Big things i...
Gamification - Enhance Customers shopping experience with latest Big things i...Gamification - Enhance Customers shopping experience with latest Big things i...
Gamification - Enhance Customers shopping experience with latest Big things i...
 
Benefit of Web Application Development with Zend Framework
Benefit of Web Application Development with Zend FrameworkBenefit of Web Application Development with Zend Framework
Benefit of Web Application Development with Zend Framework
 
The Importance Things of Full Stack Development
The Importance Things of Full Stack DevelopmentThe Importance Things of Full Stack Development
The Importance Things of Full Stack Development
 
Most useful features for windows 10 developer
Most useful features for windows 10 developerMost useful features for windows 10 developer
Most useful features for windows 10 developer
 
Have a look Google next operating system update : Android Marshmallow
Have a look Google next operating system update : Android MarshmallowHave a look Google next operating system update : Android Marshmallow
Have a look Google next operating system update : Android Marshmallow
 
Top 20 Questions Ask Before Hire Android App Development Company
Top 20 Questions Ask Before Hire Android App Development CompanyTop 20 Questions Ask Before Hire Android App Development Company
Top 20 Questions Ask Before Hire Android App Development Company
 
Multi vendor marketplace extension
Multi vendor marketplace extensionMulti vendor marketplace extension
Multi vendor marketplace extension
 
25 Famous Websites using Wordpress
25 Famous Websites using Wordpress25 Famous Websites using Wordpress
25 Famous Websites using Wordpress
 
Bring Healthcare to fingertips - How Apps changed Medical Industry
Bring Healthcare to fingertips - How Apps changed Medical IndustryBring Healthcare to fingertips - How Apps changed Medical Industry
Bring Healthcare to fingertips - How Apps changed Medical Industry
 
Have you played this Symfony? Why Symfony is great choice for Web development
Have you played this Symfony? Why Symfony is great choice for Web developmentHave you played this Symfony? Why Symfony is great choice for Web development
Have you played this Symfony? Why Symfony is great choice for Web development
 
9 vitals in business websites
9 vitals in business websites9 vitals in business websites
9 vitals in business websites
 
How Technology Can Change Real Estate Industry In 2015
How Technology Can Change Real Estate Industry In 2015How Technology Can Change Real Estate Industry In 2015
How Technology Can Change Real Estate Industry In 2015
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Dernier (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Gps based search coupons on map view ios, android mobile application

  • 1. Case Study Mobile-based Deals & Coupons Management System
  • 2. This mobile application is the client server platform which provides an opportunity to its users to stay informed about the daily deals in their city. It allows one to see all the daily deals of a specified area (using location-based services) from phone or a website. On the other side, it will help the merchants as users can redeem their coupons while making a purchase and authenticate through a remote phone. It is a web and iPhone-based mobile app which works primarily on Coupons, Offers Redemption and Location Finder services through a mobile function. Client’s website allows users to create their accounts. For better feasibility of this application, user needs to download a mobile app from client’s website and can start using multiple features on his iPhone device. Application has been divided in two variants: User Login and Merchant Login. Registered members can login by using User Login Section whereas Merchant Login is specifically designed for Shop Owners who provide the Coupons and Deals for the user. Merchant Account Owners can view the lists of coupons redeemed by the users and also he/she can add or update new deals available in their product list to be offered. Registration is FREE for any user. User Registration is only applicable from client’s website and other features can be utilized in mobile app. The website’s Web Section also gives track records of coupon redemption activities and available listings. Login Screen also allows users to get authenticated with Facebook Account. With the help of Facebook account, user will be able to access the application’s coupon transactions. IPAD Application: It has a search bar to search the nearby locations and their offers. When you define the preferred location in your mobile device, the system automatically intimates you by highlighting the desired available coupons which require redemption. The system will prompt an indicator about the number of coupons active for redemption in the predefined locations. Coupon Main Section Module assists with image listings. All the respective daily coupons of a restaurant/shop will be displayed with images and location. Map View: On the top of the same screen, a map option will be provided that will take the user to map view where he can see all the coupons on a Google map with a pin. Requirement: Latitude and Longitude is required for places or stores to be shown on the map. Search: There will be a search option provided on the top of the screen where users can search by category, zip code, distance etc. or they can just be shown nearby offers on a Google map with a pin. Requirement: Database needs to be created keeping category, zip code, distance etc. in mind. Detail View: When tapped on a particular coupon of interest the user will be provided with the detail view of that particular coupon. Special Feature: It has a search bar to search nearby locations or offers. List of Coupon Books available in user’s account can be redeemed. Near By: User can view the results in two ways: via Google Map or Grid List which will display the lists of coupon offered from the nearby specified directions. Settings (Preferences): Sync Books refresh on a single tap and fetch recent updated coupons available in the database directory. It also includes Near By Range feature which can be defined according to the user’s preferred locations. Social Media Integration: Application or website seamlessly integrates with Facebook, Twitter, LinkedIn etc. Client Requirement
  • 3. Technologies Used Operating System & Server Management iOS (Mobile), Red Hat Linux OS (Web), Multi-Server Architecture with Staging & Production Environment through Version Controlling releases, Server Optimization, Security & SSL Implementation, Scheduler for Back-ups, Alert Monitoring System Integration, Server Performance Tuning at regular intervals, Software Firewall Configuration & Maintenance Development Tools & Environments Xignite, Stock Editor, JSON, PHP5+, JavaScript, Objective C, Flash, iOS SDK, Xcode etc. Database MYSQL Database Server, DB Clustering, DB Optimization, Master Slave Replication, Query Optimization, Scheduler for Backups Project Challenges Team faced the following challenges:  Allowing the site to handle millions of users at the same time without slowing down.  Incorporating web usability principles while developing numerous features designed for enhancing the users’ community networking experience.  Harmonizing the simultaneous execution of various integrated features and options while maintaining consistent load balance.  Synchronization with Web Account, Database Servers and Mobile Tablet evolving the huge range of categories.  Coupons had to be redeemed from mobile devices at any dealer or retailer which has to be synchronized with database, account transaction ID’s, web server, administrative records etc. that requires being updated during the runtime of each transaction activities.  Location Finder, Traceability of Coupon Locater/Dealer, Device Notification, Displaying of Map and Grid View for all users’ viewing and usability experience. All commencement at the same server reproduces the application needs for user and system.
  • 4. Manpower Planning The following development approach was adopted to equip the site with numerous features and functionality mentioned below:  Planned for the proper synchronization of the connectivity and interaction between the web server, database a server-where the images are being placed.  Research and analysis has been scheduled in respect to get the actual level of output of data which is in the form of different verticals and business logics.  Coupon Finder ensures that each device within the specified range works on GPS/WiFi mobility functions. Also, it is checked as a session to the server. Users can set a reminder with effects on the application.  The User Interface layer performs as a Graphical User Interface of the website and Mobile Application. Architecture  Event Handling Cycle After the UI Application, main function initializes the application. It starts the infrastructure needed to manage the application’s event and drawing cycle which is depicted in the following figure. As the user interacts with a device, iPhone/iPad OS detects touch events and places them in the application’s event queue. The event-handling infrastructure of the UI Application object takes each event off the top of this queue and delivers it to the object that best suited to handle it. For example, a touch event occurring in a button would be delivered to the corresponding button object. Events can also be delivered to controller objects and other objects indirectly responsible for handling touch events in the application. Project Leader 1 Developers 2 Designers 1 Quality Assurance Testers 1
  • 5. Figure: The event and drawing cycle In the iPhone OS Multi-Touch event model, touch data is encapsulated in a single event object ( Event). To track individual touches, the event object contains touch objects ( each finger that is touching the screen. As the user places fingers on the screen, moves them around and finally removes them from the screen, the system reports the changes for each finger in the corresponding touch object. When it launches an application, the system creates both a process and a single thread for that application. This initial thread becomes the application’s main thread and is where the Application object sets up the Main Run Loo code. Figure shows the relationship of the event sent by the system are queued until they can be processed by the application’s main run loop. Figure: Processing events in the main run loop Touch event model, touch data is encapsulated in a single event object ( ). To track individual touches, the event object contains touch objects (UI each finger that is touching the screen. As the user places fingers on the screen, moves them and finally removes them from the screen, the system reports the changes for each finger When it launches an application, the system creates both a process and a single thread for that comes the application’s main thread and is where the Main Run Loop and configures the application’s event code. Figure shows the relationship of the event-handling code to the main run loop. Touch events sent by the system are queued until they can be processed by the application’s main run loop. events in the main run loop Touch event model, touch data is encapsulated in a single event object (UI Touch) one for each finger that is touching the screen. As the user places fingers on the screen, moves them and finally removes them from the screen, the system reports the changes for each finger When it launches an application, the system creates both a process and a single thread for that comes the application’s main thread and is where the UI and configures the application’s event-handling handling code to the main run loop. Touch events sent by the system are queued until they can be processed by the application’s main run loop.