Swift is useful in creating not only Mobile applications or Mac OSX GUI applications it can be used to also create a commandline application which is run on the Terminal. Let’s start with the simplest/minimalist application. There is an commandline utility called yes. If you write and use bash scripts, then you could have come […]
Do you use fluent interfaces? What? I am fluent in using interfaces … or atleast I think… yeah I am fluent. Now if that was a conversation that made little to no sense, then you are not alone. There are so many words coined for simpler things than expected and that leads to a confusing […]
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 […]
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 […]
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
Swift is gaining popularity with Developers and as companies are considering Swift for their projects. Over a period since the publication of my Swift book (at Swift v1.2) there are many that keep up to date with the new features in Swift and there are those that are now considering the move to Swift or […]
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.
Swift is quite interesting and is changing the way you would develop in the future. For this article, let’s look at using enums in an interesting manner.
In this article we are going to make a swift app for the Mac OSX. This will have no window but instead have a menu item that would be used for interacting with the application. This application shall also read a settings and alter the icon and menu according to the status of that setting
In an earlier article, we discussed the possibility of adding a cout like functionality in Swift as seen in C++ (http://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