currently hardcoded but working support for rangeOfString: method. It returns NSRange, which is struct. The problem is with casting to types...c to c types, and c to python types. Also problem is with objc_msgSend and objc_msgSend_stret methods when we are returning some struct type. If struct is small, it need to be called with objc_msgSend, but if struct is big, it need to be called with objc_msgSend_stret. Which size is 'small', and which size is 'big' depends on architecture, and that's problem. As I already said, currently implementation is hardcoded, and it isn't for some real use, but work is in progress :)