So you want to use an Objective-C Library or SDK in your Swift application eh? Well do not fret. This quick tutorial will show You how you can create an Objective-C Bridging Header in your Swift application so you can use them both together and seamlessly.
So I wanted an animated UIScrollView which iterated around a collection of UIViews that had been programmatically added to my UIScrollView.
Have you got the Snapchat App? Even taken a screenshot of the image because you wanted to keep it forever? Ever wondered how to do that in your own app?
Here is a very quick tip that about Base64 decoding for iOS Applications and for Objective-C iOS7+, incl iOS8 Swift.
Have you wanted to send an e-mail from your app and pre-populate the fields like the recipient, subject, or body text? In this How to send emails from your ios application tutorial I will show you how. Thankfully Apple made it pretty easy with MFMailComposeViewController. There is a bit of setup, but most of its actual implementation is pretty easy.
Have you ever wanted to alert other classes of your app of some event from another one?
This awesome resource was started in November 2013. The initial goal was to provide guidelines to write the most clean Objective-C code possible: there are too many guidelines out there and all of them are debatable. We didn’t aim introducing hard rules but, instead, a way for writing code to be more uniform as possible across different developers. With time the scope moved to explain how to design and architecture good code.
Although we are all in love with Objective-C, the power of a language itself is given by its inner features. Languages like Ada have a built-in concurrency model, while Objective-C needs external libraries (let’s say libdispatch) to try to achieve the same power of expression found in richer languages. The same happened for the implementation of the Actor Model. The standout language for the feature of asynchronous message passing using the actor model is Erlang. From Wikipedia: The actor model
User defined runtime attributes are the hidden gem of Xcode’s Interface Builder. Available since Xcode 4 and iOS 5, they provide the ability to configure properties of a view that you would otherwise be unable to configure in Interface Builder. As an advocate for the separation of concerns, I believe we should do in Interface Builder as much interface configuration as possible. Although runtime attributes are often overlooked, they can lead to much cleaner view controller code – something we
If you do not know, and by now you should. Apple have created a whole new programming language called Swift. Do not fret you Objective-C Coders out there. This tutorial will show you how you can use Objective-C Classes in Swift.