facebook / chisel

Chisel is a collection of LLDB commands to assist debugging iOS apps.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

border doesn't work with swift 3

aboelbisher opened this issue · comments

Hi.
am trying to border a view (using swift 3 and Xcode 9.1) , but it keeps giving me this error :
error: error: use of undeclared identifier 'CGFloat'
error: error: use of undeclared identifier 'CGColorRef'
error: expected ']'
to match this '['

thanks, I'll take a look

Reboot fix this issue for me.

try in console
e @import AppKit or
e @import UIKit

reboot what ? my macbook ? or just the Xcode ?

rebooting didn't fix the issue
and importing gave me an error :
error: :3:2: error: expected an attribute name
@import UIKit

and also #import UIKit gave the error :
error: error: use of undeclared identifier 'CGFloat'
error: error: use of undeclared identifier 'CGColorRef'
error: expected ']'
to match this '['

after calling "border self.view"

This should be fixed by #232.