]> git.saurik.com Git - cycript.git/commitdiff
Add some syntax todo items from Clang documentation.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 4 Jun 2012 04:27:57 +0000 (21:27 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 4 Jun 2012 04:27:57 +0000 (21:27 -0700)
todo.txt

index 1bc7eb28091140b7ea4e438b0ef27ea45a295769..dd16598b56b9d21e58dcba92e36d91bd4b746ae4 100644 (file)
--- a/todo.txt
+++ b/todo.txt
@@ -65,3 +65,17 @@ should WebUndefined be @undefined?
 if something is a function, it should be output differently
 evaluate usages of CYTry in ObjectiveC/Library for CYObjectiveTry
 verify name targets of "incorrect number of arguments to"
+maybe support __objc_{yes,no} intrinisic primitives
+
+support new objective-c subscript notation:
+  id key = ...;
+  id value = object[key];
+  -> id value = [object objectForKeyedSubscript:key];
+  object[key] = newValue;
+  -> [object setObject:newValue forKeyedSubscript:key];
+and:
+  NSUInteger idx = ...;
+  id value = object[idx];
+  -> id value = [object objectAtIndexedSubscript:idx];
+  object[idx] = newValue;
+  -> [object setObject:newValue atIndexedSubscript:idx];