Skip to content

Appears to be an issue with some classes on iOS 10 #67

@NathanaelA

Description

@NathanaelA

Basically, the first time the UILayoutGuide.alloc().init() is everything is created correctly, and the object works as expected.
The second time thru the routine, the UILayoutGuide.alloc() works; but the prototype chain is now missing the majority of the functions one of which is the init function, so then the application crashes with init not being a function.

Prototype Chain on first alloc() (120 items):

-> bottomAnchor
-> centerXAnchor
-> centerYAnchor
-> hasAmbiguousLayout
-> heightAnchor
-> identifier
-> layoutFrame
-> leadingAnchor
-> leftAnchor
-> owningView
-> rightAnchor
-> topAnchor
-> trailingAnchor
-> widthAnchor
-> constraintsAffectingLayoutForAxis
-> encodeWithCoder
-> initWithCoder
-> toString
-> accessibilityActivationPoint
-> accessibilityCustomActions
-> accessibilityCustomRotors
-> accessibilityElements
-> accessibilityElementsHidden
-> accessibilityFrame
-> accessibilityHint
-> accessibilityLabel
-> accessibilityLanguage
-> accessibilityNavigationStyle
-> accessibilityPath
-> accessibilityTraits
-> accessibilityValue
-> accessibilityViewIsModal
-> autoContentAccessingProxy
-> classForCoder
-> classForKeyedArchiver
-> isAccessibilityElement
-> observationInfo
-> shouldGroupAccessibilityChildren
-> accessibilityActivate
-> accessibilityAssistiveTechnologyFocusedIdentifiers
-> accessibilityDecrement
-> accessibilityElementAtIndex
-> accessibilityElementCount
-> accessibilityElementDidBecomeFocused
-> accessibilityElementDidLoseFocus
-> accessibilityElementIsFocused
-> accessibilityIncrement
-> accessibilityPerformEscape
-> accessibilityPerformMagicTap
-> accessibilityScroll
-> addObserverForKeyPathOptionsContext
-> awakeAfterUsingCoder
-> awakeFromNib
-> copy
-> dealloc
-> dictionaryWithValuesForKeys
-> didChangeValueForKey
-> didChangeValueForKeyWithSetMutationUsingObjects
-> didChangeValuesAtIndexesForKey
-> doesNotRecognizeSelector
-> finalize
-> forwardInvocation
-> forwardingTargetForSelector
-> indexOfAccessibilityElement
-> init
-> methodForSelector
-> methodSignatureForSelector
-> mutableArrayValueForKey
-> mutableArrayValueForKeyPath
-> mutableCopy
-> mutableOrderedSetValueForKey
-> mutableOrderedSetValueForKeyPath
-> mutableSetValueForKey
-> mutableSetValueForKeyPath
-> observeValueForKeyPathOfObjectChangeContext
-> performSelectorInBackgroundWithObject
-> performSelectorOnMainThreadWithObjectWaitUntilDone
-> performSelectorOnMainThreadWithObjectWaitUntilDoneModes
-> performSelectorOnThreadWithObjectWaitUntilDone
-> performSelectorOnThreadWithObjectWaitUntilDoneModes
-> performSelectorWithObjectAfterDelay
-> performSelectorWithObjectAfterDelayInModes
-> prepareForInterfaceBuilder
-> removeObserverForKeyPath
-> removeObserverForKeyPathContext
-> replacementObjectForCoder
-> replacementObjectForKeyedArchiver
-> setNilValueForKey
-> setValueForKey
-> setValueForKeyPath
-> setValueForUndefinedKey
-> setValuesForKeysWithDictionary
-> validateValueForKeyError
-> validateValueForKeyPathError
-> valueForKey
-> valueForKeyPath
-> valueForUndefinedKey
-> willChangeValueForKey
-> willChangeValueForKeyWithSetMutationUsingObjects
-> willChangeValuesAtIndexesForKey
-> autorelease
-> class
-> conformsToProtocol
-> isEqual
-> isKindOfClass
-> isMemberOfClass
-> performSelector
-> performSelectorWithObject
-> performSelectorWithObjectWithObject
-> release
-> respondsToSelector
-> retain
-> retainCount
-> self
-> debugDescription
-> description
-> hash
-> isProxy
-> superclass
-> zone

Prototype Chain on second alloc() (40 items):

-> bottomAnchor
-> centerXAnchor
-> centerYAnchor
-> hasAmbiguousLayout
-> heightAnchor
-> identifier
-> layoutFrame
-> leadingAnchor
-> leftAnchor
-> owningView
-> rightAnchor
-> topAnchor
-> trailingAnchor
-> widthAnchor
-> constraintsAffectingLayoutForAxis
-> encodeWithCoder
-> initWithCoder
-> toString
-> length
-> autorelease
-> class
-> conformsToProtocol
-> isEqual
-> isKindOfClass
-> isMemberOfClass
-> performSelector
-> performSelectorWithObject
-> performSelectorWithObjectWithObject
-> release
-> respondsToSelector
-> retain
-> retainCount
-> self
-> debugDescription
-> description
-> hash
-> isProxy
-> superclass
-> zone

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions