An instance of the
NKLibrary class represents the library of issues for a newsstand content application.
- iOS 5.0+
You create and add issues to the library by calling the
addIssue(withName:date:) method. and remove them from the library by calling the
removeIssue(_:) method. You can access all issues through the
issues property or request a specific issue by calling the
issue(withName:) method. For more information about the objects representing issues, see
downloadingAssets array holds any downloading assets for any issues. (A downloading asset is represented by a
NKAssetDownload object.) A newsstand content application should, when it launches, iterate through this array and call
download(with:) on each item to have the downloaded assets completely processed.
An application can maintain as many back issues of the library as it wants, in addition to the most current issue. The Newsstand Kit framework uses the dates of issues and whatever issue is assigned to the
currentlyReadingIssue property as hints in low disk space scenarios.