objective c - XCode Header Search Paths for global struct -
i created struct called pointint 2 integers (like cgpoint ints) , want global struct cgpoint. created category nsvalue this.
i've looked on internet , seems build settings -> header search paths way go. however, have no idea values put it. i've tried $(project_dir)/pointint/**
, bunch of similar strings compiler not recognize it. how #import
.h file struct, .h , .m category? , there else has done?
add header file struct prefix header. 1 have been automatically created when created project called [project]-prefix.pch
in "supporting files" directory.
add in between #ifdef __objc__
, #endif
.
it available throughout project.
Comments
Post a Comment