Thursday, November 24, 2011

iOS UI Runtime Builder based on XML Definition

The basic idea behind this toolkit is to separate UI implementation from the source code. This idea comes from the beautiful Java toolkit SWIXML which was implemented for allowing separation on UI from business logic in Swing based applications. This toolkit is also implemented in Android SDK core for same reason and is much more used then hard coded UI. The concept mutates to new programming paradigm which is also known as declarative programming where we specify UI and we regardless of how it will be created we just want initialized elements to manipulate with.

With using tool that allows us to make separation on UI from the business logic we will have cleaner code which is much better for reading and maintaining than putting everything into the class.

In iOS you can make UI with setting all properties into the code for every view that we use or by using Interface Builder which generate some messy XML structure that is understood only by the Interface Builder itself, but in this case because everything is auto generated we can’t change anything into this XML. Application that is implemented with using Interface Builder has also slower compile time than the application that has UI implementation into the view controllers. For that reason toolkit that separate UI from the code and keeps the UI definition as simple XML file instead of complicated XIB is welcome.

iOS Runtime UI Builder parse the XML UI definition with using the fastest XML DOM parser TBXML, creates object structure for every XML Tag with its attributes and keeps that objects in memory which is very fast because we don’t depend on complicated XIBs that are also slower to parse then simple XML file. After parsing and creating object structure, for every encapsulated view we automatically make initialization on each view with setting attributes which were defined in the XML Tags. The objects that encapsulate the views are stored into the fast data structure allowing us fast lookup for the concrete object and set initialized view to the reference into the code. With using this toolkit we make the code cleaner because every property is automatically set with changing complicated methods with only several written attributes into the XML Tags for every view that we create in main view. If we have complex views with many wrapped views inside them it’s not a problem, all that views will be automatically add into the parent view which gives us freedom to experiment with different UI concepts easily.

Check it on Google Code

https://code.google.com/p/ios-ui-runtime-builder/

Sunday, October 16, 2011

Salad Master v1.0

Mr. Rusty is a poor man that needs a job. Finally he has a job that requires to pick up some food in order to make a salad. Your duty as Mr. Rusty is to catch required fruits and vegetables and to pass each level successfully to become a salad master.

Enjoy.





Saturday, June 18, 2011

Fun Words V1.0

After long time here is my new addictive game for Android.
Play different levels, guess as many words you know and challenge your knowledge.

Enjoy.

Sunday, March 27, 2011

Bingo Championship V1.0

If you like to play Bingo, this game will be your most playable and addictive Bingo game you have ever played. You can play single game or against the mobile bots that will make your game more and more unpredictable.

Downloadable via QR code.



Enjoy.

Friday, January 28, 2011

jTSWorkBook V1.0

Long time ago I developed desktop time sheet application with Swing UI. The application is client/server based with MySQL RDBMS as backend storage. jTSWorkBook is not developed as a replacement for professional project management software but for basic project management where the project has predefined tasks and activities. The main purpose of the application is to keep track on the development progress and the time spent on development by team members. For now jTSWorkBook has simple interface and some basic management views: client details management, product management, projects management, tasks and activities management, employees management, timesheet and server configuration. Maybe someday I'll implement burndown chart for SCRUM support and report generation, but before that there are some improvements I should make.

Download link and installation guide will be available soon.







Saturday, December 11, 2010

Wheel Of Fortune V1.0

Wheel of Fortune is first game for Android, based on the original quiz Wheel of Fortune.
Its very exciting, offering a lot of fun and enjoyment to its players.

Downloadable via QR code.



Have fun.


Sunday, November 14, 2010

Smart Hangman V1.0

This is first implementation on Smart Hangman which is with a bit different rules of known hangman games. The main difference is that this hangman has additional jokers which will make your playing more interesting. There are five categories of secret words each one containing words with different hardness. Smart Hangman will be constantly updated with new categories and words which will make you more addictive to the game.

Enjoy.