GithubHelp home page GithubHelp logo

isabella232 / salesforcemobilesdk-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fullcontact/salesforcemobilesdk-ios

0.0 0.0 0.0 277.83 MB

Force.com mobile SDK for iOS applications

Home Page: https://github.com/forcedotcom/SalesforceMobileSDK-iOS

License: Other

Ruby 0.88% Swift 0.51% Objective-C 95.82% JavaScript 1.00% Shell 0.71% C 0.21% Python 0.88%

salesforcemobilesdk-ios's Introduction

Build Status

Salesforce.com Mobile SDK for iOS

You have arrived at the source repository for the Salesforce Mobile SDK for iOS. Welcome! Starting with our 2.0 release, there are now three ways you can choose to work with the Mobile SDK:

  • If you'd like to work with the source code of the SDK itself, you've come to the right place! You can browse sample app source code and debug down through the layers to get a feel for how everything works under the covers. Read on for instructions on how to get started with the SDK in your development environment.
  • If you're just eager to start developing your own new application, the quickest way is to use our npm binary distribution package, called forceios, which is hosted on npmjs.org. Getting started is as simple as installing the npm package and launching your template app. You'll find more details on the forceios package page.

Installation (do this first - really)

Working with this repository requires working with git. Any workflow that leaves you with a functioning git clone of this repository should set you up for success. Downloading the ZIP file from GitHub, on the other hand, is likely to put you at a dead end.

Setting up the repo

First, clone the repo:

  • Open the Terminal App
  • cd to the parent directory where the repo directory will live
  • git clone https://github.com/forcedotcom/SalesforceMobileSDK-iOS.git

After cloning the repo:

  • cd SalesforceMobileSDK-iOS
  • ./install.sh

This script pulls the submodule dependencies from GitHub, to finalize setup of the workspace. You can then work with the Mobile SDK by opening SalesforceMobileSDK.xcworkspace from Xcode.

See build.md for information on generating binary distributions and app templates.

The Salesforce Mobile SDK for iOS requires iOS 8.0 or greater. The install.sh script checks for this, and aborts if the configured SDK version is incorrect. Building from the command line has been tested using ant 1.8. Older versions might work, but we recommend using the latest version of ant.

If you have problems building any of the projects, take a look at the online FAQ for troubleshooting tips.

Introduction

What's New in 4.1

SmartStore Enhancements

  • SmartStore now allows internal (non-leaf) nodes in index paths. This feature is useful in LIKE and MATCH queries.
  • SmartStore now allows arrays in compound index paths.

Library Upgrades

  • We've updated React Native to version 0.20.

Other Technical Improvements

  • We've removed the Settings bundle. If your users relied on Settings to log out, you can recover that functionality by implementing your own logout button.
  • You no longer use Settings to set custom login hosts. Instead, you can add custom login hosts at runtime from the login screen.
  • Improvements to sample apps.
  • Various bug fixes.

Check http://developer.force.com/mobilesdk for additional articles and tutorials.

Native Applications

The Salesforce Mobile SDK provides the essential libraries for quickly building native mobile apps that interact with the Salesforce cloud platform. The OAuth2 library abstracts away the complexity of securely storing the refresh token or fetching a new session ID when it expires. The SDK also provides Objective-C wrappers for the Salesforce REST API, making it easy to retrieve and manipulate data.

Hybrid Applications

HTML5 is quickly emerging as a powerful technology for developing cross-platform mobile applications. While developers can create sophisticated apps with HTML5 and JavaScript alone, some vital limitations remain, specifically: session management and universal access to native device functionality like the camera, calendar and address book. The Salesforce Mobile Container (based on the industry-leading PhoneGap implementation) makes it possible to embed HTML5 apps stored on the device or delivered via Visualforce inside a thin native container, producing a hybrid application.

Application Templates

The Mobile SDK provides the means to generate your new app from a template, to quickly construct the foundation of native and hybrid applications. These apps come with a fully functioning demo app, as well as configurable Settings bundles that allow the user to log out of the app or switch between Production and Sandbox orgs. See build.md for more information on how to generate and use the templates.

Native App Template For native apps that need to access the Salesforce REST API, create your app using the native template. The template includes a default AppDelegate implementation that you can customize to perform any app-specific interaction.

Hybrid App Template To create hybrid apps that use the Salesforce REST API or access Visualforce pages, create your app using the hybrid app template. By providing the SalesforceOAuthPlugin for our PhoneGap-based container, HTML5 applications can quickly leverage OAuth tokens directly from JavaScript calls. In addition, our SFSmartStorePlugin will allow you to store your app data securely on the device.

Documentation

Discussion

If you would like to make suggestions, have questions, or encounter any issues, we'd love to hear from you. Post any feedback you have on our Google+ community.

salesforcemobilesdk-ios's People

Contributors

abhinavguptas avatar akhileshgupta avatar aprabhu avatar ashishmo avatar asikora-sf avatar bbirman avatar ben-edwards-sf avatar bhariharan avatar bhavnagupta24 avatar briandotnet avatar brichey avatar craigisakson avatar dbreese avatar dprophete-sfdc avatar eoksman avatar jeanbovet avatar jhersh avatar jschmid avatar kchitalia avatar khawkins avatar lqingq avatar mgetzbw avatar mguillet avatar paulroth3d avatar paweldudek avatar qingqingliu avatar rwhitley avatar tomgersic avatar tstellanova-sfdc avatar wmathurin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.