Share on GitHub Anyone who wants to share code, ideas help each other on GitHub either go to GitHub and follow me and I will follow you back or just comment here and I will make a list on this post with all links.   It’s only fair to share…

Read More

Working with strings in Swift

Let’s talk about strings. A string is a “ordered collection of characters” as defined by apple. With the help of strings we can store names, dates, sentences, quotes etc.   We declare a string in swift :

  To a variable string we can add a string like this:

  Or we could create…

Read More

Accessing web content, NSUrlsesion

NSURLsession class, is what we use to retrieve web content, this class was implemented in iOS7 and is available since then. This class supports 3 types of tasks :   Adding Data Tasks to a Session

Adding Download Tasks to a Session

Adding Upload Tasks to a Session

To get the contents…

Read More