Monthly Archive: April 2016

0

Convert Image to Base64 string in iOS

Swift //create image instance //with image name from bundle var image : UIImage = UIImage(named:”imageNameHere”) var imageData = UIImagePNGRepresentation(image) //OR with path var url:NSURL = NSURL.URLWithString(“urlHere”) var imageData:NSData...

0

Network Streaming in Spark

Network streaming in spark is another interesting topic, here I am going to explain how network streaming works  and will provide complete spark scala code. Before jumping to the code, I...