Open source CoverFlow library for iPhone [closed] - iphone

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Are there any open source, CoverFlow-like APIs or libraries available for the iPhone?
I've found one implementation that is licensed per application, however, I'd much prefer to go the open source route.
Also, I'm interested in libraries that use only public APIs, as using non-public APIs might keep an app from getting published in the App Store.

You might also want to check out a library I released at iPhoneDevCamp -- OpenFlow.
http://apparentlogic.com/openflow
It is all core animation-based, so it's easy to understand and customize to your needs. AFOpenFlowView is a subclass of UIView.
I included a demo application, and check out the blog entry on my personal website for a bit more information about its use. fajkowski.com
Drop me a line if you have any questions or comments!
-Alex

There's another nice Open Source implementation by demosthenese. Here's the link.

The nice people at Chaosinmotion have got the following available:
http://www.chaosinmotion.com/flowcover.html
It's BSD licensed.

The last chapter on Erica Sadun's The iPhone Developer's Cookbook is about Cover Flow.
You can grab the source code from the sample repository of the book on Google Code:
cookbooksamples

I am not aware of any open-source libraries for what you describe above. However, if you are familiar with core animation, it wouldn't be too hard to implement what you describe.
Check out the links below for some more information:
Blog post about implementing coverflow using core animation
Core animation reference guide from Apple iPhone Dec Center

The book "SAMS Teach Yourself Cocoa Touch Programming in 24 Hours" shows you how to make your own in the CoreAnimation chapter (complete implementation).

Related

What are some good open-source iOS projects to study at? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am looking for a good well designed iOS code/framework that is open sourced out there that I can study on. What I mean good design is, they follow good object oriented concepts, code is clean, and organized, possibly has some unit testing in it as well. I wanted to learn these concepts and apply it to my projects as well. Any suggestions are appreciated
Apple provides some great sample code.
Additionally, I suggest looking at the abundance of iOS code available on code sharing sites such as GitHub. There's some great work done by some StackOverflow members. Marcus Zarra and Dave DeLong are two such people. I've also posted some code up there as well. Just so you know, a lot of code posted on GitHub are not complete projects, but libraries or useful classes.
There's also the Three20 framework, published by Facebook.
At risk of shameless self plugging, here's a project I wrote that's overly commented and fairly simple. The app is a "speed dial" for iPhone. Set a number, flip a switch and you don't need to jump into the phone app to tap on a number in favorites anymore. One tap dialing right from your home screen. I've got two apps based on this code that are out on the App Store, but this app itself is not.
Edit:
Since writing this answer I've got some more project, much more complex than the one linked above. MBCalendarKit is the one I'm most proud of. Feel free to tear it up.
I think Apple makes good code sample codes.
three20
http://three20.info/
Put together by facebook.

What is a good book for learning Core Animation? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I want to learn how to use core-animation for the iPhone in a more serious manner; instead of just ripping other people's code to move a box a few pixels, I want to be able to write that code myself, and engage in translation, transformation, and other things with an understanding of the code I'm using to achieve it.
Unfortunately, the online documentation is, at best, rather dense. And while I have a good book for general iPhone programming, coreAnimation is a very large, complex area and it doesn't cover it in any real depth. Are there any good books that cover the subject?
Try Bill Dudney's Core Animation for Mac OSX and iPhone. The book does a fine job of walking through a lot of CA -- not all of which is available in the iPhone (yet?)
See also #neror's CA git project for good examples. #neror updates the project frequently and is a solid learning resource.
I have personally read "Core Animation: Simplified Animation Techniques for Mac and iPhone Development". This is a colorful book and quite easy to follow. This book assumes that you have some iPhone programming knowledge, so you will also need your general iPhone programming book. This book covers topics such as basic animation, path, what can be animated. The author would present you some code fragments, illustrating their ideas.
I would like to give you another suggestion.
You are asking for a good reference book about Core Animation. As mentioned above, I recommend "Core Animation: Simplified Animation Techniques for Mac and iPhone Development". However, in my experience, the book and other books on Core Animation aren't sufficient. None of the CA book is very well-written, I would rate them about 6 to 7 out of 10. Your best bet is learn from a concrete open source project. I recommend you GeekGameBoard from Apple. GeekGameBoard has two versions, the Apple version is written for MacOSX. There is a modified version for iPhone, check http://jens.mooseyard.com/2008/03/geekgameboard-getting-closer-to-iphone-ready/. Personally, I studied the source while refreshing my understanding from the book.

