Add Video Thumbnails in your apps

While a majority of the apps that are being made and will continue to be made are templates based on social media like features, the could be a requirement that it will have to display a video thumbnail. This is not difficult because at the end of the day they are simply images that represent […]

Rotate an Array in place

The interesting things that you would face during Interviews are mostly in the form of puzzles and challenges. These are meant to not tickle your brain but instead it can stump you. On top of that, if you really give it a thought, some of these questions or scenarios are based off bad architecture and […]

Rules Based Fizz Buzz

If you have interviewed at any point recently, then you might have come across the FizzBuzz problem. No, it is not to do with long term storage of your open cola bottle. It is based on a childhood game (I knew of a variant, not FizzBuzz) the idea is simple, you stand in a circle […]

Solving Spotify puzzles using Swift

You must have at some stage attempted to learn about algorithms and searched for puzzles to write algorithms for to solve. There are three interesting puzzles laid out by Spotify at https://labs.spotify.com/puzzles/. We shall have a look at solving those using Swift

How much Abstraction is good abstraction?

Abstraction, is a word that in simple terms means ‘to remove from’ or ‘draw away’ and in terms of software development that is like a function say floodFill(xPos, yPos) so all you need to do is call the function, you do not know how this is implemented as you have no access to the underlining code. […]

Using cerr and cout in Swift 3.0

Last year, there was a post called using cout like functionality in Swift which you can find http://swift.oz-apps.com/2015/05/chaining-cout-in-swift-like-c/. There were a lot of changes in Swift and that made that code redundant, so here is a fresh look at the same again

Everything is a nail…when

The thing about swift is that it makes you think in a particular way, so whenever you see code it makes you think about how it would be done in Swift.

Strings and Emojis

I came across a tweet today joking about how composite emoji’s can be manipulated using Javascript. I tried to replicate the same in Swift and with interesting results.

Move Zeroes – Algorithms

Come across a task in an Interview or a website that challenges you to this. The thing that intrigues me is a good challenge (and many a times I do struggle with it, I am no Genius) However it is still worth a try.

Using Swift techniques for Drawing

The long discussion on is Code an Art or a Science will continue for years to come because there will always be two sides to it and I am not attempting to join or fuel that discussion. However, I feel that in my lifetime I have been lucky to get exposure to a whole lot […]