Dibatalkan

XCode library for location (region format) aware links

Your task would be to create a library function that we can integrate into all our apps to handle location aware links.

The library would need to check the region format setting of the device that the app is running on and depending on that setting return corresponding links. So that users with a region setting of great britain would get a different link than users with a setting of Australia or United States.

In addition to this the library has to be able to update its link list. For this feature we will store Files on our Websever ([url removed, login to view]) and the library will need some kind of "update" function the app can trigger. Causing the library to download a file with the new links in it.

The links should be identifiable by a symbolic name or id. So the function can be called with the identifier as a parameter and returns the link as a string.

We will provide a list of region format / link pairs and a default link. If the active region setting is in the list the function returns the corresponding link. If the region is not in the list the default value from the list is returned. If the active region is not in the list and there is no default link in the list for the requested product "[url removed, login to view]" should be returned.

The list could look like this (you can choose a different list structure if this structure does not fit your needs):

<?xml version="1.0" encoding="utf-8"?>

<products>

<default link="[url removed, login to view]">thebinaryfamily [url removed, login to view]</default>

<product id="crossword">

<region format="default" link="[url removed, login to view]"></region>

<region format="de_DE" link="[url removed, login to view]"></region>

<region format="uk_UK" link="[url removed, login to view];a=2078367"></region>

<region format="au_AU" link="[url removed, login to view];z=s&amp;v=4169760"></region>

<region format="us_US" link="[url removed, login to view]"></region>

<region format="fr_FR" link="[url removed, login to view];a=2081034"></region>

</product>

<product id="iqtest">

<region format="default" link="[url removed, login to view]"></region>

<region format="de_DE" link="[url removed, login to view]"></region>

<region format="uk_UK" link="[url removed, login to view];a=2078367"></region>

<region format="au_AU" link="[url removed, login to view];z=s&amp;v=4169761"></region>

<region format="us_US" link="[url removed, login to view]"></region>

<region format="fr_FR" link="[url removed, login to view];a=2081034"></region>

</product>

<product id="summersolitaire">

<region format="default" link="[url removed, login to view]"></region>

<region format="de_DE" link="[url removed, login to view]"></region>

<region format="uk_UK" link="[url removed, login to view];a=2078367"></region>

<region format="au_AU" link="[url removed, login to view];z=s&amp;v=4169762"></region>

<region format="us_US" link="[url removed, login to view]"></region>

<region format="fr_FR" link="[url removed, login to view];a=2081034"></region>

</product>

</products>

The function has to be flexible enough to handle updates with more &lt;region&gt; entries and more &lt;products&gt; in an update process.

We need no visual representation, just the functions.

Kemahiran: iPhone, Mobile App Development, Objective C, XML

Lihat lebih lanjut: region format xcode, xcode location region, create region xcode, xcode format setting, update xcode, string library, stat c, c stat, list library, xcode c, xcode, symbolic, stat task, name format, location, library, location aware app, format phone app, task name product, location feature, aware, mobile library, library app, link device, product entries

Tentang Majikan:
( 6 ulasan ) Berlin, Germany

ID Projek: #1590376

1 pekerja bebas membida secara purata $150 untuk pekerjaan ini

Kareeminfotech

PLEASE CHECK PMB

$150 USD dalam 3 hari
(0 Ulasan)
0.0