Is there a good tutorial for implementing an augmented reality iPhone application? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Are there any good tutorials or sample applications out there that demonstrate how to make an augmented reality iPhone application?
I doubt exactly such a thing exists, but what you need to do is look at the location and camera frameworks for the iPhone, and go from there.
Basically, you will create a UIImagePickerController (the Camera class) and overlay information on the view, via a custom .cameraOverlayView (which is a property of UIImagePickerController in 3.0).
You will probably want to get information (location, heading, distance, etc.) from the GPS of the device, using the CoreLocation framework.
You will also probably want to do some web server interactions, and for that I suggest ASIHTTPRequest.
Those are the basic tools needed to build an AR application.
Question is old i know. Just for the sake of completion:
http://www.raywenderlich.com/3997/introduction-to-augmented-reality-on-the-iphone
Here is an iphone AR project hosted on github: http://github.com/zac/iphonearkit/
Haven't used it myself though.
Check this:
http://www.iphonedevsdk.com/forum/iphone-sdk-game-development/38119-augmented-reality-ar.html
You will find a tutorial and a sample :).
Good Luck!
there is a GPL (free and open source) augmented reality browser for iPhone: mixare augmented reality engine.
You can find the code in gthub: https://github.com/mixare/mixare-iphone/
and use-cases and more info on the website: http://www.mixare.org
Best,
Daniele
It is possible to make an AR application for iPhone 3.1 that does live image processing (I've done one for myself).
Here is a good tutorial with working sample code for 2.x http://www.morethantechnical.com/2009/07/01/augmented-reality-on-the-iphone-using-nyartoolkit-w-code/
For 3.1, you'll need to replace the camera video grabbing code. Tip: PLCameraController _createPreviewIOSurface.
Note that you can't submit such apps to the App Store because of the use of private API.
I found one too
http://www.3dar.us/docs/tutorials/add-3dar-to-your-app-in-5-minutes/?gclid=CM2Stpr64KoCFQsh6wod906E7Q
It has the source code at github which is linked at the end of the page.

Where's the best SQLite 3 tutorial for iPhone-SDK? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking for an complete tutorial which not just tells me how an query is executed, but also how I set up the whole thing including setting up the library, creating an database, and so on.
Where can I find it?
Using SQLite 3 on the iPhone is really not that different from using it on any other platform. You should read the general SQLite documentation.
In your iPhone app, you usually open your SQLite database in the applicationDidFinishLaunching: method of your application delegate. After that, you can just use your database.
I've used Gus Mueller's FMDatabase classes on the iPhone. They provide a thin wrapper around SQLite.
A final note: It seems CoreData will become available on the iPhone with OS version 3. You can use SQLite through the CoreData framework.
Stanfords cs193p iPhone application development previous semester showed how to setup and use sqlite3 with iphone.
I haven't checked the latest lecture's but there is a reference to sqlite in latest semester. There are lecture notes and video in iTunesU - check out cs193p web site for links/references/example code/lecture notes.
I have some iPhone SQLite links in my Delicious bookmarks. There should be enough links there to teach you all the SQLite you will ever need. Lots of the tutorials are pretty simple and easy to understand. There are a few wrappers out there too. I haven't used any of the wrappers, but they look interesting. Also, check out other bookmarked items tagged SQLite on Delicious.
Apart from Peter Quade's excellent answer, may I also suggest you to check out http://www.iphonekicks.com/tags/SQLite - here you would find many bookmarks to SQLite topics.
And just FYI, iPhone Kicks is a social book marking site, a Digg clone but purely for the iPhone SDK links :-)

Is there a gallery of reusable iPhone components on the web? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
There are quite a few reusable iPhone solutions/tricks on the web, mostly scattered on various blogs. However I could not find any single place where they would be collected together (something like what MacUpdate/VersionTracker is to applications).
Is there such a site already?
If not, I'm thinking to create one. What components would you like to see there, and what features do you think such a site needs? (I'm thinking about sharing non-visual classes as well as visual components, and maybe simple code snippets showing various techniques/tricks too.)
I'm aware of https://stackoverflow.com/questions/640805/open-source-iphone-components-reusable-views-controllers-buttons-table-cells.
If you need to display some sort of activity indication while doing background tasks, you can take a look at MBProgressHUD for iPhone.
i think all the answers are missing a point here.
Here are the sites from were you can find reusable components.
1) http://cocoacontrols.com/
2) http://open.iphonedev.com/
3) http://cocoaobjects.com/
Here is the twitter account where you can find popular reusable components on github about iPhone or iPad
4) https://twitter.com/#!/github_objc
The Three20 "library" helped me a lot with understanding how to create reusable components.
Perhaps you already know what functionality to implement. Plus, the library itself is already quite extensive.
If you are looking for an iPhone UI for web page design, check out the free IUI on Google Code.
Great iPhone custom UI elements repository
Graph component. Sweet and simple to use. Straighforward iPhone way: http://code.google.com/p/s7graphview/
Kal implements a Calendar like the one in the Calendar app for you.
http://github.com/klazuka/Kal