pathsForResourcesOfType
pathsForResourcesOfType
- Subject: pathsForResourcesOfType
- From: "Dr. H. Nikolaus Schaller" <email@hidden>
- Date: Sat, 7 Sep 2002 00:44:41 +0200
Hi,
I am trying to get a list of all my plugins (e.g. something.bundle) in
the PlugIns bundle directory by using
[NSBundle pathsForResourcesOfType:@"bundle" inDirectory:@"PlugIns"]
but get a nil return value. Any hints, examples?
I have also tried the instance method version - this returns all
resources if I make inDirectory:nil but
fails to return anything outside of Resources.
Finally, there is the
[bundle builtInPlugInsPath]
method, but this returns the full path, which also seems to be
inapproproate to be used in inDirectory:
(and is not fitting with the Documentation).
Many thanks,
HNS
+-------------------+
! email@hidden !
+-------------------+
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.