For the ios class