Skill

Project Description

Search Event is a small project that I made during class. It will display the events based on the location user put such as Rochester, Wichita and Chicago. Once the event is selected, the description of the event will appear and will have an option to add to favorite or view it on map. User will be able to delete favorite or rearrange the favorite events.

Coding Time

The goal was to use any kind of API. So, I decided to do event finder using Eventful API. I thought it was a good experience to use maps as a location for each event. Reading JSON file was hard at first because it was a new experience for me. However, it turned out to not be that difficult once I figured out how to receive a certain data such as name, location, date, time, and description. Then, I stored them in an array of Event which is stored in a global singleton model. With the global singleton model, it allowed me to send or update the data to another scene. Once I finished figuring out on receiving data, I was doing the search result base on the location since Eventful API provided events everywhere in the United States.

Keep Going

I decided to make it more interesting by doing a map. It was very challenging for me because I was struggling on zooming the map based on the location. It kept showing the world map. It was too hard for people to see the event base on the event they picked in a world map. The only way people can see it is to have a magnifying glass on the map to make it more visible; just kidding. I program it to zoom all the way until the certain range from the location, so that way people will be able to see the road map around it instead of seeing only the place without seeing any road map.

Conclusion

This project was an enjoyable project for me. There are so many things I want to learn about mobile. If I have more time, I will learn more about UISegmentedControl. I was planning to use that for search result for event base on time or distance and for map base on map types. I will try to make the search result display base on date or distance using UISegmentedControl.

Download the files