[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replacing objc method with c function; ivars inside function no good
From: |
Jan Kreft |
Subject: |
Re: replacing objc method with c function; ivars inside function no good... |
Date: |
Tue, 3 Apr 2001 10:51:55 +0100 (BST) |
Paul,
On Mon, 2 Apr 2001, Paul E Johnson wrote:
> x=[self getMyUnsigned];
you don't need to ask _self_ for an ivar, if that's what you're doing,
just use the ivars directly. If ivar's are mainly used within the class,
you can do without all the message lookups.
Maybe I misunderstood?
HTH, Jan.
Jan Kreft Phone +44 (0)29 20875278
Cardiff School of Biosciences Fax +44 (0)29 20874305
Cardiff University E-mail address@hidden
PO Box 915, Cardiff CF10 3TL, UK http://www.cf.ac.uk/biosi/staff/kreft
==================================
Swarm-Modelling is for discussion of Simulation and Modelling techniques
esp. using Swarm. For list administration needs (esp. [un]subscribing),
please send a message to <address@hidden> with "help" in the
body of the message.
==================================