var myString: autoreleasingUnsafePointer<Nsstring?>
我错过了编译器设置步骤吗?
谢谢
解决方法 如 documentation revision history所述Updated the Pointers section to reflect that
UnsafePointer
has been replaced withUnsafeMutablePointer
,ConstUnsafePointer
has been replaced withUnsafePointer
,andautoreleasingUnsafePointer
has been replaced withautoreleasingUnsafeMutablePointer
.
所以你必须使用autoreleasingUnsafeMutablePointer
总结以上是内存溢出为你收集整理的swift – 使用未声明的类型AutoreleasingUnsafePointer Xcode 6 beta 6全部内容,希望文章能够帮你解决swift – 使用未声明的类型AutoreleasingUnsafePointer Xcode 6 beta 6所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)