开发者

Would Apple approve an app that uses unmodified sample code from the iPhone developer center? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
开发者_如何学JAVA

Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.

Closed 3 years ago.

Improve this question

I'm writing a class that extends a UIScrollView to display a large tiled image, and I've realized that the TiledScrollView from Apple's ScrollViewSuite sample code does the same thing very well. Can I use their code, or do I have to write my own, even if it ends up heavily inspired by Apple's code?

If it makes a difference, I don't have any plans (at the moment) to monetize the app.


Typically I would take the "I am not a lawyer" route, but Apple really is quite clear in their license. You can pretty well do whatever you want with it. You can certainly use it in your products in any of the ways you likely have in mind, and Apple encourages you to do so. The only restrictions they really have in there are standard BSD-style things: don't sue us, don't say you're part of Apple, and "if you redistribute the Apple Software in its entirety and without modifications, you must retain this notice..." (so don't strip off their notice and put the source code on your web site and pretend you wrote it).

Apple's example code license is in the same realm with BSD and MIT. Very laid back; easy to comply with.


I don't think they care. A lot of developers (myself included) include the Reachability sample in their code and it hasn't caused any rejections that I'm aware of.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