C

没有设计和逻辑头脑的工程师

handyJson Xcode 9.3 崩溃问题 解决方案

    var nominalTypeDescriptor: NominalTypeDescriptor? {

        let pointer = UnsafePointer<Int>(self.pointer)

        let base = pointer.advanced(by: nominalTypeDescriptorOffsetLocation)

        if base.pointee == 0 {

            // swift class created dynamically in objc-runtime didn't have valid nominalTypeDescriptor

            return nil

        }

        #if swift(>=4.1)

        return NominalTypeDescriptor(pointer: relativePointer(base: base, offset: base.pointee - base.hashValue))

        #else

        return NominalTypeDescriptor(pointer: relativePointer(base: base, offset: base.pointee))

        #endif

    }

阅读更多
个人分类: swift
上一篇iOS Xcode, 解决“Could not insert new outlet connection: Could not find any information for the class n
下一篇xcode will continue when iPhone is finished iPhone is busy:Processing symbol files
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