By Steven House.
To-Do-Demo is a To-Do app for Titanium showcasing many best practices and some reusable components.
Clone or download this and build using standard Titanium build practices. The project is written using Alloy... because if you are still using Titanium classic you are just wrong.
ti build -p ios -F iphone
OR
ti build -p android -T device
Should be self-explanatory! Ask about the usage of any of the components and I'll expand on that part.
The configuration at this moment is for the logger
"logger": {
"enabled": true, // Enabled or not? Disable at runtime for more capabilities
"remoteProvider": "acs", // Want to store your logs to a remote provider? Plugins needed and slight re-arch
"remoteLevel": "E", // What threshold level should logs be sent?
"fileLevel": "D", // What threshold level should logs be sent to filesytem?
"crittercism": false, // Use Crittercism? Why not? Configure crittercism integration here
"crittercismIOSAppId": "[YOUR-IOS-APP-ID]",
"crittercismAndroidAppId": "[YOUR-ANDROID-APP-ID]"
}
Here's a link to the documentation generated by JSDuck. If you don't quack your JS yet it's time to consider.
Here's a link to a [complexity analysis report generated by PlatoJS] (http://shouse.github.io/report)
Screenshots of To-Do-Demo below:
- The checkbox for Android on the Task Detail page is not vertically centered
If you discover any bugs, feel free to create an issue on GitHub fork and send me a pull request. I'll be adding to this as I can.
- Make task deletable from the detail page and not just the List page
- Allow swiping from task to task
- Allow swiping from gallery photo detail to next
- Allow user to DL predefined task lists for common tasks
- Implement tagging for categorical sorting
- List View: have sort-by enhancements
- ... what else can you think of?
Steven House (https://github.com/shouse)
- I'm using a lot of components from all over the net and I haven't always remembered where I pulled the bits and pieces.
- I'd like to give proper attribution so also feel free to create an issue for attribution
- I've learned from the legends and they are either authors of some of the sub components or directly influenced my Titanium knowledge and thus indirect authors
[Fokke Zandbergen] (https://github.com/FokkeZB) [Olivier Morandi] (https://github.com/omorandi) [Jeff Haynie] (https://github.com/jhaynie) [Ben Bahrenburg] (https://github.com/benbahrenburg)
... and many more.
CodeStrong!
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
This project is licensed under the OSI approved Apache Public License (version 2). For details please see the license associated with each project.