Hi Robert, Thank you for bring up this. Would you give your insight on a similar issue? I have uploaded a demo project: https://github.com/siuying/MacRubyPXListView The core is RBListDelegate (https://github.com/siuying/MacRubyPXListView/blob/3ba0f925c2ef535a95fd5858f7...) which implements PXListViewDelegate (https://github.com/Perspx/PXListView/blob/master/Classes/PXListViewDelegate....) It just implement three require method and the expected output is as follow screen: http://dl.dropbox.com/u/164404/list_1.png But instead it would just crash: http://dl.dropbox.com/u/164404/list_2.png Extends this class from ListViewDelegate (https://github.com/siuying/MacRubyPXListView/blob/e394276c0499db54994239b861...) make it work without crash (https://github.com/siuying/MacRubyPXListView/blob/e394276c0499db54994239b861...) , but ListViewDelegate is just implementing those three methods! Thanks Francis Chong Ignition Soft http://ignition.hk/ 在 2011年7月19日 上午6:08 時, Robert Lowe 寫到:
So long and thanks for all the fish.
Your implementation is wrong, it has nothing to do with macruby.
You skipped a bunch of code which is required to make it function.
For instance all SourceListItems must have children.
When you port Objective-C code ensure you aren't skipping code or using rubyism (they may do difference things), port the code first then tweak it.
Regards, - Rob