-1

I need to be able to parse keynote bundles. Do they work like directories, that is, will most languages treat them as a folder?

EricZee
  • 31
  • 4
  • I think there have been multiple different keynote file designs, but OS X does recognize some folder structures as a "bundle". This isn't really a language question though, more of how a file is store on the file system. Use Terminal to see if it is a file or a directory. – Alexander O'Mara Jul 20 '15 at 19:38
  • Thanks that is good idea. – EricZee Jul 22 '15 at 04:18

1 Answers1

0

There's nothing about a "language" treating a bundle as a folder or a file. That's the job of the OS. Mac OS X see bundles as directories, however, Finder treats some bundle as a file. You can test this using command line tools:

cd MyFile.key

Every language, including Apple-made ones like Swift and Objective-C, see them as regular folders. In addition, Apple also provides some tools to deal with bundles, check out the NSBundle class reference.

Code Different
  • 90,614
  • 16
  • 144
  • 163