Featured
-
Objective C or Swift - Which Technology to Learn for iOS Development?
Swift programming language is completely based on
by siddharth.sindhi -
Make UIImage White Background Transparent in iOS
If you came across to a requirement where you want
by ashish.nakoti -
User's location update on server when app is in background.
Code for those Apps where we need to update user's
by ashish.nakoti -
Animate button with zoom and bounce effect in ios
Many social apps are using bouncing effect for but
by ashish.nakoti -
Crop an image from UIImageView
With the following method stated below you can cro
by kuldeep.butola
Tags
Error Handling in Swift 2
SWIFT
Swift is a very powerful and simple programming language which is used for creating the iOS applications.Swift is a language which is designed to work with Apple's Cococa and Objective-C. The advantage of this language is that it is one...
Caputre Screen Shot in IPhone
if you want to capture the screen shot of the screen in swift use the code below. this function will return an image that can be used as background image of a view
The size of the captured image is same as the size of device.
func caputreSc...
How to convert NSData to NSString or vice versa in Objective C and Swift
Hi Readers!
In this blog you can find both versions (Obj C & Swift) for converting NSData to NSString or vice-versa.
Objective C
NSString * str = @"Hello";
NSData * data =[str dataUsingEncoding:NSUTF8StringEncoding];
NSLog(@"Data = ...
Quick reference of swift language comparison with Objective C
Quick reference of swift language comparison with Objective C code