init:from:withOutDir:andDelegate: Instance Method

- (id) init:(NSString *) lang from:(NSString *) baseUrl withOutDir:(NSString *) outDir andDelegate:(id<PxLanguageDownloaderDelegate>) delegate;

Creates a downloader for one language file.

Parameters

  • lang — The language code to download.
  • baseUrl — The base URL the language files are hosted under.
  • outDir — The directory to write the decrypted file into.
  • delegate — The delegate to receive progress and completion callbacks.

Return Value

The initialised downloader.

Top