Retrieve PDFs from a server using NSURLConnection.
Start by reading the
class reference doc.
At the top of that doc you'll see a link to a
Companion guide. You'll need to read that, too. In fact, you should probably read it first.
You'll also see links to
Related sample code. Use those as examples of how to use the class.
You don't need to register a domain-name, nor use a hosting service, if all you're doing is providing downloadable files for your app. You can, but it's not necessary. Simply upload files to a storage service like S3, and put the URLs in your app. See this other thread:
https://forums.macrumors.com/threads/1222160/
To avoid having to update your app when the URLs change, you can write your app so it loads one file from S3 containing a list of other URLs to download. The URL of the list doesn't change, so you can safely put that URL in your app. The contents of the list changes, but it's on S3, not built into your app. So you can change the contents of the list without updating your app on the App Store. The list can easily be in plist format.
Before doing any of this, however, I recommend calculating what it would cost you to provide this content on S3, and compare that cost to what it costs you to have Apple host it on the App Store. If the number of files is large, or the files are large, or the number of users is large, then you could end up paying more in download fees than you take in from the app. I suggest using S3's pricing, because it's one of the less expensive file-hosting services. If the cost analysis is negative for S3, then it's unlikely to be any better from any other provider.