Unit test tutorial (1/3) Fundamentals
Unit test is basically protecting code from yourself (from people in general). Let me show some example in this language independent unit test tutorial. We all do mistakes, we all thinking focused around specific bulk of things at a time (even in this Unit test tutorial as you will see). We cannot keep eyes on […]
Unity Android plugin tutorial (3/3) Class architecture
Creating Unity Android plugin alongside with other native (iOS) plugin counterparts will end up in a single Unity C# class where plugin can be used, can be hooked up to the rest of the application.
Unity Android plugin tutorial (2/3) Project setup and workflow
In the previous part of this tutorial series Unity Android plugin tutorial 1. Fundamentals I emphasized the importance of encapsulation of our plugin, mainly in order to work seamlessly with other plugins. This part is more of a classic step-by-step tutorial, where I show a convenient project setup, build workflow I found productive when creating […]
Unity Android plugin tutorial (1/3) Fundamentals
While Unity Android plugin development enables deep integration with mobiles, finding the right Unity Android plugin workflow is not that easy as you might think. Many sources encourage extending :UnityPlayerActivity:, as the source of your plugin, however, this approach really sources compatibility issues with other plugins.
Brush up you code design skills
Once you decided to make extensible, reusable, more stable, maintainable codes in the future, simply read these books, and start thinking about you existing projects’ code design. Both were originally written for Java language, but patterns can be pretty easily applies for everyday Objective-C development just fine.
Refactoring, prefactoring, defactoring
I’m fond of Kent Beck books on refactoring issues (Refactoring: Improving the Design of Existing Code, Implementation Patterns). Reading these books makes me more critic when looking to my own code. Most of the time I can catch signs of need for factoring something into new structures. Refactoring A common tool of refactoring are the […]