PHP

PHP is a server-side scripting language created in 1995 and designed for web development but also used as a general-purpose programming language

Read More

JAVA

Java is a set of several computer software and specifications developed by Sun Microsystems, later acquired by Oracle Corporation, that provides a system for developing application software and deploying it in a cross-platform computing environment.

Read More

C++

C++ is a middle-level programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs.

Read More

C

C is a middle-level programming language developed by Dennis Ritchie starting at Bell Labs.

Read More
Latest Blog

Multipart form data ios NSURLSession

NSData *postData1 = [NSJSONSerialization dataWithJSONObject:registerCredential options:NSJSONWritingPrettyPrinted error:nil]; NSString *regItem = [[NSString alloc] initWithBytes:[postData1 bytes] length:[postData1 length] encoding:NSUTF8StringEncoding]; dict = @{@”params”:regItem}; // NSData *postData = [NSJSONSerialization dataWithJSONObject:dict options:0 error:&error]; NSMutableURLRequest *request = [[AFHTTPRequestSerializer serializer] multipartFormRequestWithMethod:@”POST” URLString:url.absoluteString parameters:dict constructingBodyWithBlock:^(id formData) { //[formData […]

read more

Get Contact List in iOS

How to import Contact List in iOS app Apple provides framework that allow user to access address book of device. There are following terms which you need to know basics of its. ABRecordRef: It contents data for a person or […]

read more

iOS File Management System

iOS File Management System In iOS to manage files apple provide NSFileManagerClass  which is used to manipulate the files. Using this class we can perform generic file system operations like create file, remove file, move file, copy file etc. In […]

read more

What are best practices for validating email addresses in Swift?

func isValidEmail(testStr:String) -> Bool {         // println(“validate calendar: \(testStr)”)         let emailRegEx = “[A-Z0-9a-z._%+-]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,4}”                  let emailTest = NSPredicate(format:“SELF MATCHES %@”, emailRegEx)         […]

read more

Display Simple Alert View in Swift.

Using Following Code : let alert = UIAlertController(title: “Alert”, message: “All Fields Are Required”, preferredStyle: UIAlertControllerStyle.Alert)             alert.addAction(UIAlertAction(title: “OK”, style: UIAlertActionStyle.Default, handler: nil))             self.presentViewController(alert, animated: true, completion: nil)

read more

Set background image swift IOS.

By using following code you can change background image of button : btnRemember.setBackgroundImage(UIImage(named:“uncheck”), forState: .Normal)

read more

Close iOS Keyboard by touching return using Swift.

To do this you have to apply first delegate method in your class like this : class ViewController: UIViewController,UITextFieldDelegate { } after that apply should return delegate method  : func textFieldShouldReturn(textField: UITextField) -> Bool{         textField.resignFirstResponder()  //– […]

read more

How we can use Activity Controller in IOS ?

To using Activity Controller there is a lots of way mostly I preferred MBProgressHud (third party). Just go to the link and download files : https://www.cocoacontrols.com/controls/mbprogresshud or if you are using cocoapods then just update podfile using following: platform :ios, ‘7.0’ […]

read more

Using UIAlertController in IOS 9.

In IOS latest version Alert View is deprecated, In IOS latest versions mostly used UIAlertcontroller. It is always good practice to work with it. Here is example of using UIAlertController:  UIAlertController *alert = [UIAlertController alertControllerWithTitle:@”Alert” message:[responseObject valueForKey:@”message”] preferredStyle:UIAlertControllerStyleAlert]; //— Adding […]

read more

How can i apply share functionality in IOS ?

Some time in our app we need to apply functionality of sharing app to different social networking sites and apps, So how we can achieve this thing in IOS, This thing I’m gonna show you. First in you app create […]

read more