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

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -