Native mobile access to the decentralized web for super-charging your mobile dApps
Any good cross-platform SDK needs a good iOS library, or two! Today, we are happy to announce the release of the Textile SDK for iOS, enabling anyone who’s developing mobile apps in Swift or Objective-C to easily incorporate Textile and all the goodies it contains.
What can you do with the new SDK?
Use Textile threads to deploy and synchronize a decentralized database in your mobile app, use IPFS to store and transfer any type of data, leverage end-to-end encrypted communication via libp2p, and offer your users new ways to access and control the data your app creates.
Here’s a look at what the iOS SDK could mean for your app.
Connect anyone, anywhere
Threads provide flexible data sharing and synchronization for mobile and desktop applications. Your app can create private, encrypted spaces for your users to share photos, host a conversation, or exchange private documents. They extend the core IPFS stack to help you build applications that can connect anyone, anywhere in the world.
Build resilient applications
The IPFS network provides a backbone to run applications that are resistant to tampering, censoring, or throttling. You can now tap into those benefits through the Textile SDK for iOS. Textile configures a local IPFS peer to work well for the mobile constraints of connectivity, frequent life-cycles, and battery needs.
Any platform, the same decentralized interface
We’ve added Swift and Objective-C examples to our Tour of Textile, so that’s a great place to start. Additionally, the iOS portion of our docs gives a good overview of some of the basic APIs to help get you started.
Let’s look at a Swift example
Let’s subscribe to real-time updates of a thread, the decentralized databases that power Textile.
Simple as that. Next, let’s encrypt a file, add it to IPFS and share it back to our thread.
Interested? Come join our developer Slack channel if you want to learn from and share with the community!
Finally, if you are going to be in San Jose for AltConf, come meet us there! We’ll be giving a talk about running IPFS on mobile devices. We’d love to meet you.