Port 65 lines of Javascript code to iOS Cocoa Touch

Port 65 lines of Javascript code to iOS Cocoa Touch

Write a component for iOS that implements an advert system as follows:

1. Component downloads data in JSON format from URL

2. This data is stored locally

3. Ads are rotated randomly

4. If a user clicks on a Advert, then advert text is displayed

5. Click data is sent back to server.

This can be implemented in 65 lines of Javascript (attached). I need this ported to iOS Cocoa Touch

Important features:

1. This is designed to be a component of another project, so the code should be packaged so

it can be "dropped in" to existing code, ideally as one class or package, with no dependencies.

Only the following properties should be public

- PublisherId : A numeric identifier of the publisher *

- ElementId: The visual element used to display adverts on the app *

- RotationInterval : Time between ads being displayed, default to 10 seconds

- AdvertRenderer: A delegate accepting a string that can be overridden by the developer to change how advert text is displayed

Only Properties marked (*) are mandatory

2. The system is designed to work offline - with no internet connection; this means

- If the download of JSON data fails, then the most recent cached data should be used.

- If the click data cannot be sent back to the server, then it should be stored locally, until the device is online, then reported.

3. A readme file should be provided allowing a non-expert developer include this component in their iOS project.

Beceriler: Cocoa, iPhone, Javascript, Mobile App Development

Daha fazlasını gör: write javascript code online, online format javascript, javascript download, ios delegate, ios 5 download, ios 5.1.1 download, ios 5.1.1, ios 4.3 download, i need developer ios to a project, how to be a ios developer, code offline, code code internet, write javascript online, online json format, javascript data format, ios developer download, in cocoa, ios project, ios port, ios download, javascript phone format, display url javascript, javascript format json display, json string, javascript connection

İşveren Hakkında:
( 43 değerlendirme ) derry, United Kingdom

Proje NO: #6509445



This is EASY, if there is no User Interface code needed. Because the javascript code you attached has no UI(except the rotation command) at all. If you need a user interface for the AD, this is another story with more Daha Fazla

%selectedBids___i_period_sub_7% gün içinde 30%project_currencyDetails_sign_sub_9% %project_currencyDetails_code_sub_10%
(0 Değerlendirme)

Bu iş için 3 freelancer ortalamada $28 teklif veriyor


Hello, I have read out your job description several times. & can do ur work.. We have well known team of huge members.. We are working in this field for 6-7 years and gain huge knowledge in this field..... I wil Daha Fazla

in %bids___i_period_sub_35% gün içinde35%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)

let's do it contact me for right solution its my first project I can negotiate

in %bids___i_period_sub_35% gün içinde18%project_currencyDetails_sign_sub_37% %project_currencyDetails_code_sub_38%
(0 Değerlendirme)