for iOS classes