Swift 언어를 사용하는 프로젝트에서 NSDateFormatter를 사용하고 있습니다.iOS에서 초기화되기 전에 사용되는 'dateFormater'변수 Swift
나는 오류 다음 얻고있다 :
Variable 'dateFormater' used before being initialized
내 코드 :
var date :NSDate = (NSDate.date())
var dateFormater : NSDateFormatter
dateFormater.dateFormat = "dd:mm:yyyy HH:mm:ss zzz"
내가 iOS 용 매우 초보자입니다. 도와주세요.