Resource
Resources are files (images, XML files), etc. that need to be uploaded to a website for the Website to function. For instance, the image element uploads a small magnifying glass; a pagelet may need a javascript file to be uploaded to the site.
Resources are all uploaded to the _Resources directory in the root of their site.
Plugins can specify which resources are needed either in their code, or by specifying KTPluginResourcesNeeded in the Info.plist.
If you don't know the resources to add until runtime, you can define this method in your delegate:
- (void)addResourcesToSet:(NSMutableSet *)aSet forPage:(KTPage *)aPage;
