How do I get list of calendar app data? - ios

For example:
I would like to access all my calendar data (default iOS App) which has user embedded data on
Start date 11/11/2013 10:00 AM with Title "Meeting w/ Australian".
Or another one,
Start date 1/1/2012 08:00 AM with Title "2012 New Year's Party".
How do I access these and put them on NSMutableArray?
Can someone help me here?

Given the quarantine-like protection built in IPhone apps, I bet you won't be able to access the info, I've never tried personally but I'm willing to bet on it.
thats probably why all the calendar apps start empty.
I would look at exporting Ical to CSV then parsing it ingot he app as a hacky way to get around it.
Good luck though.

Related

how to create a flutter app like wikipedia

I'm trying to create a Flutter app like wikipedia where a user can search and display the information but I'm don't have a lot of backend knowledge so it'll be appreciated if someone can guide me what I should do or learn in order to start this project.
The reason I'm trying to build this app is for my ethnic group. I want to have an app where we can read articles/information in our own language.
My goals is basically get all the article or documents about our cultures from other people and store in one database and display it in my app.
I'm not really sure where will be the best place to store all the article and retrieve that in Flutter. I've been looking Firebase but I'm not really sure if I can store the whole articles and display it.
Just to give you an idea, this is minipedia app and I'm thinking about creating an app just like this.
Any suggestion will be really helpful. thanks
You can use Firebase Firestore for this project. I've used FB before and to the best of my knowledge, there shouldn't be any problem with doing what you mentioned above.
I've been looking Firebase but I'm not really sure if I can store the whole articles and display it.
Yes, you can store whole articles on Firestore and retrieve them whenever you need them. Each document has a maximum limit of 1MB, which is approximately 1 million characters but should you need more space(which I highly doubt), you can always separate your articles into chunks.

Check if date is correct in IOS

Currently, I am grabbing the current date by NSDate().timeIntervalSince1970. However, I am concerned that the user will change the date on the phone to mess with my app. So I was wondering which of the two options below is a more suitable fix
Is there some sort of Apple way to grab the current date from an apple server.
Is there a good and reliable API where I can grab current date?
Use the TIMEAPI available at www.timeapi.org
You can retrieve the current time in UTC here.

Filter data over a period of time in Fabric.io

I have been using Fabric.io on my iOS app for 2 months. It's an e-commerce app so I'm using custom events for monitoring Product search and Purchases. What I noticed it's that though the tables in "Answers" get filled up with data it's not possible to define the date range of the reported query of searching for older events. The dashboard panels look limited to the latest data with no possibilities of customisation.
Is there any way to perform a proper filtering?
Apparently the dashboard only allows you to see the data from the most recent 30 days. If you use the export function you get the data from one year.
They know that some people want to have it, but I don't think they are working on that.
Would be great if everyone could add their +1 on this question:
https://twittercommunity.com/t/fabric-answers-how-to-select-date-range/58599
Hope this helps.

How to make search query on certain web site and display it as native app

I have a task to implement but after some thought I don't really know from where to begin.
What I need to achieve:
Lets take as example BestBay web site. From my app I would like to create a certain query which will go/use to BestBay search type what I need and bring me the result. On my device I would like to show it as 10 views of the first items the website returned. For instance if I type "tvs" I will get a list of tvs so I would like to show this list on my device with the price and the link to the item (at least for the 10 first items).
I have experience with native apps(i didn't worked with web apps).
I can't use Best buy api.
I am not sure from where to begin.
I read about YQL.
I thought maybe to use the web page with the results as html and parse it to the objects I need.
Did anyone do something similar and can give me some starting point.
How to approach this kind of problem.
(tutorials/documentations/sample code something that can help me to start).
Tnx a lot.
In the end I decided to do it by HTML parsing:
parsing HTML on the iPhone
How to Parse HTML on iOS

Request Last Update Date From Vanilla Forum

I have an iOS app that I would like to interface with an Vanilla forum in a very simple way. I would like the iOS app to request the last update date of the forum. That way I could indicate to the iOS app user the forum has been updated since their last visit.
I am guessing the way to go would be using Vanilla's REST services, but I am unsure of how to request the last update date, or if its even possible using REST.
I am studying information at this link: Vanilla REST Services and also searching through the PHP code to find something that might help.
Is there an easier way to do request the last update date of a Vanilla forum for use in an iOS app? If so, what is that easier way?

Resources