Programming Swift like Swift not Java or Objective-C

The last article was written around September 2015 and a lot has happened in the world of Swift since then including my world (both of which are for another time/article). However in the last couple of months I have been interviewing developers to work with us and the interesting fact that emerges from the technical […]

Convert Binary String to Integer

How do you convert Binary String to it’s Integer Value? There are many approaches to convert Binary strings to Integers. One approach could be to iterate through all of the characters in the string and add the value of 2 raised to the power of the index.

Heads or Tails – Using and understanding Swift

It would be nearly a year since Swift was announced by Apple. It soon became the language of choice for many developers. It is one of the fastest adopted programming language till date. Not only that, it also has one of the largest repository of source code using Swift. Here’s a look at both sides […]

Swift Article featured image

You’re My Favorite Waste of Time

This song from Paul Owens released somewhere around 1986 summarizes very well what Swift means to a lot of developers today. This is a subtle way of suggesting that Swift in it’s evolutionary phase is a bit difficult to work with. It would still be fine if the updates and changes were a year down […]

Swift 2.0 – 2.B Open Source

WWDC 2015 had some interesting announcements and the biggest and most applicable / important announcement is that Swift is now 2.0 and going to be Open Source and be available for Linux. Since swift can be used for REPL, it could be used as an alternative for writing and executing scripts (on Linux type distros). […]

My Wishlist for Playgrounds

Apple Playgrounds are amazing and for those that are using it know how it works best for them. Some use it for algorithms, some for testing code, etc. One of the reasons that I think playgrounds is important is the integration. The integration of commentary and code that make it seem more like an interactive […]

Chaining cout in swift like C++

In an earlier article, we discussed the possibility of adding a cout like functionality in Swift as seen in C++ (https://swift.oz-apps.com/2015/04/using-a-cout/). There were a couple of impediments that prevented the full functionality of our cout function. Let us revisit that and add chaining

The ever changing nature of Swift and how to keep up with it

If you learned a language, that was it, you did not have to re-learn the same. There could have been additions or extensions to the language but it would not have changed. Welcome to the future, nothing is constant and nothing is static. Though Swift is a production release, ie. you can use it in […]