views:

36

answers:

1

Wondering if we have something like vb6 with..End With Statement in Objective-c?

Example:

With Object
     .a = "aaa";
     .b = "bbb"; 
End With

I know that there is something called blocks concept, but i am not sure whether it is available in 10.5 Leopard.

Thanks

+2  A: 

The answer is no, there is no such thing in Objective-C.

By the way, blocks (also known as closures) have nothing to do with this.

NullUserException
Sorry,i am newbie for mac development and didn't completely read all the features of objective-c. Thanks for your answer.
AmitSri