Set implementation for RubyMotion