iTunes API 的 Swift 实现 iTunesSwift

码农软件 · 软件分类 · 其他(Others) · 2019-07-23 06:44:20

软件介绍

iTunesSwift 是 Swift 实现的 iTunes API。

搜索:

import ITunesSwift

// Search All
ITunesSwift.findAll().by("search keyword").request { (result ,  error) in
    println(result)
}

// Search albums (Specifiable all media and entity. Media.Music, Entity.MusicArtist, Entity.Software etc...)
ITunesSwift.find(Entity.Album).by("search keyword").request { (result ,  error) in
    println(result)
}

// With Attributes
ITunesSwift.find(Entity.Album).by(Attribute.ArtistTerm, term: "artist name").request() { (result , error) in
    println(result)
}

// With limit
ITunesSwift.find(Entity.Album).by("search keyword").limit(10).request { (result ,  error) in
    println(result)
}

本文地址:https://www.codercto.com/soft/d/10735.html

Mobilizing Web Sites

Mobilizing Web Sites

Layon, Kristofer / 2011-12 / 266.00元

Everyone has been talking about the mobile web in recent years, and more of us are browsing the web on smartphones and similar devices than ever before. But most of what we are viewing has not yet bee......一起来看看 《Mobilizing Web Sites》 这本书的介绍吧!

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具