This is a project intended to help beginner iOS developers learn the ropes. When I was first learning, I found it difficult to go from start to finish on a project. The hope is that by seeing a completed app you can drill down to any piece and understand exactly how it works.
This app will hit on many iOS fundamental concepts and help you understand how the pieces comes together to build a simple app.
A proof of concept for a memory game that everyone's played before. We'll utilize the Giphy API to add some flavor (and of course practice networking code). We'll also give users the option to choose their own content for the game. Either from trending topics (via the Twitter API) or defaulting to the latest trending Giphy GIFs. The game will also persist game data and any user selected options.
- Networking
- Table Views
- View Controller Transitions
- Custom UIViews
- Modeling Data
- Persisting Data (NSCoding)
- Key-Value Observing
- Views in Code
- Autolayout
- Commonly used Pods
- AFNetworking
- SDWebImage
- Masonry
- OHHTTPStubs
There's a short write-up for each commit as well as some more information about the development process over here:
- git clone
- pod install
- create a Secrets.m file and add in your own Twitter API key
NSString *const TWITTER_CONSUMER_KEY = @"abc";
NSString *const TWITTER_CONSUMER_SECRET = @"xyz";
I made this project mostly to help people new to iOS development but it was also a great exercise to practice. I love the concept of working around a constraint and for this one I gave myself 1 week to work in my off hours (evenings) to build something that would provide value to both myself and others.
This project came in at just over a week as the scope kept slowly ballooning. Total hours is somewhere in the 10 - 15 range, about 2 per day for 1 week (plus some). As the intention was not to pore over every aspect of code, I may have missed some things or taken some shortcuts. Please help fill in any obvious gaps!
I welcome any and all contributions, comments, pull requests, feedback, criticism etc. The point of this project is to provide something back to the community that's provided so much to me so let's not lose sight of that goal.
- Swift edition coming soon
- Unit testing
This project is released under the MIT license (MIT).
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.