Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Easily writing Bundles in Cocoa

Tags:

cocoa

bundle

How can I write bundles in Cocoa without much "fuzz" around it? I just want to have a bundle with an Info.plist, a Contents Folder, and that folder should contain a couple of files.

like image 417
Tristan Avatar asked Mar 22 '10 14:03

Tristan


1 Answers

If you are simply looking to create directories with Cocoa, check out NSFileManager. It has the method:

-createDirectoryAtPath:withIntermediateDirectories:attributes:error:

I also assume that you have read - Bundle Programming Guide

This guide will provide you with the complete anatomy of a bundle.

like image 50
ericg Avatar answered Sep 24 '22 15:09

ericg