ios - Objective C to Swift Error -


i'm using objective c stuff within swift project. created bridging header.

i'm receiving error on line in 1 of files:

cgrect pickerframe = cgrectmake(0, 40, self.viewsize.width, 216); 

member reference base type size (aka long) not structure or union

if replace 100 works. recommended replacement self.viewsize.width?

thanks!

turns out self.viewsize of type 'size' when should've been of type cgsize.


Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -