Will Apple endorse an app that uses an unmodified code sample from the iPhone Developer Center?

I am writing a class that extends UIScrollView to display a large tiled image, and I realized that the TiledScrollView code example from Apple ScrollViewSuite does the same thing very well. Can I use their code, or should I write my own, even if it is ultimately strongly inspired by Apple code?

If that matters, I have no plans (at the moment) to monetize the application.

+3
source share
2 answers

Normally I would take the โ€œI'm not a lawyerโ€ route, but Apple is really understandable in its license. You can do whatever you want very well. You can, of course, use it in your products in any of the ways that you probably have in mind, and Apple encourages you to do so. The only limitations they actually have are standard BSD-style things: donโ€™t judge us, donโ€™t say that you are part of Apple, and โ€œif you redistribute Apple Software in its entirety and without changes, you must save this notice ... "(so do not remove their notice and do not post the source code on your website and do not pretend to write it).

Apple's sample code license is in the same area with BSD and MIT. Very reclined; easy to follow.

+5

, . ( ) Reachability , , .

+3

Source: https://habr.com/ru/post/1734728/


All Articles