Skip to content

CaptureContext/swift-package-resources

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

swift-package-resources

SwiftPM 5.8 Platforms @maximkrouk

Package with lightweight resources models for code generation. Originally created for spmgen.

Products

PackageResources

Product with the primary API, declares accessors for each resource type and some helpers. Unlike generated accessors, this module can be shared across multiple packages or targets without causing any ambiguity.

PackageResourcesCore

Product with resource model declarations, target that contains resources might not need to access them, so you can depend just on this product to declare static factories for resources to use them later with PackageResources product. Or you can use this product to create your own APIs.

Available declarations

  • PackageResources.Color (_ColorResource)
  • PackageResources.Font (_FontResource)
  • PackageResources.Image (_ImageResource)
  • PackageResources.Nib (_NibResource)
  • PackageResources.Storyboard (_StoryboardResource)
  • PackageResources.SCNScene (_SCNSceneResource)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages