The full pathname of the bundle’s subdirectory containing resources.
SDKs
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Foundation
Declaration
var resourcePath: String? { get }
The full pathname of the bundle’s subdirectory containing resources.
SDKs
Framework
var resourcePath: String? { get }
var resource URL: URL?
The file URL of the bundle’s subdirectory containing resource files.
var executable URL: URL?
The file URL of the receiver's executable file.
var private Frameworks URL: URL?
The file URL of the bundle’s subdirectory containing private frameworks.
var shared Frameworks URL: URL?
The file URL of the receiver's subdirectory containing shared frameworks.
var built In Plug Ins URL: URL?
The file URL of the receiver's subdirectory containing plug-ins.
func url(for Auxiliary Executable: String) -> URL?
Returns the file URL of the executable with the specified name in the receiver’s bundle.
var shared Support URL: URL?
The file URL of the bundle’s subdirectory containing shared support files.
var app Store Receipt URL: URL?
The file URL for the bundle’s App Store receipt.
var executable Path: String?
The full pathname of the receiver's executable file.
var private Frameworks Path: String?
The full pathname of the bundle’s subdirectory containing private frameworks.
var shared Frameworks Path: String?
The full pathname of the bundle’s subdirectory containing shared frameworks.
var built In Plug Ins Path: String?
The full pathname of the receiver's subdirectory containing plug-ins.
func path(for Auxiliary Executable: String) -> String?
Returns the full pathname of the executable with the specified name in the receiver’s bundle.
var shared Support Path: String?
The full pathname of the bundle’s subdirectory containing shared support files.