Search This Blog

Tuesday, 28 June 2016

Variable Defination

variable defination,define variable

Objective-C Tokens


Objective-C tokens

[1] Semicolon :
  (;)  it is used for terminate statement.

[2]Comments
   
 /* Comment */
 
[3] Identifiers
 :Variables as like c language
 
[4]Keywords
auto



break



case



char



const



continue



default



do



double



NSObject



property



weak



switch
typedef
union
unsigned
void
volatile
while
_Packed
implementation
CGFloat
strong
readonly
long
register
return
short
signed
sizeof
static
struct
interface
NSNumber
retain
readwrite
else

enum

extern

float

for

goto

if

int

protocol

NSInteger

nonatomic;

unsafe_unretained;




[5] whitespace in objective c
Blank line is a  line containing only whitespace, possibly with a comment, and which is ignores .

Monday, 27 June 2016

Data Types

Data Types 



First Example

First Program

 
Objective-C

File Extension

Objective-C source code  files have .m filename extensions, while Objective-C 'header/interface' files have .h extensions. Objective-C++ files have .mm  extension.

Introduction to Objective-C

 Introduction

Objective-C is is developed on the top of C language with the adding small talk programming language make it an object oriented language . it is used in development of iOS application.

Objective-C was developed bt  NeXT for its NeXTSTEP OS from whome it was taken by Apple.