IFD:IOSDev/Projects/Andreas: Difference between revisions

From Medien Wiki
Line 48: Line 48:


== Classes ==
== Classes ==


=== TBXML ===
=== TBXML ===
Line 58: Line 60:
=== LivingCampusViewController ===
=== LivingCampusViewController ===
The root controller for the Living Campus app. It controls the main things, like intro, outro animation, displaying the menu points and menu items for every menu point. It has also a reference to the basic model class named LivingCampusModel
The root controller for the Living Campus app. It controls the main things, like intro, outro animation, displaying the menu points and menu items for every menu point. It has also a reference to the basic model class named LivingCampusModel


=== Controller group ===
=== Controller group ===
Line 91: Line 95:
=== View group ===
=== View group ===


''ClockView''' shows the clock for some menu points and controls the minute and the hour hand.


''LoaderView''' shows the progress loader for menu items, if their content is not loaded and will be loaded.
'''ClockView''' shows the clock for some menu points and controls the minute and the hour hand.
 
'''LoaderView''' shows the progress loader for menu items, if their content is not loaded and will be loaded.
 
'''MenuItemView''' shows the red circle with the I in it and controls the tapping on this circle. If the user taps on one circle, the title of the menu item come visible. If the user taps on a menuItemView a second time, the root controller will be informed and the specific ContentContainerController will become visible.
 
'''MenuItemDescriptionView''' shows only the title of the menu item.


''MenuItemView''' shows the red circle with the I in it and controls the tapping on this circle. If the user taps on one circle, the title of the menu item come visible. If the user taps on a menuItemView a second time, the root controller will be informed and the specific ContentContainerController will become visible.
'''StartBtnView''' is the view for one image button, which is visible on the start point. Every StartBtnView shows a menu point for the app. If the user taps once on it, a description will be visible and if the user taps a second time on it, the rootController will be informed and will show the specific menu point.


''MenuItemDescriptionView''' shows only the title of the menu item.
'''StarView''' shows the stars for some menu point at night. The stars have a small alpha animation, which is changing over the time.


''StartBtnView''' is the view for one image button, which is visible on the start point. Every StartBtnView shows a menu point for the app. If the user taps once on it, a description will be visible and if the user taps a second time on it, the rootController will be informed and will show the specific menu point.
'''TopWebView''' shows almost every link inside the app in an UIWebView. It does not allow the user to get to a specific web page. You can only see pages and subpages of the specific link.


''StarView''' shows the stars for some menu point at night. The stars have a small alpha animation, which is changing over the time.


''TopWebView''' shows almost every link inside the app in an UIWebView. It does not allow the user to get to a specific web page. You can only see pages and subpages of the specific link.


==== Animation group ====
==== Animation group ====
Line 109: Line 116:
Contains all views, which are menu point animations
Contains all views, which are menu point animations


''LivingCampusAnimationView''' shows basic animation, which are left to right or right to left animations. The object, which moves, can be a single image or an image sequence. Between every animation is a random time, which is given by the LivingCampusAnimation.
'''LivingCampusAnimationView''' shows basic animation, which are left to right or right to left animations. The object, which moves, can be a single image or an image sequence. Between every animation is a random time, which is given by the LivingCampusAnimation.


''LivingCampusCarAnimationView''' is a subclass of LivingCampusAnimationView. If a car reached 3/4 of the movement animation, this view will post a notification, which is not supported in the base class. The animation of a car must be started via a controller, because the feature to automatic animate the car after a random time is not supported.
'''LivingCampusCarAnimationView''' is a subclass of LivingCampusAnimationView. If a car reached 3/4 of the movement animation, this view will post a notification, which is not supported in the base class. The animation of a car must be started via a controller, because the feature to automatic animate the car after a random time is not supported.


''LivingCampusMultipleAnimationView''' shows a animation, which is divided in some smaller parts. E.g. a persons holds his hand to the top is one part, the persons moves one meter to the right is the second part and then the person moves one meter back to the left is the third part. Between every part is a random time, which is given by the LivingCampusMultipleAnimation.
'''LivingCampusMultipleAnimationView''' shows a animation, which is divided in some smaller parts. E.g. a persons holds his hand to the top is one part, the persons moves one meter to the right is the second part and then the person moves one meter back to the left is the third part. Between every part is a random time, which is given by the LivingCampusMultipleAnimation.


''LivingCampusPathAnimationView''' shows an animation, which has a start, a middle and an end point, like the plane in the menu point Studium (Study), or the bird in the menu points Campus, Stadt (Town) and Freizeit (Freetime).
'''LivingCampusPathAnimationView''' shows an animation, which has a start, a middle and an end point, like the plane in the menu point Studium (Study), or the bird in the menu points Campus, Stadt (Town) and Freizeit (Freetime).


==== Content group ====
==== Content group ====