ios - Cannot create UIToolBar in code -
swift wont allow me create toolbar in code in xcode 6.1. declaring uitoolbar in swift code undeclared type error:
use of undeclared type 'uitoolbar'
please note next points: - '!' , '?' in various places had no effect
tried declaring variable (var) or constant (let)
in same project, have created custom views, table view cells etc
the file included in project target
tried declare @iboutlet
please check attached screenshot. doing wrong?
it should uitoolbar
not uitoolbar
var toolbar: uitoolbar
ios iphone swift xcode6
No comments:
Post a Comment