Questions tagged [kingfisher]

A lightweight, pure-Swift library for downloading and caching images from the web.

A lightweight, pure-Swift library for downloading and caching images from the web.

184 questions
0
votes
1 answer

Round ImageView with blur when use Kingfisher3.1

I want to make a roundCorner for userAvatarImageView. At first, I used the common ways to UIImageView: extension UIImageView { func makeRoundedCorners(_ radius: CGFloat) { self.layer.cornerRadius = radius …
Longshihua
  • 395
  • 1
  • 3
  • 20
0
votes
1 answer

Issue caching images with custom collection view cell using KingFisher

I'm using Kingfisher to cache an image that is stored in Firebase. I'm retrieving the image with a url call to Firebase, then attempting to cache that image for re-use. The below logic in configureCell(with video:Video) was previously in…
joe
  • 267
  • 3
  • 8
0
votes
2 answers

App crashing when trying to get image URL as a String

I have this function that make a request for the API: Alamofire.request(URL).responseObject{ (response: DataResponse) in print("|MovieController| Response is: \(response)") let movie = response.result.value if let…
U23r
  • 1,653
  • 10
  • 28
  • 44
0
votes
2 answers

Cache images to disk directly using retriveImage()?

I'm using Kingfisher to download images in the following way: KingfisherManager.shared.retrieveImage(with: url!, options: nil, progressBlock: nil, completionHandler: { (image, error, cacheType, imageURL) -> () in if let image = image…
Recusiwe
  • 1,594
  • 4
  • 31
  • 54
0
votes
1 answer

Kingfisher with Firebase storage slow to display images - swift 3

Im saving images from a picker up to firebase. Then I'm bringing them back down to my Tableview, but they update really slowly from kingfisher. even from the cache. If I reload the app offline, they still take time to appear Saving up to Firebase…
0
votes
1 answer

reload tableview without image in cell reloads

I have a tableview and cells within that it has imageview and it gets image from server and whenever user scroll down to end of tableview,tableview's data gets reloaded but my problem is cells image is going to download image from server again…
user7155952
0
votes
3 answers

UICollectionViewCell - Round Downloaded Image

I am trying to set a collectionView with round images I get using KingFisher (image caching library). I am not sure what I should set with round corner, the imageView or the cell itself. Even if the cell is round the image seems to fill the…
PoolHallJunkie
  • 1,345
  • 14
  • 33
0
votes
0 answers

Image cache using kingfisher

I'm working on project in swift 3 and as to cache the image url that I get from json response I use the kingfisher pod. But for some reason I'm not getting the image in my UICollectionViewCell at all (image not getting displaying). What am I missing…
danutha
  • 214
  • 3
  • 16
0
votes
1 answer

How to get dynamic data into array KingFisher swift

I newbie swift IOS .. i used this kingfisher to get image from url .. This is original code .. let kingfisherSource = [KingfisherSource(urlString:"https://images.unsplash.com/photo-1432679963831-2dab49187847?w=1080")!, KingfisherSource(urlString:…
MAS. John
  • 582
  • 6
  • 22
0
votes
1 answer

Best practice for storing and uploading multiple images from ImagePicker (iOS)

In my application, I have to store and upload multiple photos to a server using the standard iOS UIImagePickerController library. Currently, I am storing working on storing the UIImagePickerControllerReferenceURL for the photo library: func…
Josh O'Connor
  • 4,694
  • 7
  • 54
  • 98
0
votes
0 answers

Image loading with Kingfisher

I am new to IOS development and trying to load image from url using Kingfisher library. I am using Kingfisher 2.6 with Xcode 7 and swift 2.3. For that i have created a collection view cell with images. All works fine at first run. Images are shown…
H Raval
  • 1,903
  • 17
  • 39
0
votes
0 answers

Load image with border at the same time

I would like to know, is it possible to load image at the same time with border? For example, I have cell where are all posts. When user posts image, the border is there before image itself. Like this I set image inside…
Tarvo Mäesepp
  • 4,477
  • 3
  • 44
  • 92
-1
votes
1 answer

Backup and restore Kingfisher image cache

Using Kingfisher, I want to ship a pre-seeded image cache with my application bundle, so my app can function offline, while still able to fetch future images that weren't shipped with the app. I used KingfisherManager.shared.retrieveImage(with: url,…
Jeff Lockhart
  • 5,379
  • 4
  • 36
  • 51
-1
votes
1 answer

Could not find module 'Kingfisher' for target 'x86_64-apple-ios-simulator'

i add arm64 to my Excluded Architectures because i have pod and that works with this,... after i added Kingfisher swift package manager, when i import that i receive this error Could not find module 'Kingfisher' for target…
a.rz
  • 11
  • 7
-1
votes
3 answers

jpegData() from UIImageView is nil

I'm trying to extract the image data from a UIImageView so I can upload it to Firebase Storage. However, iv.image?.jpegData() is returning nil. I'm using the standard Kingfisher library method to add the image from the URL to the UIImageView. Here's…
Zorgan
  • 8,227
  • 23
  • 106
  • 207
1 2 3
12
13