Sample code for 30+ languages & platforms
Objective-C

Example: Http.GetDomain method

Demonstrates the GetDomain method.

Chilkat Objective-C Downloads

Objective-C
#import <CkoHttp.h>
#import <NSString.h>

CkoHttp *http = [[CkoHttp alloc] init];

NSString *domain = [http GetDomain: @"https://chilkatsoft.com/refdoc/csharp.asp"];
NSLog(@"%@",domain);

//  Output: chilkatsoft.com