Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hsjunnesson/HSAnimatedCalendar
An animated calendar UIViewController for iPhone
https://github.com/hsjunnesson/HSAnimatedCalendar
Last synced: 2 months ago
JSON representation
An animated calendar UIViewController for iPhone
- Host: GitHub
- URL: https://github.com/hsjunnesson/HSAnimatedCalendar
- Owner: hsjunnesson
- License: lgpl-3.0
- Created: 2010-09-04T07:49:58.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2010-09-18T10:25:24.000Z (over 14 years ago)
- Last Synced: 2023-04-14T10:28:09.511Z (over 1 year ago)
- Language: Objective-C
- Homepage: http://www.touchalicious.com
- Size: 1.45 MB
- Stars: 18
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.markdown
- License: COPYING
Awesome Lists containing this project
- awesome - HSAnimatedCalendar - An animated calendar UIViewController for iPhone (etc)
- awesome - HSAnimatedCalendar - An animated calendar UIViewController for iPhone (etc)
README
# HSAnimatedCalendar version 1.0
A `UIViewController` which display an animated calendar display
Created by Hans Sjunnesson ([email protected]). Copyright 2010
Hans Sjunnesson. All rights reserved.## What's this?
The HSAnimatedCalendarViewController is an iPhone `UIViewController`
which uses timers to update the `UIImageViews` the controller
references. These `UIViews` represent the component parts of a date
and time, or the number of years, days, hours, and seconds left to a
target date.## How do I set this up?
The HSAnimatedCalendarViewController will load its configuration from
a plist-file with the same name as its nib-file. So for instance, a
HSAnimatedCalendarViewController loaded from the file `CountDown.xib`
will expect to load the file `CountDown.plist` as its configuration.A proper configuration file looks something like this:
Countdown
CountdownDate
2010-12-24T00:00:00Z
transitionType
fade
transitionSubType
right
transitionDuration
0.25
If the key `Countdown` is set to true, the controller will display the
number of years, months, days, hours and seconds to the date specified
by the key `CountdownDate`. If the key `Countdown` isn't set, the
controller will display the current date and time, and animate the
view as time progresses.The key `transitionType` dictates the type of `CATransitions` applied
to the animated numbers. The allowed values are: `fade`, `moveIn`,
`push`, and `reveal`. These are the standard `CATransition` types.The `transitionSubType` dictates the subtype of the `CATransition`, of
which the following are supported: `right`, `left`, `top`, and
`bottom`## License
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.You should have received a copy of the GNU Lesser General Public
License along with this program. If not, see
.