Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 29 2019 04:59
    dvaldivia commented #437
  • Jan 29 2019 01:48
    smhk commented #441
  • Jan 28 2019 21:55
    canaksoy opened #441
  • Dec 17 2018 11:12
    peddamat commented #437
  • Dec 04 2018 07:30
    koala99 commented #437
  • Dec 03 2018 20:21
    j-j-m commented #436
  • Dec 03 2018 05:01
    koala99 commented #437
  • Nov 28 2018 19:05
    vade commented #436
  • Nov 26 2018 07:37
    koala99 commented #437
  • Oct 23 2018 08:42
    dorsegal commented #436
  • Oct 09 2018 03:31
    aporat edited #436
  • Oct 09 2018 03:26
    aporat synchronize #436
  • Oct 07 2018 22:45
    AdrianBinDC opened #440
  • Oct 04 2018 12:25
    dhavalyugtia opened #439
  • Sep 26 2018 08:54
    gzafra commented #437
  • Sep 26 2018 08:53
    gzafra commented #437
  • Sep 18 2018 16:45
    andrewcampoli closed #438
  • Sep 18 2018 16:44
    andrewcampoli opened #438
  • Sep 18 2018 00:14
    aporat synchronize #436
  • Sep 11 2018 20:22
    bpollock-vida edited #437
dcharbonnier
@dcharbonnier
Now I have a f** apple TV project to finish for next week so I m really busy sorry
Hermes Pique
@hpique
We can close #75. Seems no one else needs it.
#104 is the big one. It's super interesting, and would be very helpful.
Nothing to be sorry about. You're doing great!
dcharbonnier
@dcharbonnier
Except it's a new information to store, the question is where
Hermes Pique
@hpique
In memory it's easy. We can store a more complex object if needed.
In disk, perhaps as a file attribute?
I would start bit by bit.
dcharbonnier
@dcharbonnier
in memory it disappear
Hermes Pique
@hpique
Oh yeah. You need both.
First add expiration to setter operations of DiskCache.
The expand that info to Cache.
Then have NetworkFetcher use the cache-control headers to pass the expiration to Cache.
dcharbonnier
@dcharbonnier
oh, nice we can add extended file attributes
Hermes Pique
@hpique
This means that the generic type T would also have to implement something like Expirable, in addition to DataConvertible.
dcharbonnier
@dcharbonnier
so extended file attibute looks ok ?
Hermes Pique
@hpique
Yep, that's how I would do it.
We already use it to store the original file name.
I think.
dcharbonnier
@dcharbonnier
ok, then I will try to find some time to come with a draft
Hermes Pique
@hpique
Oh, actually we don't. I did that in Haneke Objective-C, but I couldn't find a simple way to use the C APIs of extended file attributes in Swift.
That was more than a year ago. Haven't tried again.
dcharbonnier
@dcharbonnier
Hermes Pique
@hpique
Cool. Looks like it's possible now!
Or maybe it was a problem in dynamic frameworks.
I don't remember.
dcharbonnier
@dcharbonnier
I made a comment on #272
Adam Kuipers
@adamkuipers
How would someone handle a cache for an image fetch where an image is returned multiple times, increasing in quality?
Specifically, I'm trying to use UIImageView - hnk_setImage(_:key:) from a Photos Framework fetch
Robin Reiter
@robin7331
Hey guys. Somebody knows how to cancel a network fetch?
fromcelticpark
@fromcelticpark
Hello!
First, I want to say thank you for such a great project! Our team really enjoyed using it.
But now on the important part.
There are lots of open pull requests and issues with update to swift 2.2 probably being the most urgent to integrate.
So @hpique @dcharbonnier , would you mind going through the open pull requests and issues?
Thank you!
fromcelticpark
@fromcelticpark
Thank you for merging that requests!
dcharbonnier
@dcharbonnier
Hi, I will have a look
@fromcelticpark I don't see a PR for swift 2.2
fromcelticpark
@fromcelticpark
@dcharbonnier well, actually you've already merged it haha - Haneke/HanekeSwift#297
dcharbonnier
@dcharbonnier
;-)
Artyom
@Gladkov-Art
Hello! Haneke impressed me a lot, so I'm considering using it in new project. But the current state of issues/pull requests makes me worried. Can anybody say, does the project still maintained by the core members?
Okan Koçyiğit
@okankocyigit
hello, any news about swift3?
dcharbonnier
@dcharbonnier
@okankocyigit there is a branch, I also made a PR for 2.3 and when it's merged I will create a new 3.0 PR / tag
Hemant Singh
@hemant3370
what is pod command for swift 2.2 version?
what is the version for swift 2.2
pedrique
@pedrique
hello, could somebody please check pull request "Increment podspec version to 0.11.0 #398"?? version 0.10.1 is not working with xcode 8.2 and swift 3.0.1 when installed by pod
Hassan Gadou
@hgado11
Hello, what is pod command for swift 3
dcharbonnier
@dcharbonnier
@hgado11 sorry, for now cocoapod is unsupported, use carthage or a git url
Bar Ziony
@bartzy
Hello,
The readme states that it is using a LRU mechanism for cache eviction. I noticed that the library checked the file modification date, which for the cached files is just the creation date. So basically it means that this in not a LRU but a FIFO cache?
vipatronon
@vipatronon
Hello, I'm trying to add haneke into my project with cocoapod, but as soon as it finishes installing, when I try to buil, I got a lot of compiler errors from haneke