Swift 4 Tutorial : Split and Join a String

Swift 4 split and join a String : Sometimes we need to change one part of a string . Suppose you have three different types of url for your image : “http://mysite.com/image/myimage.jpg” for default size, “http://mysite.com/image/myimage_h360_w360.jpg” for “360*360” sized image and “http://mysite.com/image/myimage_h100_w100.jpg” for “100*100” sized image. You have access only Read more…

Swift 4 Tutorial : Dictionary

Dictionary in swift : Dictionaries are Collection that store key-value paired items.The values are of same type and all items are stored without any order. You can access any item using its key. It is not required that the keys should be a number always. All the keys should be Read more…