Version: 2.0

Posted: 2009-10-14

Build Requirements: Xcode 3

Runtime Requirements: Mac OS X 10.5

View Source Code:

Download Sample Code (“DisplayURL.zip”, 20.9K)



Description

DisplayURL creates a CFURL and then uses CFURL functions to parse the CFURL and display its components. This is very useful for determining the exact behavior of the CFURL functions. DisplayURL accepts either a URL or path (from which a URL is created). DisplayURL allows you to create relative CFURLs and leave them relative, or make them absolute before parsing. And DisplayURL allows you to use the delete/append component and extension functions.

Document Revision History

Date Notes
2009-10-14Rewrote sample to use almost all of the CFURL parsing routines.
2005-10-04DisplayURL creates a CFURL and then uses CFURL functions to parse the CFURL and display its components.