swift编译器迁移到swift 3后出错

问题描述

迁移到Swift 3之后,我遇到了这些错误

self.final_fb_fName_str = result.value(forKey: "first_name") as? String
    ERROR //value of type 'Any?' has no member 'value'


@available(*,deprecated,message: "Use init(navigationController:title:items:) instead",renamed: "BTNavigationDropdownMenu(navigationController: UINavigationController?,title: String,items: [AnyObject])")
    public convenience init(title: String,items: [AnyObject]) {
        self.init(navigationController: nil,title: title,items: items)
    }
ERROR // 'renamed' argument of 'available' attribute must be an operator,identifier,or full function name,optionally prefixed by a type name

我无法纠正它们;谢谢

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)