Friday 15 March 2013

boolean - Swift Error : 'DYLD_BOOL' is not convertible to 'bool' -



boolean - Swift Error : 'DYLD_BOOL' is not convertible to 'bool' -

i developing simple tableview based application if user touch @ cell navigate detailviewcontroller , when user click on detailviewcontroller goes tableview use:

override func touchesbegan(touches: nsset, withevent event: uievent) { self.dismissviewcontrolleranimated(true, completion: nil) }

but can not utilize true in little later , line give me error like:

'dyld_bool' not convertible 'bool'

what solution this?

just utilize true, instead of true.

swift boolean

No comments:

Post a Comment