How to I make a navigation-based app? - iphone

Yes, I know, most of you are thinking I'm an idiot, butt (kidding) I'm not. I've been searching everywhere for something on how to fully make a navigation-based iphone app, but all I've found is how to set up table views or navigation controllers. I haven't found anything on how to create a data model (something simple from arrays and dictionaries, SQLite and CoreData are a bit out of my scope) or navigate it. Does anyone know of any tutorials or anything like that? Thanks.

The key phrase you're looking for is a 'drill down' pattern.
Apple has a great example (with full sample application) of a drill-down application with a basic data controller:
http://developer.apple.com/iphone/library/samplecode/SimpleDrillDown/Introduction/Intro.html

The Stanford iPhone Development Course provides good information on how to set-up a navigation based app. Specifically, lectures 7 - 9 deal with the topics you were interested in. You can find the lectures on iTunes U. The course assignments and handouts are also available on the course website.

Related

iOS 7 CRUD Application - Interface to input data

guys!
I've been studying iOS development for a few days, and I wanted to create a CRUD application to make sure I am understanding the concepts.
Well, I wanted to create a interface to input data similar to the Phone app, where user can insert a new contact. In my understanding, it seems to be a table view. However, every tutorial I find about table views are related to displaying data and not inputing it. Am I right?
I'm not expecting any code sample or anything like that, I just want to know how can I provide a good experience similar to the one in Phone App.
The Contacts app on the iPhone is built on UITableViews. Apple does not provide any guideline for your question. Use them or don't, it's up to you.
It might be quicker though to use a UITableView in your case, as you may need to present/edit much information and the scrolling would already be handled by the system.

Receiving Data from Web iPhone

It's the first time I have done anything like this but wondered what the best way to approach this would be.
I need a web interface which I could enter text, photos and videos, once submitted this can then be seen by users using the app through different feeds and things.
I know its a common thing but what techniques and things should I be learning? I'm not sure where to start.
Any help would be much appreciated as any information would be helpful, thanks.
Some links on documentation:
URL Loading system programming guide
UIWebView class reference
NSURLConnectionDelegate Protocol Reference
There is also NSURLConnectionDataDelegate
I would also recommend you great book by Vandad Nahavandipoor.
The book iOS 5 Programming Pushing the Limits seems great to me.
Good luck.

iPhone interface examples

I am trying to design a user interface for my iPhone app. It is going to be a simple form kind of look, which has around 8-9 labels and 1 textbox for user input and 1 button.
I am trying to design it in IB.
Can I get some good examples or tools online to create the interface.
Thank you.
Whatever you do, start by reading the iOS Human Interface Guidelines

iPhone UI design...!

I have seen apps in App Store that have really attractive UI.When i make an app i use only the default set of control provided by Interface Builder and my app(even though good in functionality)does not have a UI that can attract people.Is there any ref or sample code that teaches us how to design good UIs for iPhone apps.
Also I want to place a control in my App similar to one in iPhone(i.e the way we unlock the iPhone by sliding a button and the iPhone gets unlocked)how can we do this.Please provide some ref or sample code for it.
There is no simples step by step description of how to make really attractive ui's. It takes both time, skill and a sense of esthetics. However, a good starting point is to thoroughly read your way through apples iphone human interface guidelines:
http://developer.apple.com/iphone/library/documentation/userexperience/conceptual/mobilehig/Introduction/Introduction.html

How to show related city name according to the incoming call on iPhone?

I want to add something (eg. the related city name) into the UI view when I make a phone call or received a phone call on iPhone. However, I can't figure out a good solution for this idea. Could anyone who has experience on this subject gives me some suggestions?
My currently solution is, try to write an extension based on mobile substrate and hook functions in SpringBoard. So many difficulties existed and following are my current big questions,
How to develop such a extension? I downloaded some examples from google, unfortunately they cann't even be compiled on my toolchain.
I can't figure out which ui view for the related screen I should use to insert my own component. I get header files of SpringBoard via class-dump, but no docs and no comments about its usage. Could someone share his discoveries with me?
How to build a trusted cross-compiling enviroment on leopard? All kinds of confusing errors pop up when I try to build others's codes. I've tried Zdziarski's instrunctions in his book, it works with iPhone OS 1 and can compile common projects with open sdk, but how should I do to make it works when comipiling ms plugins?
Also, is there any other solution to translate my ideas to codes? I start iPhone development one month ago, no experience with cocoa/Obj-C before. So your suggestions are very appriciated.
~ Link Bian (卞林扣)
Email/MSN: linkou.bian#gmail.com
I think you are asking for too much. It wont be possible to manipulate incoming/outgoing call screens. Ethically, that is.
Zdziarski is a hacker and from his book, you will get many undocumented API calls which will make Apple reject your app. Same goes for Erica Sadun's iPhone Developer's Cookbook.
Something that really helped me get dylibs compiled was using SkylarEC's Xcode template and just appended an extension of '.dylib' onto the binary and sshing it into /Library/MobileSubstrate/DynamicLibraries. I suggest hooking SBCallAlert or SBCallAlertDisplay to get the id of the caller which is usually just an NSString. Play around with it a little bit, those are all the visualizing methods of a call. If you put in an nslog in your custom override method, you can view the output in iPhoneConfgurationUtilitie (windows) or the console in Xcode. From there you would most likley need an index of area codes to comare the callers to. I don't believe you can add subviews to the call, on I intercept and reissue the strings for the views already there.
But you know, apple doesn't like this :P
lemme know if this helps