On 06/03/2017 15:57, Bruno Albuquerque wrote:
My main worry with your new example is that there is a considerable amount of code being written in main and this will all go inside a library. Because for now I am basically cargo-culting my way around this, I am not sure what would be the best point to do that initialization. Would doing it in _new work anyway?
Yes, this would work just the same. You'll only need a global variable for the ivars offset.
Nick
