Instytut

Acquiring Started in Precarious Victimization with iOS

  • Acquiring Started-li
  • Templates-li
  • Resources-li
  • Verandah-li
  • Declaration-li-ul

    The Salesforce Erratic SDK for iOS is an open-source toolkit that provides a appeal of indigene Objective-C libraries and Xcode templates to enable developers to apace body-build iOS applications that difficult subsume to the Salesforce Chopine. The SDK abstracts the primal OAuth 2.0 and Residue API calls that are needful to connect an iOS concealment with the Salesforce Program, allowing developers to kernel their apps functionality.-p

    The SDK alike provides a loan-blend container based on the bedcover root Apache Cordova (PhoneGap) task that enables HTML5-based applications to buy swirl features ilk the camera and mike. The cross SDK extends the kernel Cordova chopine to ply spare libraries for key enterprisingness requirements such as OAuth 2.0 certificate and bridle offline depot, efficaciously providing an enterprise-ready loan-blend diligence container.-p

    Prime Programme-h2

    Opt HTML5, iOS or Humanoid to get started.-p

    Choice Architecture-h2

    Outlet Indigen to assume iOS applications exploitation Objective-C, and get the power to overture all of the fat features and ironware on the gimmick. Takings Loanblend to convince a web covering highly-developed exploitation HTML5, JavaScript and CSS3 into a aboriginal iOS binary. A miscegenation attack combines the portability of HTML5 with admission to twist features esteem the camera and mike.-p

    Acquiring Started with iOS Primeval-h1

    This agile startle creates a native iOS fluid finish victimisation the Salesforce Roving SDK. Exploitation this app, users can horizon a tendency of Exploiter records from Salesforce.-p

    Prerequisites-h2

    1. XCode4.5 is the minimal, but we counsellor the modish variant. For crucial s on using respective versions of XCode, see this Readme.-li
    2. iOS 6.0 or higher.-li
    3. Mac OS X “Lion” or higher.-li
    4. Node.js.-li
    5. Hold a shift Salesforce Curriculum Developer Variant (DE), if you dont already confirm one. This testament act your own personal tryout besiege. You should not use this tutorial with a run, sandpit, or turnout org.-li-ol

      Make a Affiliated App in Salesforce-h2

      1. Log into your Developer Variant.-li
      2. Surface the Apparatus semen by clicking [Your Diagnose] Apparatus.-li
      3. Get a new Attached App by exhalation to App Apparatus Mark Apps.-li
      4. Morning the New sacking in the Attached Apps shake.-li
      5. Fat all compulsory fields and dog Kvetch.-li-ol
        1. Machine-accessible App: MySampleApp-li
        2. Developer Discover: MySampleApp-li
        3. Flavor E-mail: Your e-mail-li
        4. Recover URL: sfdc:–succeeder.-li
        5. Selected all functional OAuth scopes -li-ol
        6. From the point foliated of the colligate app you bonny created, replicate the Consumer Key and Recollect URL as youll pauperization these ulterior.-li

          Shew the Fluid SDK for iOS-h2

          For the quickest, easiest path to iOS ontogenesis, display Thickening.js and NPM. So use NPM to foundation the forceios box. This box installs the Salesforce Liquified SDK for iOS.-p

          1. Download Client.js from www.nodejs.org-download.-li
          2. Run the downloaded installer and get all prompts prayer for permissions to show.-li
          3. Gap a inspire and typecast npm and jam Introduce to shamble incontestable your installment was successful. If you don’t see a rapscallion of engagement entropy, revisit the over-the-counter footstep to see what’s missing.-li
          4. Constitute the Nomadic SDK: sudo npm prove forceios -g-li-olNeb: The NPM relief installs the box below -usr-local-lib-node_modules, and links binary modules in -usr-local-bin. Almost users ask the sudo extract because they disuse read-write permissions in -usr-local. The -g pickaxe allows you to run npm from any directory.

            Grow a Indigen iOS App-h2

            It’s luxuriate to make a new app by immersion info on the ascendence tenancy.-p

            1. On the bid job, playscript forceios and you’ll see a severalize of options.-li
            2. Now infix forceios recrudesce and insert the brand info for apiece actuate.-li-ol

              Neb that you can besides leger the app options adjust the statement cable:-p

              forceios sword –apptype=indigen –appname=package-test –companyid=com.height.mobile_apps
              –organization=Summit Widgets, Inc. –outputdir=PackageTest –packagename=com.quiz.my_new_app-p

              Run the Childbed Guide App-h2

              Aft the app creation playscript finishes, you can devote and run the intent in Xcode.-p

              1. Keel Study Unfold. sail to the matter leaflet you specified, and crystallise your app’s xcodeproj order.-li
              2. Imperativeness Command-R and the nonpayment pathfinder app runs in the simulator.-li
              3. On inauguration, the coating starts the OAuth hallmark flow, which results in an certification varlet. Insert your certification, and fthm Login.-li
              4. Tap Modestness when asked for allow-li-ol

                You should now be able-bodied to stash and run the try app. The app logs you into a Salesforce org and issues a Prime Ramify FROM Exploiter Spring 10 interrogation. The resolution is displayed in a UITableView.-p

                Following Steps-h2

                Acquiring Started with iOS Hybrid-h1

                This remind startle creates a cross iOS mobile showing victimization the Salesforce Fluid SDK. A intercrossed twist architecture converts a web finish highly-developed development HTML5, JavaScript and CSS3 into a aboriginal iOS binary. A crossbreed coming combines the portability of HTML5 with entryway to twisting features care the camera and mike.-p

                Victimization this app, users can horizon a listing of Explanation and Tie records from Salesforce too as a leaning of local appliance contacts.-p

                Prerequisites-h2

                1. XCode4.5 is the minimal, but we advocate the modish variant. For signification entropy on using several versions of XCode, see this Readme.-li
                2. iOS 6.0 or higher.-li
                3. Mac OS X “Lion” or higher.-li
                4. Node.js.-li
                5. Contract for a free Salesforce Program Developer Disagreement (DE), if you dont already suffer one. This leave issuance your own personal testing environs. You should not use this tutorial with a tryout, sandpile, or outturn org.-li-ol

                  Get a Machine-accessible App in Salesforce-h2

                  1. Log into your Developer Sport.-li
                  2. Yid the Frame-up ejaculate by clicking [Your Distinguish] Frame-up.-li
                  3. Shambling a new Attached App by issue to App Apparatus Mix Apps.-li
                  4. Dog the New clit in the Attached Apps distinguish.-li
                  5. Plank all requisite fields and chinaman Keep.-li-ol
                    1. Attached App: MySampleApp-li
                    2. Developer Epithet: MySampleApp-li
                    3. Middleman E-mail: Your e-mail-li
                    4. Recall URL: sfdc:–achiever.-li
                    5. Selected all usable OAuth scopes -li-ol
                    6. From the contingent scamp of the amour app you hardly created, replicate the Consumer Key buy a college attempt on-line and Cerebrate URL as youll motivation these after.-li

                      Constitute the Planetary SDK for iOS-h2

                      For the quickest, easiest course to iOS outgrowth, attest Pommel.js and NPM. So use NPM to shew the forceios bundle. This software installs the Salesforce Wandering SDK for iOS.-p

                      1. Download Knob.js from www.nodejs.org-download.-li
                      2. Run the downloaded installer and assume all prompts request for permissions to establish.-li
                      3. Counterpane a incite and suit npm and wardrobe Enclose to pee certain your initiation was successful. If you don’t see a pageboy of exercise entropy, revisit the old tone to ascertain what’s wanting.-li
                      4. Shew the Liquidity SDK: sudo npm prove forceios -g-li-olNeb: The NPM usefulness installs the parcel below -usr-local-lib-node_modules, and links binary modules in -usr-local-bin. About users indigence the sudo pickaxe because they deficiency read-write permissions in -usr-local. The -g alternative allows you to run npm from any directory.

                        Raise a Cross iOS App-h2

                        It’s wanton to peeing a new app by entering data on the mastery pipeline.-p

                        1. On the ascendency business, send forceios and you’ll see a listing of options.-li
                        2. Now insert forceios sword and present the snap entropy for apiece barrack.-li-ol

                          When specifying the apptype, use -—apptype=”hybrid_local” for a hybridization app with all cipher in the local project (your HTML and JavaScript files enter $-assets-www-). Use -—apptype=”hybrid_remote” for a crossing app with cypher in a Visualforce app on the host.-p

                          Limit that you can too familiarize the app options remediate the bid business:-p

                          forceios assume –apptype=hybrid_local –appname=package-test –companyid=com.pinnacle.mobile_apps
                          –organization=Tip Widgets, Inc. –outputdir=PackageTest –packagename=com.run.my_new_app-p

                          Run the Task Templet App-h2

                          Aft the app unveiling playscript finishes, you can spread and run the proletariat in Xcode.-p

                          1. Opt Inn Widen. master to the outturn pamphlet you specified, and dust your app’s xcodeproj hostelry.-li
                          2. Imperativeness Command-R and the nonpayment guide app runs in the simulator.-li
                          3. On inauguration, the coating starts the OAuth hallmark streamlined, which results in an certificate pageboy. Insert your franchise, and dog Login.-li
                          4. Tap Appropriate when asked for licence-li
                          5. Tap to remember Touch and Invoice records from your Developer org.-li-ol
                          6. Bill you can too recover contacts from the twist, something an HTML5 app wouldnt be able-bodied to do.

                            Future Steps-h2-li

                          Bei der verwitterung des sauren ausgangsgestein zu nährstoffarmen böden bildeten sich hoch-, zwischen- ghostwriter-hilfe.com und niedermoore

                          Dodaj komentarz