Count of views of a class?

30 views
Skip to first unread message

MyTallest

unread,
Jul 3, 2012, 4:57:52 PM7/3/12
to uis...@googlegroups.com
I know I can do this in my own code but I'd like to keep it in the UISpec 'Way'  This is what I have:

[expectThat([[self.app.tableView.tableViewCell view:@"GroupCellS1"] all].views.count) should:be(3)];


But that doesn't work. Can someone point me in the right direction?


Thanks,

Chris


Brian Knorr

unread,
Aug 4, 2012, 3:48:49 PM8/4/12
to uis...@googlegroups.com
What is the count returning?  What isn't working?

MyTallest

unread,
Sep 19, 2012, 12:18:41 PM9/19/12
to uis...@googlegroups.com
Sorry for the late reply. Ended up just testing for each cell.

Thanks.
Reply all
Reply to author
Forward
0 new messages