Skip to content

How to get Expired Object If Present Only? #98

@terasupernova

Description

@terasupernova

Hi, is there any method to get expired object only?

If i set returnExpiredObjectIfPresent = true In the following method,

open func object(forKey key: String, returnExpiredObjectIfPresent: Bool = false) -> T? {

will return me the whole object, then how to differentiate which object is expired or not ?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions