mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-01-02 03:10:54 +00:00
* [ASNetworkImageNode] Assert if both URL and image are set Here's one other idea for addressing this problem. Essentially, we assert if you've set both the URL and the image. I've played around with Pinterest and there's only one case where we hit this (the transition). So I've also added another method (which is a bummer, it's weird I know) but there's one good reason to add this method, ephemeralImage, which is the user doesn't have to manually clear it out like they would if they used defaultImage to save memory. Putting this up for discussion. * Fix comment * Oh yeah, @dynamic, thanks @adlai * Remove ephemeralImage
6.1 KiB
6.1 KiB