swift - got error whe converting xcode6 to 7 -


the error said "use of self in delegating initializer before self.init called". know how fix issue????

     convenience init(tweet: dictionary<string, string>) {     let _contents: string = ""     //var _date: string = ""     //var _reply_cnt: string = "0"     let _like_cnt: string = "0"     //var _bad_cnt: string = "0"     let _imageurl: string?       //code below reason why got error     self.init(contents:_contents, /*date:_date, reply_cnt:_reply_cnt, */like_cnt:_like_cnt,/* bad_cnt:_bad_cnt, */imageurl:imageurl) 

going on limb here, variable in function called _imageurl, , parameter passed self.init call imageurl, perhaps variable invoking self.imageurl prior calling self.init error stating.


Comments

Popular posts from this blog

sql - VB.NET Operand type clash: date is incompatible with int error -

SVG stroke-linecap doesn't work for circles in Firefox? -

python - TypeError: Scalar value for argument 'color' is not numeric in openCV -