I am using Parse in my iOS App and was wondering if it had a way for my app to get notified when a db change is made. I saw some outdated documentation that indicated there was a Parse.Cloud function but it does not seem to exist.
More recently I saw something about Parse.observeValue but cannot find any example of how to use it and I cannot seem to get it to work.
Does anyone in the Parse community know anything about this and maybe have a code snippet that shows how to perform such a function?
I have a table that keeps comments for users and I wanted to get notified when a comment is made. For example, if user 1 adds a comment on their device I was hoping that user 2 could get a notification so the the app for user 2 could reload any new comments.
Hope this makes sense... as usual any help is greatly appreciated!!
Parse provides afterSave triggers in cloud code. Those, in conjunction with push notifications would provide -- with a little latency -- a way to detect db change at the client.
If you really need this to work comprehensively and fast, I think the best alternative is google firebase.
Related
I am developing an iOS app that displays certain words from a Firebase database. The difference, however, is that I want to display the search results in a 'Flashcard' style. I have attached an image to give you an idea of what I am trying to do. I also want it to act as a button (i.e perform some actions when tapped). It would be great if you could help me give me an idea about how I could get this done. Thanks a lot]1
1.) Create a custom collection view. (Guide: https://medium.com/#michaelrojas_66889/how-to-make-a-custom-collection-view-cell-in-swift-6d5783ab7c1c)
2.) Get started with Firebase. (How to get started: https://firebase.google.com/docs/ios/setup)
3.) Setup everything you need for the collection view (Code)
4.) Retrieve values from Firebase. (https://firebase.google.com/docs/database/ios/read-and-write)
At least this is a start where you should begin. There is hundred of guides how to perform something like that, if you're googling the correct way. Once you get started, you should edit your post and ask more specific what you need help with and there will be a lot of people here who will help you out. But like someone said in the comments, it's not a code service. We're not building it for you. We're here to help you get in the right direction. (I know it's a pain in the beginning, and you will get confused a hundred of times. But that's the best way of learning.)
Good luck!
Sorry, for the confusing title. I am developing an iOS Tweak (for jailbreaks)
What I am trying to accomplish is something I haven't seen people do before but I am sure it is possible!
as an example lets say I am trying to change my username.
in app version 1.0 in the User.h there is a method called
- (void)setChangeUsername:(id)arg1;
which allows the change of usernames within the app, now on app version 1.2
the method is rendered useless / isnt there.
how could I reactivate this method so it allows the change of usernames?
would I have to edit the app binary, or import some old headers, not even sure what the first step of this process is, or if its even possible.
Sorry for the vague example but I hope it is enough information to get what I need answered!
If you would like more information I would be happy to write some more and be more detailed :)
Thank you!
You can't call or hook a function that no longer exists. If you want to change the username you will have to find an alternative method to do so.
I am looking to build an iOS app and website that work 'together'.
What the plan is for each:
On the iOS side, it will be pushing information to the server in the form of a post. The users will then be able to vote up and down on the posts as well; which also implies they will be able to see the other users information (in real time).
The website will be viewing this information in real time and using the posts. If a post gets enough down votes the server should tell the website and apps to remove it.
I have experience with SQL. Although SQL does not seem to be the appropriate server choice - for what I want to do - given my experience with it. (I could definitely be wrong.)
I would like to host the information myself, however have heard that Parse is good about holding information for iOS apps. I just don't know whether it gives you enough freedom to work with websites as well.
TL;DR: What kind of database/datastore should I use for a real time queries that allows for push notifications?
All suggestions are welcome. Thank you.
Try Using FireBase
firebase.google.com
Documentation
My needs are reasonably simple but I cannot seem to find a working solution. Any help is greatly appreciated. I don't want to start implementing something from scratch if I can use a open source solution that is well stablished and I can eventually contribute in some way.
My Requirements
1- I need to have all events stored in the database so I can fetch them (and their content) with a background process for manipulation. I will process all events once/twice a day for any given day. Processing mainly consists of sending out reminders etc.
2- I need to allow recurring events.
3- I need custom forms and application specific custom fields for all events.(this seemed to leave google calendar out)
4- UI needs to display events depending on user logged in.
5- all day events not required
What I have looked at so far:
FullCalendar: Seems the most plausible although I haven't yet figured out how to accomplish #3 above.
event_calendar: I have no idea how to implement recurring events efficiently using this solution. It seems like I would have to implement it from scratch using iCal's standards etc. Does not sound like fun. Any suggestions here?
Ice_Cube: This would potentially help with the event_calendar recurring event implementation.
I have not worked with calendars before so I might be missing something really simple. Please let me know your thoughts.
Env: Rails 3.1, looking for gem/plugin/JQuery solution. If not found will try to implement from scratch. =) Thank you for your help.
Check dhtmlxScheduler, it solves all above requirements.
Also, there is a ROR integration sample
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.