With...End With VB6 Statement like Statement in objective-c
Wondering if we have something li开发者_开发技巧ke 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
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.
精彩评论