Thread 1: EXC_BAD_ACCESS (code=257, address=0x2824ad922)
darkbit34 opened this issue · 4 comments
Describe the bug
Thread 1: EXC_BAD_ACCESS (code=257, address=0x2824ad922)
happens when I try to access the properties of coachViews.bodyView "coachViews.bodyView.background.innerColor
"
To Reproduce
Initialize the library as a guide, and try using the "coachMarksController.helper.makeDefaultCoachViews
" method to generate a coachViews within the "coachMarksController (_ coachMarksController: CoachMarksController, coachMarkViewsAt index: Int, madeFrom coachMark: CoachMark) method -> (bodyView : (UIView & CoachMarkBodyView), arrowView: (UIView & CoachMarkArrowView)?)
" And then try accessing one of the properties of "coachViews.bodyView
"
Expected behavior
It is expected to be able to change the background color through the "coachViews.bodyView.background.innerColor
" line or to be able to access the properties "coachViews.bodyView.hintLabel
" and "coachViews.bodyView.nextLabel
"
Screenshots
Environment
- Device: iPhone 11 Pro
- iOS version: 13.5.1
- Instructions version: latest 2.0.0
- Dependency Manager: CocoaPods
Additional context
If I don't try to access bodyView properties in the "coachMarksController (_ coachMarksController: CoachMarksController, coachMarkViewsAt index: Int, madeFrom coachMark: CoachMark) method -> (bodyView: (UIView & CoachMarkBodyView), arrowView: (UIView & CoachMarkArrowView)?)
" and pass the values of the hint label and the next label into the "coachMarksController.helper.makeDefaultCoachViews (withArrow: true, arrowOrientation: coachMark.arrowOrientation, hintText: "Hi", nextText: "Hello")
"everything works perfectly
Hi @darkbit34, thanks for reporting the issue, I'll investigate as soon as possible!
@darkbit34 I'm sadly unable to reproduce the issue.
Does it happen on your end with the example app?
Can you show me the exact code you're using or provide a sample project?
Any update on this @darkbit34?
Closing due to inactivity.