Evgenii Neumerzhitckii

Results 314 comments of Evgenii Neumerzhitckii

That may be the case. I just tested the Swift 2.2 version of Moa in iOS 9 Simulator and Xcode 7. I could not reproduce your issue. It always sent...

Hello @kiwo12345, thank you for very good questions. ### 1) Does this lib cache images by default? The answer is not simply yes or no, it is more subtle. By...

No worries, I will leave this issue open. I think it is a very good question and it will be useful to others.

I am glad it was helpful. Let me know if you see any issue, so we can make the library better.

@yarodevuci, thanks for the question. The caching settings can be changed at any point in your program, including `viewDidLoad`. These settings will apply to all subsequent image loads.

@yarodevuci, the image download might be cancelled if another download is started. This can happen, for example, if you execute `moa.url = sendedImageURL` twice for the same `Moa` object. I...

Just curious, is it possible for you to use the `moa` property of the image? ``` mediaMessage.image.moa.url = "https://..." ``` If that's possible, that would make the program much simpler....

Oh, I probably know what it is :). The `Moa` object that you initialized in the function gets destroyed when the function exits. That cancels the download. I would suggest...

@pierre-wehbe that's a great idea, a pull request is always welcome. We can add headers to [MoaSettings](https://github.com/evgenyneu/moa/blob/master/Moa/MoaSettings.swift) and use it like this in an app: ``` Moa.settings.httpAdditionalHeaders = ["key": "value"]...

Hello @ericrohlman, thank you for reporting this issue. Unfortunately, LCR images are not supported at the moment. I had no idea they existed, to be honest. Feel free to submit...