JSON fetch with Mac SwiftUI Combine (HA)

Опубликовано: 08 Июль 2026
на канале: Lawrence Tsang
67
0

Resources:
https://newsapi.org/docs
(PAID service,
BUT, for Developers, it is free)
THANK YOU!


News flash,
For testing and educational purposes.

Its relative, simpler than TMDB.
Sorry, no explanations.
Please, read the code.

Released with MIT License.




https://1drv.ms/u/s!ApN1U-GH6AeImmAi7...


========================================
Notes, SwiftUI compiler problems?

Funny: error cannot convert CGFloat? to CGFloat
Change it to CGFloat!,
Get Cannot Convert CGFloat to CGFloat?
Cycles, hehe.

It means,
NEED to fragment A Large Widget to
A group of smaller ones.


hehe, I do have a little, silly sense of humour!