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 »

Introduction to Java

What’s Java? Java is simply an object oriented multithreaded programming language. It’s a platform for application development. A platform is the hardware or software environment in which your program runs. Java is a software-only platform that run on hardware-based platforms. Java Environment: Cross –platform portability Java support cross –platform portability via JVM. JVM is an abstract computing machine, having an instruction set and memory. Platform-independent Java compiler translates java program into an intermediate language called Java byte codes and puts them into a .class file.…

Continue reading »