This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // GetIPAddress.swift | |
| // | |
| // Created by @camyoh | |
| // | |
| // MIT License | |
| // | |
| // Copyright (c) 2025 @camyoh | |
| // | |
| // Permission is hereby granted, free of charge, to any person obtaining a copy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| Goal: have a properly localized date (month/day in the correct order), yet | |
| have a custom date component separator. | |
| Example as follows: | |
| */ | |
| NSLocale *usLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"]; | |
| NSLocale *gbLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_GB"]; | |
| NSLocale *deLocale = [[NSLocale alloc] initWithLocaleIdentifier:@"de_DE"]; |