Comments (6)
i might be wrong, but as far as i know, this is not possible, because NSUserDefaults can not take this type.
from swifter.
Is there any way to save the data at all?
from swifter.
depends. in NSUserDefault, i would stote user credentials.
for a bigger amount of data i use realm.io. its very easy to use and fast.
from swifter.
i tried realm.io but it would let me save the [JSONValue] result i get
from swifter.
The JSON class isn't really designed to be persisted. It's main purpose is to make it easier for you to access elements within the data returned by Twitter. But if you'd like to persist this data I'd suggest writing classes to represent the information you'd like to store and using something like core data to store them.
I might add an easier way to do this in the future, but don't have time right now
from swifter.
Answered.
from swifter.
Related Issues (20)
- ErrorResponse Handling HOT 1
- library swiftyJSON error after import swifter in viewcontroller HOT 1
- Fail to authorise HOT 2
- how to embed tweet in swift?
- Documentation/tutorials for Swifter?
- Data instead of JSON - anyone wanna work on this with me? HOT 6
- I want to use `Swifter.authorizeSSO(succees: _, failure: _)` but the authentication page does not appear on the app. just appear Home HOT 6
- 'Swifter' used both as module name and class name is problematic. This breaks debugging HOT 1
- Compilation error on Xcode 13 Beta 4 HOT 1
- Authorize with actual twitter app or website, not with app-internal web view? HOT 1
- needs to update usage documentation for iOS13 & up HOT 1
- Any plans to support cocoapods?
- Any plans to include Twitter v2 API?
- iOS login with twitter has error: CredStore - performQuery - Error copying matching creds HOT 1
- difference between default initializers?
- createSavedSearch method - Could not authenticate you
- [Question] how to use authorizeSSO? HOT 2
- ⚠️ Deprecation notice ⚠️ HOT 9
- Iswifter.ipa
- 'Swifter-Swift.h' file not found & (fatal) could not build module 'Test'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swifter.