Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Agi

macrumors newbie
Original poster
Mar 29, 2008
5
0
Hy,

first of all, I don't want you to wright an application for m, I just want to understand the way it is build.

The question I have on this point is how to put together the navigation bar, tabBar (4 categories), tableView and Uiview.

I know that it is drag and drop, but the problem i have is how the structure is laid down. I figured out that the UIView is probably just one, and it's then connected to all the different styles (for each group). But i don't know where and how to define the different stiles for those 4 categories.

Basically the first and the last should have just the black background and the second and third should have indexed list that continues to more detailed view.

I hope all of these is not to confusing. And sorry for the mistakes in the language. Im trying to be bather :)
 

Eraserhead

macrumors G4
Nov 3, 2005
10,434
12,250
UK
Yeah, I think you are asking us to write the application for you ;). I suggest you learn with doing some tutorials for Cocoa on the Mac first.
 

Agi

macrumors newbie
Original poster
Mar 29, 2008
5
0
Yeah, I think you are asking us to write the application for you ;). I suggest you learn with doing some tutorials for Cocoa on the Mac first.

Sorry for that. I forgot to put the image of what i've done. So you could tell me if i'm going in the right direction.

my.php
[/URL][/IMG]
 

Agi

macrumors newbie
Original poster
Mar 29, 2008
5
0
At this point you can see much. Because I would like to just drag and drop the elements and then learn how to connect them all together. That's why i'm asking if this is the right way.
 

Agi

macrumors newbie
Original poster
Mar 29, 2008
5
0
No. Thats the point. I was trying to put all the elements together in IB first, and then start coding.
 

Cromulent

macrumors 604
Oct 2, 2006
6,812
1,100
The Land of Hope and Glory
No. Thats the point. I was trying to put all the elements together in IB first, and then start coding.

If you just want to learn how to use IB then that is fine I guess, but if you are writing an application I'm sure it would be easier to put it together piece by piece and debug as you go rather than doing it all at once and trying to catch bugs at the end.
 

Agi

macrumors newbie
Original poster
Mar 29, 2008
5
0
But there is the problem. Because i'm new in this i don't know where to start. I thought that it would be essayer to make the IB part and then the code.

I'm basically totally lost right now. I have a great idea that needs allot of work and eaves more coding knowledge which I don't have. I can't ask someone to do it for me and then learn from it. And it looks like i'm not even able to start properly.

That's why i tried to ask you guys for some help.
 

TeeJayEm

macrumors regular
Mar 28, 2008
104
0
At this point you can see much. Because I would like to just drag and drop the elements and then learn how to connect them all together. That's why i'm asking if this is the right way.


You are on the right track. Here is a very good tutorial on how to connect your IB project to xcode. This is however a tutorial for a mac application but the same concepts for Cocoa Touch are the same. Here is another good Example related more to Cocoa Touch
 

Cromulent

macrumors 604
Oct 2, 2006
6,812
1,100
The Land of Hope and Glory
That's why i tried to ask you guys for some help.

Okay, I'll try and help as much as I can.

Step 1. Learn Objective-C. You won't be able to do anything until you know the Objective-C programming language, Cocoa is entirely built on it.

Step 2. Spend some time reading the Cocoa documentation available on Apples developer site (developer.apple.com), especially this document.

Step 3. Learn how to use Xcode and Interface Builder by reading the manuals that come with them (you may want to start reading them as you are learning Objective-C so you can compile code as you are learning, you want need Interface Builder until this point though).

Hopefully that'll give you an idea of the steps needed to start writing applications in Cocoa for Mac OS X and the iPhone.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.