ios variants - class structure