iOS sample projects to learn from - ios

I am just starting iOS development. I read some tutorials, watched stuff on iTunes U and wrote some sample code myself. Now I want to take the next step. I want to learn about best practices for iOS development in XCode.
Are there any well written and well organized iOS projects that one could take a look at?
(As I see it, iOS is not exactly the place for open source enthusiasts, however.)
Thanks
Mike.

I agree with several of the other answers that state that looking at many, many projects for mini-examples of what you want to do in your own app is the way to go.
However, you asked for an example of an app demonstrating best practices.
You could do worse than to read Matt Gallagher's blog, Cocoa with Love from beginning to end. However, the app example you asked for is right here.
Not only will it show a variety of techniques, some novel design and best-practices, but also he points out where he feels that he might have done something better.
It's a great read.

I would suggest the following process: (it worked for me)
Think of an advanced app. that you eventually want to be proficient enough to create.
Make a top-down problem-solving tree containing the necessary skills required to build your final app.
Use this tree to divide your final app. into 'sub apps'. Start at the bottom of the tree, find a tutorial specifically for that skill, and make a "Hello World" app. that uses that skill.
Keep progressing upwards, creating 'sub apps' as you go.
When you are finally ready to make your final app. (it will take a while), you will have a good handle on how iOS development works. It will also be a great test of your knowledge via direct application!
Getting the hang of iOS development can be tricky; it really does require a top-down approach, and every online resource I've found takes a linear one. The only way that I think a linear approach to learning iOS development would be manageable, is to take it one small task at a time.
As for specific resources, I always google "[what I want to do] iPhone SDK" and browse the tutorials and forum posts that come up.
Here are some open source iOS apps. However, they aren't very well documented and are also very advanced.
TKAWebView - A subclass of UIWebView that handles authentication and downloading.
Welcome to your Mac - An iOS app. to VNC into a PC/Mac and do some cool stuff.
InAppSettingsKit - A settings screen creator for your apps.
Good luck!

The people behind the Parse platform have made two complete projects.
For each project there is the complete source code, a tutorial and the resulting app is also available from the AppStore.
Anywall: https://parse.com/anywall
Anypic: https://parse.com/anypic
They both rely heavily on the Parse platform as the data source, but you still get a feel for an iOS project.

Molecules is a great open-source app that uses 3D OpenGL to render complex models of molecules.

Just keep coding my friend. You'll learn over a period of time. The best way to get dirty in a mud fight is to jump into it... Weird analogy but you get the point.
Maybe someday, we all will learn from you then !

Like you said there many and many source codes are available internet, but most are incomplete.
I found some Open source codes of REAL application currently available through Apple app store are given here
Free iPhone App Source Codes of real apps
and also, you can find many answers here on stackoverflow question - Are there any Open-source iPhone applications around?

You can download free IOS sample projects from http://devcodemarket.com

I realize this is an old thread but I've also been looking for good objective-c code examples recently and I just realized that TextEdit's source code is available at the Mac Developer Library webpage.
Also, here are some popular objective-c libraries that have caught my attention:
CocoaPods
AFNetworking.

you can also go through UICatalog from Developers Library and download the sample code. just google it and you will find a project containing all basics of iphone.

