restrict login attempts in objective C - ios

I've done some looking into this topic but haven't found much that seemed to answer the question. I'm looking to implement code that restricts the number of failed login attempts for an iOS application. Is this something that can be functionally handled by the SDK, i.e. in the URL Loading System? Thanks for any input. It is appreciated.

Related

Share Point authentication in iOS

I have searched for "Share Point authentication in iOS" and I have gone through the results but I am unable to properly understand about
What is Share Point Authentication?
What make it different from other authentication methods like oAuth?
And
How to implement Share Point Authentication in iOS?
Thank you in advance.
After a long search and concern to my seniors I found two links using ether way I found my solution. The links are:
1) Using UIWebView
Here I only need to pass an URL to UIWebView. If the URL is openable then Office 365 login view will open on your UIWebView, where you can enter your login credentials. You can find full description with related code at here.
An other solution is
2) Creating your own UI for login
Here you have to design your own UI and full manual code to authenticate. You can find all the required help related to code, I can say full code from here..
If anyone find my question and/or answer useful then please up vote both or ether of the post. Thank you in advance.

What is the difference between SDK and Application?

what are the difference between SDK and Application.
This question may be silly for someone but sometime
myself getting confuse by vendor e-mails about the same.
Let me try to answer this in short form:
Application (or app) is something that performs an activity (or activities) for a user to accomplish something.
SDK helps you to build the application.

What's the proper and correct way to access files on O365 from iOS

I know that someone mean will probably close this question for being opinion, but the truth is, I'm not after opinion as such, but actual facts about the correct way and how to do this.
I've been searching around for quite a time and I'm still unclear as to what direction to take. It seems there are a billion* libraries that I could use, but I want to know what would be the correct, proper supported method of achieving this.
Essentially, I have a very simple requirement to list and download files from Sites on our Office 365 subscription to an iOS application.
Initially, I looked at the REST interface for Sharepoint and, from a browser, was able to easily perform a GET to our site and receive and receie a response with meta data about the file, for example:
https://mytenantid.sharepoint.com/_api/web/getfilebyserverrelativeurl('/MyFile/Here/Document.txt')
I could also retrieve JSON output instead of XML by specifying an Accept header of application/json using the POSTMAN REST client for Chrome.
So far, so easy. Just the authentication to do outside of the browser and that's it.
Phew!!
I started by looking at Basic authentication, but wasn't sure if this is the right way to do it and even if it would work?
On looking further, it seems that actually, using OAuth might be the way to go. Apparently, you can either do this yourself (no idea how), or use a library (ADAL?) from Microsoft? Unfortunately, this all looks half baked will very little documentation that seems to work. It also requires the use of CocoaPods and workspaces and isn't just a simple library that I can copy to my project and start using (a la SwiftyJSON). There also seems to be a lot of other libraries around too.
I should mention that I'm using Swift, so I've tried converting code from Objective C to Swift (unsuccessfully) too. Apparently I can't use "readWithCallback" with an argument list that the code tells me I should actually use -- even a sample application I downloaded had the same issue.
I've also tried using node.js with a script (not a Web Application) and the documentation and number of libraries available for that is almost worse.
Any assistance to achieve this really simple capability would be hugely appreciated -- it's been driving me nuts.
Many thanks,
D.
*this might be a slight exaggeration.
Office 365 has a RESTful API that you can use any programming language to authentication and integrate in your app.
Here is a simple example for iOS connected app to office 365. The sample shows how to do this in Objective C and SWIFT.
https://github.com/OfficeDev/O365-iOS-Connect
If you want to full iOS samples for office 365 connected apps, Check out this link:
https://msdn.microsoft.com/en-us/office/office365/howto/starter-projects-and-code-samples
Enjoy :)

Any twitter api or complete solutions for monodroid?

Looking for good solution for Twitter login and posting something... but there is no idea for now. How to do it in xamarine( IOS mono has complete solution, but monodroid...) help me please, if somebody knows how to do it.
If you just want to post something then you can easily do this by sending an Intent for use by an external app - e.g. see https://github.com/slodge/MvvmCross/blob/v3/Plugins/Cirrious/Share/Cirrious.MvvmCross.Plugins.Share.Droid/MvxShareTask.cs#L19
If you need a more complete solution then libraries like Tweetsharp have had MonoDroid ports/branches at various times, but I don't know the current status of any of these.
You might also want to take a look at Xamarin.Social. This component will let you tweet from your Xamarin.Android application.

When did someone follow - Twitter API

I've been attempting to go over the Twitter API, albeit it has taken me a while and I'm being thrown back and forth between the old and the new site - however I was wondering if there is a date at all for when a user has decided to follow or; or if your able to tell when a user stopped following you?
I've been looking through here https://apiwiki.twitter.com/Twitter-API-Documentation to no avail, but I wondered if anyone knew of a way of doing it (outside of a separate monitoring system of course!)
Cheers,
Dan
The Twitter API doesn't explicitly provide dates for when a user started following you or stopped following you. This is something that you would need to monitor in some fashion.

Resources