Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS sample projects to learn from


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.

like image 845
DerMike Avatar asked Aug 10 '11 12:08

DerMike


People also ask

What should we learn for iOS developer?

To become an iOS Developer – and especially a really great iOS Developer – requires a firm grasp of several hard skills, including conceptualization, market research, basic design, and especially coding, as well as user testing, compliance, and finally, submitting your app to the App Store.

Is it worth learning iOS development in 2020?

iOS development is worth it because it lets you be creative and a problem-solver, two important skills that can lead to a fulfilling career but two that aren't always found in a single position.

Is iOS development hard to learn?

With helpful feedback, it's relatively straightforward (at least when compared to other programming languages) to learn Swift to the point where you can begin doing useful things with it. Of course, knowing Swift or Objective-C doesn't quite make you a Developer yet.


2 Answers

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.

like image 74
mmc Avatar answered Oct 01 '22 08:10

mmc


I would suggest the following process: (it worked for me)

  1. Think of an advanced app. that you eventually want to be proficient enough to create.
  2. Make a top-down problem-solving tree containing the necessary skills required to build your final app.
  3. 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.
  4. Keep progressing upwards, creating 'sub apps' as you go.
  5. 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!

like image 36
AlexFZ Avatar answered Oct 01 '22 09:10

AlexFZ