I don't think there is any perfect project that can demonstrate all the qualities of great code. Developers have stylistic preferences and may make mistakes. That said, you should look at a lot of different projects and try to look at the conventions used.
I'd suggest starting on GitHub. Besides for seeing code, you'll see what libraries are out there, which may help further your projects later on. Here's the Objective-C page on GitHub.
(Also, I (GitHub link) think you're wrong about iOS devs not being in favor open source. Yes, there's money to be made, but you can't sell a CSV paring library on the App Store as is.)

Have a look at https://github.com/mozilla/firefox-ios
That is Firefox for iOS, written in Swift.

Cocoacontrols has a wide range of controls written using Objective-C & Swift.
I believe these days, this is one of the most famous website for iOS Developers.
But, before you jump onto this, you have to learn Objective-C & Swift very well, so that you will understand how to use the controls in your app which makes your app smooth.

Related

Want to build iOS app

What is the best application or programming languages to build an iOS application platform for chat application for beginner like me. Please anyone can tell me about it.
Apple put a lot of effort in its new `Swift' language.
On any Mac computer, you will find XCode on the app store.
iBook has a nice and clear electronic copy of the guide.
I've gotta admit I was a bit circumspect ("yet a new language ?") but it appears has they sell it, solid and sound.(It's compiled and based on llvm. It is open as well, perhaps MIT license?)
I think they basically came up with C# for iPhone (it may even spawn from `mono'?)
But, again, the license model for the source make it sound more promising.
I found the iBook guide for very comprehensive when it came to the very basic of the language and the libraries.
XCode comes with quite a few templates showcasing each major application type. (You can also check the other languages for yourself: Objective-C and javascript)
So the two complement nicely.
If you are starting from scratch, I see no reason not to start on this train.
Since it's straight from Apple, and if coming up with Android isn't yet part of your plan, it will also be your path of least resistance when it comes to technical difficulties.

Is there any good Tutorial or a Reference to cocos3d

Cocos3d looks like a good 3d library to work with in IOS, but it stills in beta, and the
documentation provided on the brenwill site is really not enough to
understand how to work with it, it's just a guide about the classes no tutorial, and i have been searching the web for quit some time without any luck for even something close to a tutorial. Does anyone know from where i can learn this framework?
You should have a look at the CC3DemoMashup project that comes with the framework when you download it. It demonstrates how to use many of the key features of cocos3d, and is well documented.

Overviews/introductions to Interface Builder for experienced developers?

Any good resources for learning IB (for iOS) for experienced developers? I've tried reading through the Apple docs several times now, but all the Apple-specific terminology always turns me off. The official stuff also insists that IB doesn't produce code and so draws no connections there, which is frustrating.
I've managed to put together a few iOS apps, the last couple of times purely in code, but really need to make my peace with IB now.
I guess what I'm really looking for is a translation from Apple's galapagos language to rest-of-the world terms. Drawing connections from IB to the UI objects generated at runtime would also be great.
Thanks!
PS - I'm aware that there exist cross-platform and other third-party frameworks for development (I've tried them all) and of the official docs. IB is the only first-class citizen in Apple-land, and is probably quite good once you're used to it, so that's what I'd like to be using.
Watch Paul Hegarty's lectures on iTunesU. Fall 2011, Stanford Uni iPhone Development. Covers Storyboarding very clearly in an early lecture.
Any decent book will help you understand Interface Builder. What I think, is that you are looking for the perfect book/resource, and that doesn't exist. I really enjoyed iOS5 Pushing the Limits , although I am sure that many others have found other enjoyable books. A quick search on google: "Tutorial iOS Interface Builder" will reveal countless resources that you can use. The most important thing: just dive and have fun while doing it.

Documentation of linphone (open source sip library) for iphone

Can anybody help me to find the developers documentation of linphone for iOS.
I want to understand the architecture and functionality of the project.
Thanks in advance.
I am afraid that apart from http://www.linphone.org/eng/documentation/ (that you've supposedly seen already) there is no documentation on this project. You will need to read the source code if you need more information about the architecture/etc. Since open source projects are developed very often in the author's spare time, it is quite common that they concentrate on the actual code writing instead of drawing architectural diagrams and design documents.
If you need a SIP stack for iOS I would recommend you to have a look at pjsip. It is definitely a more mature project with extensive documentation on every level.
All you need is google the function you want to check, and then there will be many documentation links. Those documentation may be different because of different versions. I think it is enough for you.
For example:
http://fossies.org/dox/linphone-3.5.2/index.html

ios - iphone notes application

I am studying how to make iPhone apps - and I learn best by dissecting the source code and see why something works the way it does.
I was wondering if anyone new if there is a clone app of the apple's notes app that I could check the source code on. Not to publish in the store myself, but to learn how certain things are done.
I am getting a pretty good Idea, I just want to compare what I have learned so far to an actual note app:-)
Cheers Jeff
I found one in case anyone else wants to go through this exercise as well.
https://github.com/vkoser/PlainNote
Jeff

Resources