Elemental My Dear Watson

[Estimated Reading Time: 2 minutes] A short, quick post to share the fruits borne of the confluence of two of my passions: RemObjects Elements and … t-shirt design. Ok, the latter isn’t really a ‘passion’ so much as a hobby I have dabbled in from time to time over the years, and I have no illusions that my designs are going to set the t-shirt world afire. But every so often I come up with a fun idea that I’d like to wear myself, or that a few colleagues at work would like to join in with. If others want to wear them too, then even better!

Anonymous Classes: Identity Exposed!

[Estimated Reading Time: 2 minutes] In my previous post on Anonymous Classes I erroneously referred to them as “dynamic objects” (thanks to commentors for pulling me up on that). Dynamic objects are something else entirely (although what precisely they might mean can vary on different platforms and in different languages). I have now corrected that post on this point, and also on another point that Marc Hoffman called me out on (again, thanks for that). And so the time has now come to expose the true identity of these so called “Anonymous Classes”.

Anonymous Classes: Implementing Interfaces

[Estimated Reading Time: 4 minutes] A few years ago (2011 to be precise) someone asked a question on StackOverflow about support for anonymous classes in Delphi. The reason for the question was that the poster was trying to use Delphi to develop for Android and on that platform the widespread use of callback interfaces makes anonymous classes highly desirable.

Retrofit – Handling Different Responses

[Estimated Reading Time: 3 minutes] In my previous post I provided a simple example of how to use Retrofit to define, create and use a REST API client. Even in that simple example the issue of how to deal with different responses to a request came up. That is, where the response we receive does not conform to the strongly typed response we expected (or hoped for). Here’s how we deal with that, in a strongly typed way.

Using Retrofit with Oxygene

[Estimated Reading Time: 5 minutes] I’ve recently been working on a new project involving an Azure hosted ASP.NET MVC WebApi application (actually a pair of them) and native mobile and web applications. Everything is – of course – built using Oxygene. For the Android mobile app I was looking for a REST API client library and have settled upon Retrofit and thought I would share the experience.

Mix-in Unified and Segregated Syntax: An (Extended) Example

[Estimated Reading Time: 5 minutes] Yesterday I initially posted that you couldn’t mix Unified Syntax with “traditional” interface and implementation sections. Or what I am now calling Segregated Syntax. As sometimes happens, shortly after writing what I thought I knew to be true I discovered it wasn’t ! Sorry about that. 🙂 I promised to illustrate the scenario where I found it both possible and useful, and here it is.