Post

Replies

Boosts

Views

Activity

Comment on How can I change the progress bar value when another tab is selected?
parseRAM is under class ViewController: UIViewController. I test for it because I wanted to try solving the problem, but it just changed the problem. Originally the problem happened when I changed tabs, now it happens when after I change tab I return to the first tab The logs: STO Backend is up. SUCCESS: statsServerInfo(ok: true, out: 11) RAMBar Optional(<UIProgressView: 0x10320f0a0; frame = (16 192.5; 288 4); opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x281ab4800>>) RAMBar.progress 0.0 STO Backend is up. SUCCESS: statsServerInfo(ok: true, out: 11) RAMBar Optional(<UIProgressView: 0x10320f0a0; frame = (16 192.5; 288 4); opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x281ab4800>>) RAMBar.progress 0.11 SUCCESS: statsServerInfo(ok: true, out: 10) RAMBar Optional(<UIProgressView: 0x10320f0a0; frame = (16 192.5; 288 4); opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x281ab4800>>) RAMBar.progress 0.11 (I change tab) SUCCESS: statsServerInfo(ok: true, out: 10) ServiceTOOLS_Control/ViewController.swift:302: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value 2022-04-18 18:26:45.461472+0200 ServiceTOOLS Control[2730:247910] ServiceTOOLS_Control/ViewController.swift:302: Fatal error: Unexpectedly found nil while implicitly unwrapping an Optional value The error now happens on the print line that you added and right when I change tab.
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’22