Apple Sample Code License
Also known as Apple Sample Source Code License, Apple-Sample-Code-License, apple-ascl, apple-sscl.
- Commercial use
- allowed
- Share alike
- not required
- Attribution
- required (keep the copyright and license notices)
Write this as a license text (needs an account) DALICC reads the model above and writes what it permits, requires and prohibits in plain English. Without an account, the Text download above writes the model out from the vocabulary.
Permissions
-
Change license by library convention Library convention: family rule 15: Permissive records permit relicensing. Replacing the license of the work, or of an adaptation, with another license, or changing its terms.
Duties
- Use a compliant license by library convention Library convention: family rule 15: Permissive records permit relicensing. Choosing a replacement license that stays compliant with the terms of the original license.
-
Commercial use from the text Using the work to generate income, directly or indirectly, for example by selling it or by using it in advertising.
-
Derivative works from the text Distributing an adaptation of the work and making it available to the public.
-
Derive from the text Creating a new work from the work, such as a translation, adaptation or arrangement of it or of a part of it.
Duties
- Modification notice from the text The text says: "If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple sample source code, but that you've made changes." Marking a changed work as changed, saying how it differs from the original and keeping earlier notices of change.
- Rename from the text Giving a modified or derived work a name that tells it apart from the original.
-
Duties
- Attribution from the text Giving credit to the copyright holders or authors of the work, in the form the licensor asks for.
- Modification notice from the text The text says: "If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple sample source code, but that you've made changes." Marking a changed work as changed, saying how it differs from the original and keeping earlier notices of change.
- Rename from the text Giving a modified or derived work a name that tells it apart from the original.
-
Modified works from the text Distributing a modified version of the work that does not amount to a new, derivative work.
-
Modify from the text Altering the work, for example by updating it, without creating a new work; an alteration that creates a new work is Derive.
Duties
- Modification notice from the text The text says: "If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple sample source code, but that you've made changes." Marking a changed work as changed, saying how it differs from the original and keeping earlier notices of change.
- Rename from the text Giving a modified or derived work a name that tells it apart from the original.
Prohibitions
This license states no prohibitions.
License-wide duties
This license states no duties that apply to the work as a whole.
What applies by default
The statements above are the library's reading of this license: each is marked with the sentence it rests on, or as a library convention where the text is not explicit. The statements below are the ones the DALICC reasoner supplies for acts the license says nothing about, from the default rules of the dependency graph it reasons with. Each one names the legal source it rests on. None of it is in the record.
-
Promote by default rule (adopted) Using the name or trademarks of the licensor or of contributors to endorse or promote a product.
This license says nothing about Promote, and the graph applies this reading in all jurisdictions it covers: it is not permitted unless the license permits it.
A licence that says nothing about endorsement is read as not allowing it: the licence gives the licensee no right to use the licensor's name or marks in a way that states or implies that the licensor endorses the licensee or its product, while stating truthfully that a work is based on or uses the licensed work is a different act that this rule does not decide. A copyright licence grants rights in the work, and the right to use a name or a trademark is a separate right under trademark law and the protection of names, which a silent copyright licence does not pass on. Combining a licence that is silent about endorsement with one that permits it shows a conflict marked as coming from this rule.
Basis Trademark and name rights are separate from copyright: Regulation (EU) 2017/1001 article 9 lets the proprietor of an EU trade mark prevent all third parties not having his consent from using the sign in the course of trade, and Directive (EU) 2015/2436 article 10, 15 U.S.C. 1114 and 1125(a), section 12 BGB and section 43 ABGB protect marks and names in the same way. The library's evidence is Creative Commons 4.0 section 2(b)(2): Patent and trademark rights are not licensed under this Public License. A copyright licence that is silent grants no right to use the licensor's name or marks to suggest endorsement (Worldwide)
Clauses
Warranty disclaimer
This Apple sample source code has been provided "AS IS" and the responsibility for its operation is yours.
Additional clauses
You may incorporate this Apple sample source code into your program(s) without restriction.
Info
- Target asset types
- Software
- Region / jurisdiction
- Worldwide
- Validity
- Perpetual
- Source
- https://developer.apple.com/support/downloads/terms/apple-sample-code/Apple-Sample-Code-License.pdf
- Legal code
- https://scancode-licensedb.aboutcode.org/apple-sscl.LICENSE
- This description is published under
- Creative Commons Attribution 4.0 International
- Publisher
- Apple Inc.
- SPDX identifier
apple-ascl(provisional, the record declares none)- DALICC identifier
Apple-Sample-Code-License
This record is published under CC BY 4.0. Credit it as: DALICC License Library, DALICC - Verein zur Förderung der Rechtssicherheit in der Datenbewirtschaftung, https://dalicc.net, CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). The license it describes belongs to its publisher.
Use this license
Everything below is generated from this record. Replace the example address with the address of your own work.
JSON sidecar
{
"license-uri": "https://dalicc.net/licenselibrary/Apple-Sample-Code-License",
"license-title": "Apple Sample Code License",
"spdx-id": null,
"attribution": "Copyright (c) [year] [copyright holder]",
"asset": null,
"generated-by": "DALICC"
}
RDF, Turtle
@prefix cc: <http://creativecommons.org/ns#> .
<https://example.org/my-work>
cc:license <https://dalicc.net/licenselibrary/Apple-Sample-Code-License> .
RDF, JSON-LD
{
"@context": {
"cc": "http://creativecommons.org/ns#"
},
"@id": "https://example.org/my-work",
"cc:license": {
"@id": "https://dalicc.net/licenselibrary/Apple-Sample-Code-License"
}
}
HTML attribution
<p>This work is licensed under <a href="https://dalicc.net/licenselibrary/Apple-Sample-Code-License" rel="license">Apple Sample Code License</a>.</p>
This license asks for attribution, so the credit line is part of it.
Badge
Markdown
[](https://dalicc.net/license-library/Apple-Sample-Code-License)
HTML
<a href="https://dalicc.net/license-library/Apple-Sample-Code-License"><img src="https://dalicc.net/license-library/Apple-Sample-Code-License/badge.svg" alt="License: Apple Sample Code License"></a>
Review
- Written from the license text by
- Giray Havur
- Written on
- 2026-09-22
- Second review
- not yet done
- Record changed since this review
- yes (version 2, 2026-09-24)
- Findings
- 10 recorded, 7 applied to the record, 0 proposed
Four sentences that let you put the sample source code into your own program without restriction, on the condition that a changed copy is not passed on under the original designation and that the source says where it came from. It is the shortest text of this family and the only one that licenses code rather than a model, although model repositories declare it. The record follows the permissive shape: relicensing is a permission with a compliant-licence duty, and the renaming condition is a duty on the acts that trigger it.
10 findings
-
info Rubric 1
dct:titleappliedFile name, record identifier and IRI local name agree. There is no SPDX identifier, so no spdx:licenseId triple is written. dct:title is the name of the document the publisher distributes; the heading the text itself carries, "Apple Sample Source Code License", and the two model-hub tags are in dct:alternative.
-
major Rubric 2
odrl:targetapplieddcmitype:Software alone. The text speaks only of "this Apple sample source code" and of incorporating it "into your program(s)", and it licenses no weights, no data and no documentation. This is the one record of the family that does not also carry dcmitype:Dataset; the asset types follow what the text licenses, not the kind of repository that declares it.
-
major Rubric 3
odrl:permissionappliedThe grant is "You may incorporate this Apple sample source code into your program(s) without restriction." Incorporation into another program covers copying, changing and passing the result on, so the record permits odrl:reproduce, odrl:distribute, odrl:modify, odrl:derive, cc:DerivativeWorks and dalicc:ModifiedWorks, and cc:CommercialUse because the grant names no limit of purpose. dalicc:ChangeLicense is permitted and carries dalicc:compliantLicense: the text lets the code travel inside your own program under your own terms, provided the two conditions below are met.
-
minor Rubric 4
odrl:prohibitionappliedThe record states no prohibition. There is no trademark or endorsement clause, so dalicc:promote is absent, which is unusual in this library and is stated here for that reason. The one bar the text does carry, "You are not permitted to redistribute this Apple sample source code as 'Apple sample source code' after having made changes", is a condition on how a changed copy is named, so it is modelled as the dalicc:rename duty rather than as a prohibition.
-
major Rubric 5
odrl:dutyappliedTwo duties on each of odrl:distribute, odrl:modify and odrl:derive. dalicc:rename comes from the bar on redistributing a changed copy under the original designation. dalicc:modificationNotice and cc:Attribution come from "If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple sample source code, but that you've made changes." cc:Attribution hangs on odrl:distribute only, because it is redistribution that the sentence addresses.
-
minor Rubric 6
dalicc:WarrantyDisclaimerapplieddalicc:WarrantyDisclaimer carries "This Apple sample source code has been provided "AS IS" and the responsibility for its operation is yours." There is no limitation-of- liability clause, so dalicc:LiabilityLimitation is left out rather than filled with the disclaimer. dalicc:additionalClauses carries the grant, the redistribution bar and the descended-from condition, one literal each. No long dash appears in the text.
-
minor Rubric 7
cc:jurisdictionappliedcc:jurisdiction is dalicc:worldwide and dalicc:validityType is dalicc:perpetual. The text names no territory, no governing law, no term and no termination clause, so dalicc:governingLaw and dalicc:terminatesOnBreach are left out.
-
gap Rubric 8
dalicc:additionalClausesnoneThe sentence "You are not permitted to redistribute this Apple sample source code as 'Apple sample source code' after having made changes" bars the use of the original designation for a changed copy. dalicc:rename says the changed work must be distinguishable, which is the effect, but the text is a bar on a designation rather than a duty to choose a new title. Quoted; the proposed term is dalicc:originalDesignationBar, a rule action for a licence that reserves its own naming for the unchanged work.
-
info Rubric 9
recordnoneThe consistency check of app.services.composer against dg_default returned an empty conflict list.
-
info Rubric 10
recordnoneFamily: the outlier of the model family. Every other record of the family carries a use restriction, a termination clause or an acceptable-use policy; this one carries none, and it is the only record whose target is software alone. Its nearest sibling in the library is the short permissive group, whose records also permit relicensing with a compliant- licence duty.
Report an issue The review record as JSON The review checks the model against the license text. It is not legal advice.
History
This license model has 2 versions. Version 2 is the one served today; every earlier version keeps its own address, so a conclusion drawn from one of them can still be checked against it.
-
Version 2 current2026-09-24 Giray Havur
The changes since version 1 recorded which sentence of the text each statement rests on and named the license the record itself is published under.
View version 2 JSON-LD Turtle RDF/XML
5 changes
-
changed
permission dalicc:ChangeLicense with duties [dalicc:compliantLicense]was
permission dalicc:ChangeLicense with duties [dalicc:compliantLicense]Manual edit The statement is marked as a library convention, family rule 15: Permissive records permit relicensing: the text does not state it in as many words. Its duty dalicc:compliantLicense is marked as a library convention, family rule 15: Permissive records permit relicensing.
-
changed
permission odrl:derive with duties [dalicc:modificationNotice, dalicc:rename]was
permission odrl:derive with duties [dalicc:modificationNotice, dalicc:rename]Manual edit Its duty dalicc:modificationNotice quotes "If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple sample source code, but that you've made changes."
-
changed
permission odrl:distribute with duties [cc:Attribution, dalicc:modificationNotice, dalicc:rename]was
permission odrl:distribute with duties [cc:Attribution, dalicc:modificationNotice, dalicc:rename]Manual edit Its duty dalicc:modificationNotice quotes "If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple sample source code, but that you've made changes."
-
changed
permission odrl:modify with duties [dalicc:modificationNotice, dalicc:rename]was
permission odrl:modify with duties [dalicc:modificationNotice, dalicc:rename]Manual edit Its duty dalicc:modificationNotice quotes "If you're going to re-distribute the source, we require that you make it clear in the source that the code was descended from Apple sample source code, but that you've made changes."
-
added
dct:license <https://creativecommons.org/licenses/by/4.0/>Manual edit Every record is published under CC BY 4.0. cc:license names the record DALICC keeps of that licence; dct:license now names it by the address Creative Commons publishes it at, so that a consumer matching the canonical IRI finds it.
-
-
Version 1
Created from the license text on 2026-09-22 (Model licences).
Every change names the reason behind it: a finding of the content review, one of its library-wide decisions, the metadata that review wrote onto every record, or a hand edit. None of it is legal advice.
Nothing on this page is legal advice. What a license means is decided by its text; ask a legal advisor before you rely on it.