rename `NativeString` to `CString`
[nit.git] / lib / ios / ios.nit
index 59778b4..b7ad962 100644 (file)
@@ -30,3 +30,8 @@ end
 redef class NSString
        private fun nslog in "ObjC" `{ NSLog(@"%@", self); `}
 end
+
+redef class CString
+       # FIXME temp workaround for #1945, bypass Unicode checks
+       redef fun char_at(pos) do return self[pos].ascii
+end