MultiThread in IOS

Create a new project in xcode under Single View Application, Design & Output looks like this, Output Explanation First Click on Start Thread – Main Thread & BackGround Thread Gets Started – Also can move slider – Main Thread gets Completed – BackGround Thread gets Completed – Final View In ViewController.h #import @interface ViewController : UIViewController { NSThread *BackgroundThread; BOOL BackgroundThreadCancel; } @property (strong,nonatomic) IBOutlet UIProgressView *progressView; @property (strong,nonatomic) IBOutlet UILabel *label1; @property (strong,nonatomic) IBOutlet UISlider *sliderView; @property (strong,nonatomic) IBOutlet UILabel *label2; @property (strong,nonatomic) IBOutlet…

Continue reading »

Java Features

SIMPLE You will find java easier and simple if you are aware of object-oriented language, especially C++. Object-Oriented Java has no global functions. All functions are invoked through an object. Distributed Java facilitates the building of distributed applications by a collection of classes for use in networking application. Java can easily access a remote server using java libraries such as URL and support other protocols such as HTTP, FTP, and classes for creating socket-level connections. Interpreted Once java interpreter is ported to a specific machine…

Continue reading »