You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we return nil if a SoftButtonObject is created with two states that are the same. There are other cases that should be handled, such as the state array having no objects or if there's no state with initialStateName.
Reproduction Steps
Create a soft button object with no states
Expected Behavior
An exception in DEBUG and a nil object in RELEASE
Observed Behavior
Undefined behavior
OS & Version Information
iOS Version: n/a
SDL iOS Version: 7.3.1
Testing Against: n/a
Test Case, Sample Code, and / or Example App
n/a
The text was updated successfully, but these errors were encountered:
Bug Report
Currently we return
nil
if aSoftButtonObject
is created with two states that are the same. There are other cases that should be handled, such as the state array having no objects or if there's no state withinitialStateName
.Reproduction Steps
Expected Behavior
An exception in DEBUG and a
nil
object in RELEASEObserved Behavior
Undefined behavior
OS & Version Information
Test Case, Sample Code, and / or Example App
n/a
The text was updated successfully, but these errors were encountered: