SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler offline
Page 1.




HitFox SDK v1.1
iOS Integration Guide




                 Prepared by the
 HitFox App Discovery GmbH. Engineering Team
 © 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 2.




Introduction & Table of Contents

iOS SDK v1.1
The HitFox iOS SDK for Apple iOS provides integration of the HitFox Game Finder game browsing functionality. The
iOS SDK is provided in the form of a framework that you may simply include in your iOS project. Our SDK is
compatible with iPhone®, iPad® and iPod Touch® devices.


Introduction & Table of Contents

1. Compatibility

2. Download iOS SDK v1.1

3. Quick start




                                                       Prepared by the
                                       HitFox App Discovery GmbH. Engineering Team
                                       © 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 3.


1. Compatibility
    The iOS SDK is compatible with iOS 5.0 and above using Xcode 4.5. The SDK is compatible with ARC and non-
    ARC projects.




2. Download iOS SDK v1.1
    There is one download option for developers using the iOS SDK:

    Projects with target of iOS 5.0+ may use the:

    HitFoxFramework.embeddedframework



    Once you’ve downloaded the iOS SDK that is compatible with your mobile apps, decompress the .zip file and
copy the files to your development computer.




3. Quick start
                                                       Prepared by the
                                      HitFox App Discovery GmbH. Engineering Team
                                       © 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 4.

In Xcode, Build Phases -->Link Binary with Libraries, link the following files:

A. Add the HitFoxFramework.embeddedframework/HitFoxFramework.framework.
Tip: be sure to choose the plus to “add” the file to your project. This will create the necessary linking for a static
library in Xcode. Additionally, you can drag and drop the framework file into the list of libraries you want to link.




                                                      Prepared by the
                                     HitFox App Discovery GmbH. Engineering Team
                                      © 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 5.




                Prepared by the
HitFox App Discovery GmbH. Engineering Team
© 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 6.


B. Add the following Binary Libraries to your project:




                                                   Prepared by the
                                   HitFox App Discovery GmbH. Engineering Team
                                   © 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 7.


C. Link the Resources folder




                                               Prepared by the
                               HitFox App Discovery GmbH. Engineering Team
                               © 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 8.




                Prepared by the
HitFox App Discovery GmbH. Engineering Team
© 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 9.




D. Import GameList/DailyGift from the SDK
#import <HitFoxFramework/GamesList.h>
#import <HitFoxFramework/DailyGift.h>




E. Initialize the GamesList/DailyGift class
GamesList *gameList = [[GamesList alloc] !    !                    !       !       !
!     !    !    !    initWithSecret:@"app_secret"
                              appId:@"app_id"
!     !    !    !    !    andParams:nil];

DailyGift *gift = [[DailyGift alloc]
!     !    !    !    initWithSecret:@"app_secret"
!     !    !    !    !        appId:@"app_id"
!     !    !    !    !    andParams:nil];

Use your App Secret and App ID provided




                                                    Prepared by the
                                   HitFox App Discovery GmbH. Engineering Team
                                    © 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 10.




    F1. Get the Game List Controller
    UIViewController *viewController = [gameList getList];
    UINavigationController *navController = [[UINavigationController alloc]
    !     !    !    !    !    !    !    !    initWithRootViewController:viewController];



    F2. Get the DailyGift View
    UIView *giftView = [gift getGiftWithFrame:CGRectMake(0, 96, 320, 362)];
!   ViewController *viewController = [[ViewController alloc] initWithNibName:@"ViewController"
!   !     !    !    !    !    !    !    !    !    !    !    !    !    bundle:nil];
    [self.viewController.view addSubview:giftView];




    G. In your Target Build Settings




                                                       Prepared by the
                                       HitFox App Discovery GmbH. Engineering Team
                                       © 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 11.


H. Customize the colors
The library is configurable with the following colors:
UIColor         *gameListBackground;
UIColor         *gameListGameTitleLabel;
UIColor         *gameListFirstGameTitleLabel;
UIColor         *gameListFirstGamePriceLabel;
UIColor         *gameListFirstGamePriceDropLabel;
UIColor         *gameListGameAgoLabel;
UIColor         *gameListGamePriceLabel;
UIColor         *gameListGamePriceDropLabel;
UIColor         *gameListFilterLabel;
UIColor         *gameListFilterSelectedLabel;
UIColor         *gameDetailBackground;
UIColor         *gameDetailTitleLabel;
UIColor         *gameDetailPriceLabel;
UIColor         *gameDetailPriceDropLabel;
UIColor         *gameDetailImageSliderBackground;
UIColor         *gameDetailImageSliderBorder;
UIColor         *gameDetailInfoBackground;
UIColor         *gameDetailInfoTitleLabel;
UIColor         *gameDetailInfoValueLabel;
UIColor         *gameDetailInformationBackground;
UIColor         *gameDetailInformationTitleLabel;
UIColor         *gameDetailInformationValueLabel;
UIColor         *gameDetailReviewBackground;


                                                     Prepared by the
                                     HitFox App Discovery GmbH. Engineering Team
                                     © 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 12.

UIColor   *gameDetailReviewTitleLabel;
UIColor   *gameDetailReviewValueLabel;
UIColor   *gameDetailSummaryBackground;
UIColor   *gameDetailSummaryTitleLabel;
UIColor   *gameDetailSummaryText;
UIColor   *gameDetailPosNegBackground;
UIColor   *gameDetailPosNegText;
UIColor   *gameDetailRatingBackground;
UIColor   *gameDetailRatingTitleLabel;
UIColor   *gameDetailRatingText;
UIColor   *gameOfTheDayBackground;
UIColor   *gameOfTheDayNavigationTitle;
UIColor   *gameOfTheDayTitleLabel;
UIColor   *gameOfTheDayPriceLabel;
UIColor   *gameOfTheDayPriceDropLabel;
UIColor   *gameOfTheDayToTheGameButtonLabel;
UIColor   *gameOfTheDayToTheStoreButtonLabel;
UIColor   *colorForCategoryGreen;
UIColor   *colorForCategoryRed;
UIColor   *colorForCategoryViolet;
UIColor   *colorForCategoryBlue;
UIColor   *colorForCategoryYellow;
UIColor   *colorForCategoryTurquoise;




                                           Prepared by the
                          HitFox App Discovery GmbH. Engineering Team
                           © 2012 - 2013 HitFox, GmbH. | All rights reserved
Page 13.

For example, create a NSMutableDictionary with the desired key/value combinations and pass it to the library
initialization method:
NSMutableDictionary *params = [[NSMutableDictionary alloc] init];
[params setObject:[UIColor greenColor] forKey:@"colorForCategoryGreen"];
[params setObject:[UIColor redColor] forKey:@"colorForCategoryRed"];
[params setObject:[UIColor purpleColor] forKey:@"colorForCategoryViolet"];
[params setObject:[UIColor blueColor] forKey:@"colorForCategoryBlue"];
[params setObject:[UIColor yellowColor] forKey:@"colorForCategoryYellow"];
[params setObject:[UIColor grayColor] forKey:@"colorForCategoryTurquoise"];

then call:

GamesList *gameList = [[GamesList alloc] initWithSecret:@"app_secret"
                                                  appId:@"app_id"
                                              andParams:params];

or
DailyGift *gift = [[DailyGift alloc] initWithSecret:@"app_secret"
!     !    !    !    !        !!    !    !     appId:@"app_id"
!     !    !    !    !    !    !    !      andParams:params];




                                                   Prepared by the
                                   HitFox App Discovery GmbH. Engineering Team
                                   © 2012 - 2013 HitFox, GmbH. | All rights reserved

Mais conteúdo relacionado

Destaque

WebSphere Portal & User Experience
WebSphere Portal & User ExperienceWebSphere Portal & User Experience
WebSphere Portal & User ExperienceAndrea Fontana
 
Corso Ecommerce Magentiamo 2015, Montalti - "Funzionalità avanzate: integrazi...
Corso Ecommerce Magentiamo 2015, Montalti - "Funzionalità avanzate: integrazi...Corso Ecommerce Magentiamo 2015, Montalti - "Funzionalità avanzate: integrazi...
Corso Ecommerce Magentiamo 2015, Montalti - "Funzionalità avanzate: integrazi...Alessandro Montalti
 
AIESEC BANGALORE :Gapbridge software Pvt Ltd
AIESEC BANGALORE :Gapbridge software Pvt LtdAIESEC BANGALORE :Gapbridge software Pvt Ltd
AIESEC BANGALORE :Gapbridge software Pvt LtdGurupreet Kaushik
 
How to install IBM Connections in a Coffe Break
How to install IBM Connections in a Coffe BreakHow to install IBM Connections in a Coffe Break
How to install IBM Connections in a Coffe BreakAndrea Fontana
 
.docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c....docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c...Andrea Fontana
 

Destaque (9)

WebSphere Portal & User Experience
WebSphere Portal & User ExperienceWebSphere Portal & User Experience
WebSphere Portal & User Experience
 
AIESEC BANGALROE : Envizon
AIESEC BANGALROE : EnvizonAIESEC BANGALROE : Envizon
AIESEC BANGALROE : Envizon
 
Corso Ecommerce Magentiamo 2015, Montalti - "Funzionalità avanzate: integrazi...
Corso Ecommerce Magentiamo 2015, Montalti - "Funzionalità avanzate: integrazi...Corso Ecommerce Magentiamo 2015, Montalti - "Funzionalità avanzate: integrazi...
Corso Ecommerce Magentiamo 2015, Montalti - "Funzionalità avanzate: integrazi...
 
AIESEC BANGALORE :Gapbridge software Pvt Ltd
AIESEC BANGALORE :Gapbridge software Pvt LtdAIESEC BANGALORE :Gapbridge software Pvt Ltd
AIESEC BANGALORE :Gapbridge software Pvt Ltd
 
Embrace His Grace
Embrace His GraceEmbrace His Grace
Embrace His Grace
 
How to install IBM Connections in a Coffe Break
How to install IBM Connections in a Coffe BreakHow to install IBM Connections in a Coffe Break
How to install IBM Connections in a Coffe Break
 
.docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c....docker : how to deploy Digital Experience in a container drinking a cup of c...
.docker : how to deploy Digital Experience in a container drinking a cup of c...
 
Itc hotels
Itc hotelsItc hotels
Itc hotels
 
Chuong v
Chuong vChuong v
Chuong v
 

Semelhante a Hit fox framework v1.1

Devoxx 2010: Develop mobile applications with Flex
Devoxx 2010: Develop mobile applications with FlexDevoxx 2010: Develop mobile applications with Flex
Devoxx 2010: Develop mobile applications with FlexMichael Chaize
 
#MBLTdev: Преимущества использования Intel INDE для кросс-ОС разработки на пр...
#MBLTdev: Преимущества использования Intel INDE для кросс-ОС разработки на пр...#MBLTdev: Преимущества использования Intel INDE для кросс-ОС разработки на пр...
#MBLTdev: Преимущества использования Intel INDE для кросс-ОС разработки на пр...e-Legion
 
Flash Platform for Devices
Flash Platform for DevicesFlash Platform for Devices
Flash Platform for DevicesSerge Jespers
 
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...OPITZ CONSULTING Deutschland
 
Dojo mobile web5-2013
Dojo mobile web5-2013Dojo mobile web5-2013
Dojo mobile web5-2013cjolif
 
Using Edge Animate to Create a Reusable Component Set
Using Edge Animate to Create a Reusable Component SetUsing Edge Animate to Create a Reusable Component Set
Using Edge Animate to Create a Reusable Component SetJoseph Labrecque
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash PlatformMihai Corlan
 
How to start designing for Apple Vision Pro
How to start designing for Apple Vision ProHow to start designing for Apple Vision Pro
How to start designing for Apple Vision ProPixeldarts
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Himanshu Sharan
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Himanshu Sharan
 
Over the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for AndroidOver the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for AndroidMichael Chaize
 
Starting mobile development
Starting mobile developmentStarting mobile development
Starting mobile developmentMihai Corlan
 
How to develop a Flutter app.pdf
How to develop a Flutter app.pdfHow to develop a Flutter app.pdf
How to develop a Flutter app.pdfSmith Daniel
 
Flutter festival gdsc juet guna
Flutter festival   gdsc juet gunaFlutter festival   gdsc juet guna
Flutter festival gdsc juet gunaSachinVerma869778
 
Python on Android with Delphi FMX - The Cross Platform GUI Framework
Python on Android with Delphi FMX - The Cross Platform GUI Framework Python on Android with Delphi FMX - The Cross Platform GUI Framework
Python on Android with Delphi FMX - The Cross Platform GUI Framework Embarcadero Technologies
 
Swift Or Dart: Which One is the Most Viable Choice for iOS App Development!
Swift Or Dart: Which One is the Most Viable Choice for iOS App Development!					Swift Or Dart: Which One is the Most Viable Choice for iOS App Development!
Swift Or Dart: Which One is the Most Viable Choice for iOS App Development! Shelly Megan
 
iPhone/iPad Development with Titanium
iPhone/iPad Development with TitaniumiPhone/iPad Development with Titanium
iPhone/iPad Development with TitaniumAxway Appcelerator
 
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CA
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CAAppcelerator iPhone/iPad Dev Con 2010 San Diego, CA
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CAJeff Haynie
 

Semelhante a Hit fox framework v1.1 (20)

Devoxx 2010: Develop mobile applications with Flex
Devoxx 2010: Develop mobile applications with FlexDevoxx 2010: Develop mobile applications with Flex
Devoxx 2010: Develop mobile applications with Flex
 
#MBLTdev: Преимущества использования Intel INDE для кросс-ОС разработки на пр...
#MBLTdev: Преимущества использования Intel INDE для кросс-ОС разработки на пр...#MBLTdev: Преимущества использования Intel INDE для кросс-ОС разработки на пр...
#MBLTdev: Преимущества использования Intel INDE для кросс-ОС разработки на пр...
 
Flash Platform for Devices
Flash Platform for DevicesFlash Platform for Devices
Flash Platform for Devices
 
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
ioS Einstieg und Ausblick - Mobile DevCon Hamburg 2011 - OPITZ CONSULTING - S...
 
Dojo mobile web5-2013
Dojo mobile web5-2013Dojo mobile web5-2013
Dojo mobile web5-2013
 
Using Edge Animate to Create a Reusable Component Set
Using Edge Animate to Create a Reusable Component SetUsing Edge Animate to Create a Reusable Component Set
Using Edge Animate to Create a Reusable Component Set
 
Android Development with Flash Platform
Android Development with Flash PlatformAndroid Development with Flash Platform
Android Development with Flash Platform
 
How to start designing for Apple Vision Pro
How to start designing for Apple Vision ProHow to start designing for Apple Vision Pro
How to start designing for Apple Vision Pro
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
 
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
Multi-platform Compatibility of HTML5 by developing simple HTML5 based game(M...
 
Over the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for AndroidOver the air 2.5 - Adobe AIR for Android
Over the air 2.5 - Adobe AIR for Android
 
Starting mobile development
Starting mobile developmentStarting mobile development
Starting mobile development
 
How to develop a Flutter app.pdf
How to develop a Flutter app.pdfHow to develop a Flutter app.pdf
How to develop a Flutter app.pdf
 
MSR iOS Tranining
MSR iOS TraniningMSR iOS Tranining
MSR iOS Tranining
 
Flutter festival gdsc juet guna
Flutter festival   gdsc juet gunaFlutter festival   gdsc juet guna
Flutter festival gdsc juet guna
 
Python on Android with Delphi FMX - The Cross Platform GUI Framework
Python on Android with Delphi FMX - The Cross Platform GUI Framework Python on Android with Delphi FMX - The Cross Platform GUI Framework
Python on Android with Delphi FMX - The Cross Platform GUI Framework
 
Swift Or Dart: Which One is the Most Viable Choice for iOS App Development!
Swift Or Dart: Which One is the Most Viable Choice for iOS App Development!					Swift Or Dart: Which One is the Most Viable Choice for iOS App Development!
Swift Or Dart: Which One is the Most Viable Choice for iOS App Development!
 
Flex mobile for JUG
Flex mobile for JUGFlex mobile for JUG
Flex mobile for JUG
 
iPhone/iPad Development with Titanium
iPhone/iPad Development with TitaniumiPhone/iPad Development with Titanium
iPhone/iPad Development with Titanium
 
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CA
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CAAppcelerator iPhone/iPad Dev Con 2010 San Diego, CA
Appcelerator iPhone/iPad Dev Con 2010 San Diego, CA
 

Último

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 

Último (20)

Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 

Hit fox framework v1.1

  • 1. Page 1. HitFox SDK v1.1 iOS Integration Guide Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 2. Page 2. Introduction & Table of Contents iOS SDK v1.1 The HitFox iOS SDK for Apple iOS provides integration of the HitFox Game Finder game browsing functionality. The iOS SDK is provided in the form of a framework that you may simply include in your iOS project. Our SDK is compatible with iPhone®, iPad® and iPod Touch® devices. Introduction & Table of Contents 1. Compatibility 2. Download iOS SDK v1.1 3. Quick start Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 3. Page 3. 1. Compatibility The iOS SDK is compatible with iOS 5.0 and above using Xcode 4.5. The SDK is compatible with ARC and non- ARC projects. 2. Download iOS SDK v1.1 There is one download option for developers using the iOS SDK: Projects with target of iOS 5.0+ may use the: HitFoxFramework.embeddedframework Once you’ve downloaded the iOS SDK that is compatible with your mobile apps, decompress the .zip file and copy the files to your development computer. 3. Quick start Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 4. Page 4. In Xcode, Build Phases -->Link Binary with Libraries, link the following files: A. Add the HitFoxFramework.embeddedframework/HitFoxFramework.framework. Tip: be sure to choose the plus to “add” the file to your project. This will create the necessary linking for a static library in Xcode. Additionally, you can drag and drop the framework file into the list of libraries you want to link. Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 5. Page 5. Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 6. Page 6. B. Add the following Binary Libraries to your project: Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 7. Page 7. C. Link the Resources folder Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 8. Page 8. Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 9. Page 9. D. Import GameList/DailyGift from the SDK #import <HitFoxFramework/GamesList.h> #import <HitFoxFramework/DailyGift.h> E. Initialize the GamesList/DailyGift class GamesList *gameList = [[GamesList alloc] ! ! ! ! ! ! ! ! ! initWithSecret:@"app_secret" appId:@"app_id" ! ! ! ! ! andParams:nil]; DailyGift *gift = [[DailyGift alloc] ! ! ! ! initWithSecret:@"app_secret" ! ! ! ! ! appId:@"app_id" ! ! ! ! ! andParams:nil]; Use your App Secret and App ID provided Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 10. Page 10. F1. Get the Game List Controller UIViewController *viewController = [gameList getList]; UINavigationController *navController = [[UINavigationController alloc] ! ! ! ! ! ! ! ! initWithRootViewController:viewController]; F2. Get the DailyGift View UIView *giftView = [gift getGiftWithFrame:CGRectMake(0, 96, 320, 362)]; ! ViewController *viewController = [[ViewController alloc] initWithNibName:@"ViewController" ! ! ! ! ! ! ! ! ! ! ! ! ! ! bundle:nil]; [self.viewController.view addSubview:giftView]; G. In your Target Build Settings Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 11. Page 11. H. Customize the colors The library is configurable with the following colors: UIColor *gameListBackground; UIColor *gameListGameTitleLabel; UIColor *gameListFirstGameTitleLabel; UIColor *gameListFirstGamePriceLabel; UIColor *gameListFirstGamePriceDropLabel; UIColor *gameListGameAgoLabel; UIColor *gameListGamePriceLabel; UIColor *gameListGamePriceDropLabel; UIColor *gameListFilterLabel; UIColor *gameListFilterSelectedLabel; UIColor *gameDetailBackground; UIColor *gameDetailTitleLabel; UIColor *gameDetailPriceLabel; UIColor *gameDetailPriceDropLabel; UIColor *gameDetailImageSliderBackground; UIColor *gameDetailImageSliderBorder; UIColor *gameDetailInfoBackground; UIColor *gameDetailInfoTitleLabel; UIColor *gameDetailInfoValueLabel; UIColor *gameDetailInformationBackground; UIColor *gameDetailInformationTitleLabel; UIColor *gameDetailInformationValueLabel; UIColor *gameDetailReviewBackground; Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 12. Page 12. UIColor *gameDetailReviewTitleLabel; UIColor *gameDetailReviewValueLabel; UIColor *gameDetailSummaryBackground; UIColor *gameDetailSummaryTitleLabel; UIColor *gameDetailSummaryText; UIColor *gameDetailPosNegBackground; UIColor *gameDetailPosNegText; UIColor *gameDetailRatingBackground; UIColor *gameDetailRatingTitleLabel; UIColor *gameDetailRatingText; UIColor *gameOfTheDayBackground; UIColor *gameOfTheDayNavigationTitle; UIColor *gameOfTheDayTitleLabel; UIColor *gameOfTheDayPriceLabel; UIColor *gameOfTheDayPriceDropLabel; UIColor *gameOfTheDayToTheGameButtonLabel; UIColor *gameOfTheDayToTheStoreButtonLabel; UIColor *colorForCategoryGreen; UIColor *colorForCategoryRed; UIColor *colorForCategoryViolet; UIColor *colorForCategoryBlue; UIColor *colorForCategoryYellow; UIColor *colorForCategoryTurquoise; Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved
  • 13. Page 13. For example, create a NSMutableDictionary with the desired key/value combinations and pass it to the library initialization method: NSMutableDictionary *params = [[NSMutableDictionary alloc] init]; [params setObject:[UIColor greenColor] forKey:@"colorForCategoryGreen"]; [params setObject:[UIColor redColor] forKey:@"colorForCategoryRed"]; [params setObject:[UIColor purpleColor] forKey:@"colorForCategoryViolet"]; [params setObject:[UIColor blueColor] forKey:@"colorForCategoryBlue"]; [params setObject:[UIColor yellowColor] forKey:@"colorForCategoryYellow"]; [params setObject:[UIColor grayColor] forKey:@"colorForCategoryTurquoise"]; then call: GamesList *gameList = [[GamesList alloc] initWithSecret:@"app_secret" appId:@"app_id" andParams:params]; or DailyGift *gift = [[DailyGift alloc] initWithSecret:@"app_secret" ! ! ! ! ! !! ! ! appId:@"app_id" ! ! ! ! ! ! ! ! andParams:params]; Prepared by the HitFox App Discovery GmbH. Engineering Team © 2012 - 2013 HitFox, GmbH. | All rights reserved