Thomas Kioko

Thomas Kioko

Adding Icons To UITextField

I’m really having a good time as I continue learning sweet. Progress on my attempt to create an ‘Instagram clone’ is pretty good. Source code is available on Github.

All was going well until I tried adding icons to UITextField but it only lead to frustrations. So I thought I’d share how I got past this. By the end of this blog you should be able to add images you your TextFields

So let’s get started.

I’m assuming you have created your outlets from the storyboard to the related ViewController.