added boolean to model and ios loading

should now allow for @var boolean not just @var bool