Apple Archive sample architecture
Source-backed, high-level architecture notes for Apple sample-code pages grouped in the Apple Archive folder.
- Catalog module label:
Apple Archive - Coverage: 3 / 3 sample pages documented
- Source policy: archive hashes and extracted-tree references are verified locally before analysis
Samples
| Sample | Platforms | High-level architecture | Documented patterns |
|---|---|---|---|
| Encrypting and Decrypting a Single File | macOS | A Swift sample centered on AppleEncryptedArchiveDemo, with direct use of AppleArchive, Cocoa, CryptoKit, System. |
— |
| Encrypting and Decrypting a String | macOS | A Swift sample centered on AppleEncryptedArchiveDemo, with direct use of AppleArchive, Cocoa, CryptoKit, System. |
— |
| Encrypting and Decrypting Directories | macOS | A Swift sample with the source-visible chain DirectoryEncryptionDecryptionApp → ContentView → AppleArchive APIs. |
Delegate or data-source callbacks |
Cross-sample signals
Recurring documented patterns
| Pattern label | Sample documents |
|---|
Type-role naming evidence
Counts below are declaration-name suffixes, not inferred patterns.
| Role suffix | Distinct declarations across samples |
|---|---|
App |
1 |
Delegate |
1 |
View |
1 |
Swift access-control evidence
These are declaration occurrences in scanned Swift source, including implicit internal declarations.
| Access level | Occurrences |
|---|---|
implicit internal |
83 |
private |
3 |
public |
2 |
References
Generated from the verified local catalog and completed Markdown documents.