Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example on site Will produce a crash #459

Open
rvanassche opened this issue Feb 18, 2025 · 0 comments
Open

Example on site Will produce a crash #459

rvanassche opened this issue Feb 18, 2025 · 0 comments

Comments

@rvanassche
Copy link

If you compile the example hère : https://www.highcharts.com/demo/ios/gauge-solid/grid-light. With the latest framework.
In Objective-C (Xcode 16.2, iOS 18.3) , it Will not work.
First There are déclarations that are incompatible avec the framework.

options.pane = pane; => Incompatible pointer types assigning to 'NSArray<HIPane *> *' from 'HIPane *' and juste after Errors : Property 'borderWidth' not found on object of type 'NSArray<HIDataLabels *> *' , there are a few of these Errors....

By using breakpoint I discovered that the problem was this declaration :

    yaxis.stops = @[
                    @[
                        @0.1,
                        @"#55BF3B"
                        ],
                    @[
                        @0.5,
                        @"#DDDF0D"
                        ],
                    @[
                        @0.9,
                        @"#DF5353"
                        ]
                    ];

It produce this error : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[HIPane countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0x301710360'
*** First throw call stack:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant