问题标签 [itunesu]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
124 浏览

xml - What is this special feed format?

I noticed some podcasts in iTunes have a different sort of feed. For example:

https://itunes.apple.com/us/course/exploring-the-hobbit/id598674517

has a feed that includes <itms:storelink> tags on some items, urls on other items:

https://itunesu.itunes.apple.com/WebObjects/LZDirectory.woa/ra/directory/courses/598674517/feed

What are these for, is this a sort of new url-shortening Apple invented?

Here is another podcast:

https://itunes.apple.com/WebObjects/DZR.woa/wa/viewPodcast?cc=us&mt=10&id=524106825

which links to a standard rss:

https://deimos.apple.com/WebObjects/Core.woa/Feed/umich-public-dz.15286326948.015286326950

So why are there two different formats on the same iTunesU service? Is this new format of feed with <itms:storelink> documented anywhere?

0 投票
0 回答
137 浏览

ios7 - IOS ItunesU搜索api?

我正在尝试在我的应用程序中嵌入 ItuensU 搜索功能。我的问题是我可以使用什么 api 来获得与用户从 Itunes 搜索中获得的结果完全相同的结果?提前致谢!

0 投票
4 回答
903 浏览

ios - CS193P 作业 1 π

我正在 iTunesU 上学习 CS193P 课程。我有一个与第一个作业有关的问题 - 可编程计算器。我尝试按照讲座和家庭作业中的说明添加 π 按钮。但是,按 π 键后跟 enter or 和操作数会导致崩溃并显示以下消息:“致命错误:在展开可选值时意外发现 nil”

我已经能够在视图控制器中强制它,但知道这是一个 hack:

我是 Swift / Obj-C 的新手。有人可以帮我指出正确的方向来解决这个问题吗?

完整来源:https ://github.com/philnewman/Calculator

0 投票
1 回答
119 浏览

ios - Flickr getTopPlacesList 返回 0

我发现一些帖子抱怨 Flickr API 标题中的方法不起作用。我发现的所有帖子都很旧,其中大多数都告诉我后来问题已经解决了。现在我正在尝试再次使用此方法(用于 iTunesU 斯坦福课程),但自昨天晚上以来它再次返回 0。其他任何人都遇到了这个问题,或者可以尝试调用该方法来查看我是否是唯一的?非常感谢各位的回答。。

0 投票
1 回答
955 浏览

ios - Swift 错误:条件绑定的初始化程序必须具有 Optional 类型,而不是 '()'

我正在参加 iTunes 大学的课程,名为“使用 Swift 开发 iOS 8 应用程序”。在第三个视频中,我遇到了一个视频中没有出现的问题,即使是相同的代码,如下:

在阅读了这个错误的许多解释后,我想问题来自这里:

如果你能帮助我,谢谢!