ViennaRSS / vienna-rss

Vienna is a free and open-source RSS/Atom newsreader for macOS.
https://www.vienna-rss.com
Apache License 2.0
1.85k stars 227 forks source link

Fix confusion between Article and ArticleReference #1802

Closed barijaona closed 2 months ago

barijaona commented 2 months ago

The confusion isn't really an issue, as ArticleReference accessors are also present into Article (this is in fact used by some methods like -innerMarkReadByRefsArray:readFlag: as an advantage for flexibility), but the proposed change should improve memory management.

Also explicit some NSArray's types to limit risks of further confusions.