How to integrate Salesforce in iphone app? - iphone

can any one help me in integrating salesforce in my app.I have made account in sales force and also created the remote-acces key.Can anyone tell how to ad objects ,dashboards etc in the iPhone app.I also want to know how to access the data on salesforce .for e.g. i want to get all the custom objects in salesforce and also want to create custom objects from iPhone app.Can anyone guide me in this respect.Any help is appreciated.

There are many ways to do it. I advice you to read carefully and choose the best way to do it.
Here are some links to read about it:
Making Salesforce and PayPal Work Together
SDK Project
Good Documentation and code

Salesforce provides mobiles SDK for iPhone, Android & hybrid platforms.
This SDK has samples on how to start with. There are lot of documentations available.
Basically the SDK helps to authenticate with Salesforce using oAuth, communicating with the objects using RestKit.
Refer the following URLs to start with..
Download the mobile SDK from the following URL.
https://github.com/forcedotcom/SalesforceMobileSDK-iOS
There is a discussion forum
http://boards.developerforce.com/t5/Mobile/bd-p/mobile
API docs
http://forcedotcom.github.com/SalesforceMobileSDK-iOS/Documentation/SalesforceSDK/index.html
Ref:
http://wiki.developerforce.com/page/Mobile_SDK

Related

Is it possible to gather other apps data in swift?

I'm building an web application with react-native.
In this app I need to gather some information about users.
One of them is how much time they spend on other apps installed on their phone.
I couldn't find any library for this job, so I've decided to write the native code my self.
For android, apparently there is this UsageStatsManager that can help me achieve what I want.
But when I searched for sth similar in ios, I found lots of old forums saying that this is not possible.
But I recently I saw this:
It is asking for permission to gather other apps data. SO IT IS POSSIBLE?
Any suggestion is appreciated. How am I supposed to this?
There is no API by apple itself for retrieving data of third party applications. This is called "Sandboxing" where applications are restricted from changing the device settings or retrieving/changing other apps data. Hence, why iphones are secure.
What you have shown in your screenshots is to track application data for personalised ads and such. This can be achieved using the AppTrackingTransparency framework provided by apple. You can read more about the framework here.
TL;DR - You can use AppTrackingTransparency for personalisation

how to populate information from sales force dynamically to application

We need to create questions and related options in sales force and need to populate them in my application as well (question and multiple options together). I searched a lot in google,but no related information regarding this.
Any help could be appreciated.
Thanks
To consume data from Salesforce from your iOS application you should start taking a look at the Salesforce Mobile SDK.
A good place to read and get started with iOS and SF integration is the Salesforce mobile guides
You may find information on the same site about Salesforce integration with other mobile platforms as well.

Getting Started With Twitter for iOS

For quite a while now, I've been trying to find a good way to simply post updates/photos to a user's twitter account via my iOS app. I've looked at ShareKit, but I really need to be able to design my own UI. Also, I've taken a look at MGTwitterEngine, but am unsure as how to implement it. Is there a "right" way to go about posting updates to Twitter with a custom UI on iOS?
Any help would be greatly appreciated. Thanks.
Given Apple's TWTweetRequest object, calls made to the Twitter service can now be orchestrated right through iOS without the need for an external framework or engine. Just look at the Twitter developer docs and make the calls you need, specifying the correct information in a dictionary for the process to complete successfully.

MDM API Integration in iPhone

I am trying to do an enterprise application which need to list all the installed apps in iPhone and also should allow the user to delete some apps from current application.I know this is not possible using any direct API's.But I found that using MDM API's it is possible. I had gone through the documents about this in apple's website http://images.apple.com/iphone/business/docs/iPhone_OTA_Enrollment_Configuration.pdf
But I am not sure where I need to start. What are the steps I need to follow to access these APIs in the iPhone side. Do I need to perform all these steps programatically when I open the app or else these will be handled by server.
Please share your ideas about how to implement this from a developer point of view.
Thanks in advance.
Apps are not able to do any MDM, it can only be done by the server, that is managing the device.
Apple has a session video from WWDC 2010 that shows how this is done.

Using the Twitter API within iPhone application

I want to integrate Twitter API into my iphone application. I have read about JSON framework with iPhone SDK 2.2. But I am new to this type of application. Can anybody please explain how to integrate this Twitter's APIs with my application and how to use it. Also tell me how to open "svn checkout http://json-framework.googlecode.com/svn/trunk/ json-framework-read-only" I have downloaded this code, but I'm not sure where to go from here. Please help me in this issue. Thanks in advance.
Try MGTwitterEngine.
You might consider looking at the Stanford iPhone programming course for some basic "how to use an API" type information.
Their in-class sample app is a low-end Twitter app that uses the JSON library, you might find that a useful example.