Displaying Data From Firebase in iOS in 'Flashcards' - ios

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!

Related

Parse detecting db changes

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.

Check if App is started with GameCenter challenge

Hello Stackoverflow Community,
I would really like to get help of you, because i am at this problem for around 2 weeks now, and i could not even find something that would help me a bit.
If i get a challenge for my app and click on it, my app will open.
Is there a way to get the information on what challenge i clicked and let me display e.g. the score that i have to beat inside my game?
I tried getting the Arguments that the app is started with, but there is nothing that looks like challenge related data in there.
I already managed to get all the challenges for my game, but there is now way i can tell which one i clicked on with that method.
Thanks for you help.
As of this writing, when you click the notification or open the game via the game center, no useful information is passed to your game.
All I have found are hacky solutions, like putting descriptive text (maybe the requestor's name) in the invite text and then showing that same text when displaying the list of available matches.

creating facebook style timeline in ios sdk

I am trying to creating something similar to facebook timeline in facebook website. I tried searching for some examples I could not find any. Can anyone give me pointers on how to get started if I want to create one or an existing example would be great.
Thanks
Not an answer, but a pointer, If you'd thinking to make something like here, then its kind of tough and really need presence of mind to make it. First of all, source code is only avail with Mark Zuckerburg so in case you can ask him for that. If he'll deny, you should go ahead and,
Think of it, design of it, and start making it.
You need to make mocktail of UITableView's, UIImageView's, extra UILabel's and UIButton's for garnishing and test, and a well looking design that says yes its timeline.
Once you done with above, you need some test data, with a date inside it, perform descending sort with NSSortDescriptor. Update your timeline with those data you've. You've to check for the kind of data you want, or you've included. Set the layout as per the data you want to show.
and you'll say, Whoa! I've own timeline.

YouTube's search function in IOS

http://coolappsman.com/wp-content/uploads/2012/09/YouTube-App-Search.jpg
Hello, I am looking for some implementation tips for YouTube's search-function. I want to implement exactly the same thing but without the function "displaying tips based on the search-term".
With other words, I want a simpler version. How can I make the NavigatorBar disappear when the user clicks on the "search-button" and then make the NavigatorBar appear again after the user searched what they looked for? If you have seen the app its pretty clear what I am trying to explain.
Anyone know a good tutorial to implement something like this? What methods do this require? I am grateful for all tips. Thanx!
Jesper.
Concept you want to implement is quite hard to do, that is highly customized control. Instead of showing results in the same view, a new controller is pushed with results table.
However, you can start with UISearchDisplayController. See Apple's TableSearch example.

Calendar needs cannot be meet?

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

Resources