Another excellent week to be an iOS developer, and some big news in the department of iOS game development with the release of Cocos2D V1.0.0 and the opening of the Moai SDK beta to everyone. Also some great open source libraries and tutorials were shared.
If you have written a tutorial, open source library or tool that you would like to share you can submit the url here.
I’ve been contacted a number of times about advertising on this site so I decided to add support for BuySellAds, and added a section for small button ads. If interested you can check out the advertising page here.
Here are the resources from the last week in order of popularity:
Open Source: Easy Multistroke and Single Stroke Complex Gesture Recognition On iOS – A couple of great libraries if you are looking to quickly implement complex gesture within your app.
Open Source: iCade Library For Easy Integration In iOS Games – Library that allows you to easily support the iCade classic arcade box/controller for iPad. Makes a good example if you are trying to support a specific bluetooth interfacing device.
Tutorial: Manipulating Images With Touch Gestures – A tutorial with sample code demonstrating how to add touch features for image manipulation.
Tutorial: iOS Map Kit For Beginners Guide – A getting started tutorial for those beginning with the iOS map kit including a tutorial on displaying data from XML locations on a map without using any libraries outside of those included with the iOS SDK.
Open Source: Active Record For Core Data Library – A great open source project modeled after Ruby On Rail’s ActiveRecord for more straightforward data retrieval.
News: Cocos2D Game Engine v1.0.0 Released – News about the highly popular Cocos2D game engine finally reaching the v1.0.0 release.
Tutorial: iOS Multithreading With Grand Central Dispatch (GCD) Basics – An excellent step by step guide beginning with the basics on multithreading with iOS ‘s Grand Central Dispatch.
News: Moai SDK Game Development Kit Made Available To All – The lua based open source Moai SDK has now opened the beta for anyone to download and use.
Tutorial: Calculator App Style Glossy Buttons With Core Graphics – An explanation of the technique used to create buttons just like the calculator applications that come with iOS devices.
Tutorial: How To Use The iOS Keychain To Store Names And Passwords – A guide on using the iOS keychain in order to securely store usernames and passwords.
Thanks for reading, please bookmark and share this post!
If you’ve developed with Ruby On Rails or similar framework then you are familiar with ActiveRecord, and you are familiar with how useful ActiveRecord is. I remember thinking how cool it was when I first played with RoR and began using ActiveRecord.
For those unfamiliar with RoR here’s the Wikipedia definition for Active Record:
Active record is an approach to accessing data in a database. A database table or view is wrapped into a class. Thus, an object instance is tied to a single row in the table. After creation of an object, a new row is added to the table upon save. Any object loaded gets its information from the database. When an object is updated the corresponding row in the table is also updated. The wrapper class implements accessor methods or properties for each column in the table or view.
I’ve come across an excellent open source library based on the Ruby On Rails implementation of ActiveRecord from Saul Mora for Core Data retrieval known as MagicalRecord.
You can find the Github for the project along with full instructions here:
You can read Saul’s writeup on the project on his site here:
Magical Panda releases ActiveRecord Fetching for Core Data code library
If you want the full read on Active Record from Wikipedia here:
A very useful library indeed.
Welcome to the sixth iteration of the open source iPhone and iPad apps list for those seeking app source code. For those that have seen similar listings on other sites using the exact wordings, and links below welcome to the source for the original list. Also included are some open source iPad apps, and universal open source iOS apps.
It can be tough to learn how to develop, especially when it comes to finding complete examples. That’s why I put this list together. Each of these open source iPhone apps is not just open source, but has been in the app store, and all but one are in there right now. So if you’re looking for an example of some real apps here they are.
Last Update: 4/28/2016
The Open Source iPhone Apps List
Here is the open source iphone app list in alphabetical order:
81. ViralFire – Unique game where you are a dodging blood cell. (source code)
These are apps that are no longer in the app store for which source code is available:
93. 2012 Olympics – App displaying timetable for 2012 Olympic events. (source code)
94. Aeropack – A steampunk themed retro-platform game created using GameSalad. (source code)
95. Alphabet Blocks – An educational toy featuring letter blocks created with using Cocos2D.. (source code)
96. Clearis – Cocos2D based puzzle game. (source code)
97. Cryptose – A cryptogram puzzle game made with the Marmalade (formerly Airplay) SDK. (source code)
98. Fosdem– Calendar app for the Fosdem open source conference. (source code)
99. NowPlaying – Allows you to check local theater listings, and check rotten tomato ratings. (source code)
100. PocketFlix – Find movies, and manage your Netflix information. (source code)
101. Prey – Anti-theft tracker featuring on-demand and push notification activation. (source code)
102. reMail – E-mail client featuring ultra-fast search. Removed from app store, but source made available. (source code)
103. RobotFindsKitten – Port of a very silly “classic” ASCII game. (source code)
104. Sci-15 HPCalc – Calculator app based on classic scientific HP-Calculator. (source code)
105. Scratch – A viewer allowing you to run applications made with MIT’s scratch project. (source code)
107. Star3Map – Augmented reality star and planet charting application. (source code)
108. Teh Internets – A silly side scrolling game that makes fun of many internet memes created using Cocos2D. (source code)
109. Tilt Monster – iPhone game written with the Corona SDK that reached top 25 in the app store. (source code)
110. Tux Rider – iPhone port of the extremely popular, and beautiful 3D Tux Racer game. (source code)
Check them out if you are working on something similar or think they might have a feature you could use there’s no reason to re-invent the wheel. Always make sure you understand the licenses as many of these open source iPhone apps are GPL and require that you open source your app.
Please Share And Comment
Know Any Other Open Source iPhone Apps?
If you’ve found or have released an app that you would like added to the open source iphone apps list then please mention it in the comments.
Core Data is a very powerful library, and easy to use, but it’s so different from database libraries you have used in the past that it may seem frustrating and tedious when you first start using it.
[Source: Ray Wenderlich]
Awhile I wrote an article about using Core Data vs. SQLite. In that article I didn’t delve into any of the technical differences about the two technologies, but just went into some of the reasons why you might want to implement one vs. the other. I found an excellent article that covers the more technical details of Core Data vs. a conventional database.
The article is: The Differences Between Core Data And A Database. Some of the key differences of note being:
- Core Data operates in memory, while a database can edit or drop tables without loading into memory
- A database is perpetually saved providing crash resistance, Core Data requires a save process
- A database can be slow to create millions of rows while Core Data can do this very quickly as it operates in memory – although the save process being at the end
Hopefully this article will be helpful to those trying to decide between SQLite and Core Data.
Please post any comments below, thanks.
Source: Cocoa With Love