CGRect and utesting
Posted
by
killdash10
on Stack Overflow
See other posts from Stack Overflow
or by killdash10
Published on 2010-12-29T04:51:07Z
Indexed on
2010/12/29
4:53 UTC
Read the original article
Hit count: 133
iphone
I am trying to add unit tests to my iPhone project in Xcode. Everything works, its great. Except when I am adding a class.m that uses CGRect (or other structs, CGPoint etc) to the unit test target (under "Compile Sources") - I am getting a compilation error: "'CGRect' undeclared (first use in this function)". I tried messing with my unit test target in various ways, but so far I haven't been able to get past this. What am I missing?
© Stack Overflow or respective owner