Modal is a one way transfer without navigation back. Push is with a Navigation Controller - which looks after the navigation automatically for you. Custom means 'make your own'. Hope this helps :)
Yes, very easy just go to attributes inspector then 'table view sections' (they are blue icons) and increase 'rows' to whatever you like. All the best with your projects. :)
Yes, just draw a blue line from the cell in one table to the other table, it works well and makes for very powerful apps with no code :). Cannot remember if its a push or a relationship - a push if you have a navigation controller I think.
@ShakeShakeShakeRock Its a good question. The view controller you drag on will use its master class unless you give it a subclass, new file, choose = UIViewController subclass, give it any name. Then click on the view controller in storyboard and go top right to the 'show the identity inspector', from there choose the file you just made. Then that file controls you view with its labels, buttons etc. All the best with it.
@thejoeman0ne What about connect the selected cell to another view controller using push (you need a navigation controller to use push) then use the 'didLoad' method in the view controller (you will have to make a new view controller file for this view). You can put a picture of what's playing or some relevant text to show whilst the sound is playing. Its probably not what you have in mind, but its a quick effort from me.
@TheNicotkd This means you have to assign an 'initial view controller' - its a big arrow on the left of an object in storyboard. Looks like you deleted it or forgot to assign it. All best with it!
Great tut, thank you! Could you tell me what's the best solution in case if I need a table view with dynamic rows/sections and after clicking on each of the elements different view (generated) shows? Is it possible to create with the storyborad + the code or should I rather stay with old xib files?
@89rjw You can name the root view controller in an 'attribute' - its the button that looks like a robot head with big ears. Or did you want to name it by code?
Thank you for your video. And is it possible to add more than three cells in a section of the table view because with static cells i've got only three cells ?
Hey there. Nice tuts. I was wondering why it doesn't say 'back' at the back-button, but it names the title of the view "it came from" How can I get it to be named 'back'
Thank you for the great video. I followed as you did but for some reason when I click on the push button it doesn't bring up the red or yellow view. Any idea what may be wrong?
This is amazing, but for some reason when I push my "red" and other table cells, it won't go to the next screen although I've already linked them with a "Push" option?
this is a great video. one question, though. where do you type code after the storyboard layout is complete? for example, let's say i wanted some code to execute when the "yellow" window is displayed in this video. where do i put THAT code? intuitively, i want there to be .h and .m files created automatically every time i drag and drop a new view controller into the storyboard, but since that doesn't happen, i'm left scratching my head. hopefully someone can be so kind as to help. thanks!
You may have put two connections in by mistake. If you double up on push, modal etc it just doesn't work. Either make a new one or remove the doubled connections (there is a button to do that - its second from top downwards on the extreme right)
Great video. How do I get the views to rotate. I run it but when I rotate the device the table view does not rotate. It is driving me nuts.. Helllllpppp.... Thanks
I do not know how to change table view cells, I searched on google and all the codes I found doesn't seem to work. Can you give me your code? Or make a vid? I really want to make this work and you are so good
@iJassin It must be something simple that you forgot. Sounds like the push connection using the ctrl key did not work correctly. You can zip it up and email me if you want and I will look at it.
I added a UIViewController class via cmd+N and so on gave the viewController of the blue window that class and added the code to the new BlueViewController.m in the viewDidLoad function. But when I run the App it still says "Root View Controler" and not back. I'm tries various things to fix that but it still doesn't work. I'm at a loss of ideas.
When I build the application it said Thread1>6main>"return UIApplicationMain(argc, argv, nil, NSStringFromClass([randomAppDelegate class]));" can u help me pls!!. thank you.
so in AppDelegate.m I have: - (void)viewDidLoad { [super viewDidLoad]; [[UINavigationBar appearance] setTintColor:[UIColor blackColor]]; etc as in template
@89rjw Oh, - my previous comment's code was for a NavigationController plus ViewControllers, but I see you are using a TableViewController, I suppose that is different?. Let me look at that and get back to you......
I suggest you started with an Empty Project or the wrong type of project? Or, there is a connections error that has not been corrected. - look in the 'connections inspector'. You can email your source code if you like and I will look at it.
@NameWastersAnnoyMe I am not up to it yet I'm afraid. In fact I want to do it at some point and looking for best ways. Do tell me if you find a way. I can do a Twitter update if you want a video on that topic? But lists of tweets - not yet.
Hmm black screen? Its a small mistake you are making but I forget exactly what. Something like a missing initial start object or maybe a doubled connection (you have to remove old connectors push ,modals etc) Anyway its a really small thing you have got wrong :)
thank you for your respond, for now i can put many photos into view controller, but i cannot chick it to see. What can i do? would u like to give me your E-mail. i send my screen shots to u. I want to develop a photo album, i don't know how to input many photo in one cell that look like iPhone photo album
@iJassin There is no code in m and h that you have to type. Did you make the table view controller do 'static cells' because 'dynamic Prototypes' is default and does not work. My email is ronsit@gmail.com if you send me your email I can send you a zipped project.
Thanks, your tutorial was very helpful. Most tutorial require code, so thanks for providing a tutorial that did not require programming.
A big thank you from New Zealand! Who woulda thought it was SO easy...
Thanks, your video provided me with a solution for my project
I took a bit of rotation code from an app that does rotate. That's all I remember. I think I just
copy-pasted one method across and it worked
Modal is a one way transfer without navigation back. Push is with a Navigation Controller - which looks after the navigation automatically for you. Custom means 'make your own'.
Hope this helps :)
Yes, very easy just go to attributes inspector then 'table view sections' (they are blue icons) and increase 'rows' to whatever you like.
All the best with your projects. :)
Thank you for this video, help me a lot.
Kind Regards from Mexico
OMG I have watched a few of your videos you are good ,,, and really funny,,, keep it up
short and shape, i like your presentation.
Yes, just draw a blue line from the cell in one table to the other table, it works well and makes for very powerful apps with no code :).
Cannot remember if its a push or a relationship - a push if you have a navigation controller I think.
@ShakeShakeShakeRock Its a good question. The view controller you drag on will use its master class unless you give it a subclass, new file, choose = UIViewController subclass, give it any name. Then click on the view controller in storyboard and go top right to the 'show the identity inspector', from there choose the file you just made. Then that file controls you view with its labels, buttons etc.
All the best with it.
Excellent tutorial. I was wondering, what is the easiest way to have a selected cell push to a movie player?
THANK YOU SOOOO MUCH!!!! You totally helped me!!!!!
@iJassin In a tab bar project? You need a Navigation Controlleror 'push' connection will not work. But a 'modal' connection should work.
@thejoeman0ne What about connect the selected cell to another view controller using push (you need a navigation controller to use push) then use the 'didLoad' method in the view controller (you will have to make a new view controller file for this view). You can put a picture of what's playing or some relevant text to show whilst the sound is playing.
Its probably not what you have in mind, but its a quick effort from me.
Cool! I actually wanted a main view with a button saying "TableView". Will your code still work? Amazing tutorial by the way!!!
@TheNicotkd This means you have to assign an 'initial view controller' - its a big arrow on the left of an object in storyboard. Looks like you deleted it or forgot to assign it.
All best with it!
Great tut, thank you! Could you tell me what's the best solution in case if I need a table view with dynamic rows/sections and after clicking on each of the elements different view (generated) shows?
Is it possible to create with the storyborad + the code or should I rather stay with old xib files?
@89rjw You can name the root view controller in an 'attribute' - its the button that looks like a robot head with big ears.
Or did you want to name it by code?
You just saved my ass. I owe you one.
@brimcgon Cannot quite follow what a swim lane is, but it sounds good. Can you point me at a web reference?
Hi. Useful video... thanks =)
Just wondering if you could instruct us on how to do the same links but using pickerview
Thanks
Thank you for your video. And is it possible to add more than three cells in a section of the table view because with static cells i've got only three cells ?
Hey there. Nice tuts. I was wondering why it doesn't say 'back' at the back-button, but it names the title of the view "it came from"
How can I get it to be named 'back'
@ThomasTsuiUSA Try using a 'custom' cell instead of 'basic'. Then you can put lots of objects in there (labels, pictures, backgrounds etc)
Thank you for the great video. I followed as you did but for some reason when I click on the push button it doesn't bring up the red or yellow view. Any idea what may be wrong?
love the comments you make.
This is amazing, but for some reason when I push my "red" and other table cells, it won't go to the next screen although I've already linked them with a "Push" option?
Wow fast commenting. You're great. Thanks
Can you make a vid of how to change the color of the static cells using storyboard?
this is a great video. one question, though. where do you type code after the storyboard layout is complete? for example, let's say i wanted some code to execute when the "yellow" window is displayed in this video. where do i put THAT code? intuitively, i want there to be .h and .m files created automatically every time i drag and drop a new view controller into the storyboard, but since that doesn't happen, i'm left scratching my head. hopefully someone can be so kind as to help. thanks!
May I ask, how do I get more then 3 tabs in the Table View controller? It seems to be limiting me to just 3...
great tutorial..thanks!
Hi rod,
can you show me how to add a pickerview in tabbed application as my one doesn't work when i add it
Thnks
Nelson
You may have put two connections in by mistake. If you double up on push, modal etc it just doesn't work. Either make a new one or remove the doubled connections (there is a button to do that - its second from top downwards on the extreme right)
The section you commented out wasn't there for me but the cells titles and arrows in the table still aren't showing. Any help?
Thanks but how can I populate the cells with array and code?? And how can I add a different image for each cell? Thankss!
Great video. How do I get the views to rotate. I run it but when I rotate the device the table view does not rotate. It is driving me nuts.. Helllllpppp.... Thanks
I do not know how to change table view cells, I searched on google and all the codes I found doesn't seem to work. Can you give me your code? Or make a vid? I really want to make this work and you are so good
Can you link two table views? As in you click one table link and it goes to another table?
@iJassin It must be something simple that you forgot. Sounds like the push connection using the ctrl key did not work correctly. You can zip it up and email me if you want and I will look at it.
I added a UIViewController class via cmd+N and so on gave the viewController of the blue window that class and added the code to the new BlueViewController.m in the viewDidLoad function. But when I run the App it still says "Root View Controler" and not back. I'm tries various things to fix that but it still doesn't work. I'm at a loss of ideas.
thank you so much!!!!!!!!! (just thought i put in my 2 cents)
Whats the difference between "module", "push", and "custom"?
How can I change the color of the navigation bar in the storyboard? Thanks!
@frabasile2 I will try to do an array video (dynamic) later. It needs more code.
Thanks Mate !
Cheers !
I tried: [[UINavigationBar appearance] setTintColor:[UIColor blackColor]];
in the file AppDelegate.m - seemed to work for me anyway :)
When I build the application it said Thread1>6main>"return UIApplicationMain(argc, argv, nil, NSStringFromClass([randomAppDelegate class]));" can u help me pls!!. thank you.
great video
so in AppDelegate.m I have:
- (void)viewDidLoad
{
[super viewDidLoad];
[[UINavigationBar appearance] setTintColor:[UIColor blackColor]];
etc as in template
@89rjw Oh, - my previous comment's code was for a NavigationController plus ViewControllers, but I see you are using a TableViewController, I suppose that is different?. Let me look at that and get back to you......
Same, how can i put many photo ( Group photo) in one cell
I suggest you started with an Empty Project or the wrong type of project?
Or, there is a connections error that has not been corrected. - look in the 'connections inspector'.
You can email your source code if you like and I will look at it.
@ThomasTsuiUSA Thomas - Afraid I have not looked at many pictures in a single view yet. Like you am interested in that too. Anybody know how to do it?
thank you !
@NameWastersAnnoyMe I am not up to it yet I'm afraid. In fact I want to do it at some point and looking for best ways. Do tell me if you find a way.
I can do a Twitter update if you want a video on that topic? But lists of tweets - not yet.
I know how to input image view, but it is just let us input single image. how about many?
Thankyouuuuuu!!!
Yes, just make the connection segue a modal rather than a push. You do not nded a Navigation Controller then either. Easy peasey
very helpful tyty
This is awesome :) I have problem about linked opengl ES page with table view , I would appreciate if you could guide me about it.
Thank you very much
but what if I want to use the color #FF0000 ?
Hmm black screen? Its a small mistake you are making but I forget exactly what. Something like a missing initial start object or maybe a doubled connection (you have to remove old connectors push ,modals etc)
Anyway its a really small thing you have got wrong :)
Accidentally removed a comment. Sorry, the buttons are invisible and I click on the wrong one's.
@89rjw
In ViewDidLoad method add:
UIBarButtonItem *backButton = 2SQUARE BRACKETSUIBarButtonItem alloc
initWithTitle: @"Replacement Text"
style: UIBarButtonItemStyleBordered
target: nil action: nil SQUARE BRACKET;
SQUARE BRACKETself.navigationItem setBackBarButtonItem: backButtonSQUARE BRACKET;
thank you for your respond, for now i can put many photos into view controller, but i cannot chick it to see. What can i do? would u like to give me your E-mail. i send my screen shots to u. I want to develop a photo album, i don't know how to input many photo in one cell that look like iPhone photo album
Is that what you wanted? *ehhhhh
Maybe not, but that's what it does. *Lmao
@iJassin There is no code in m and h that you have to type. Did you make the table view controller do 'static cells' because 'dynamic Prototypes' is default and does not work.
My email is ronsit@gmail.com if you send me your email I can send you a zipped project.
This video was very helpful. If you want to see how to link a button to a url in xcode check out iperson450.
texnikal.ru
How do you create a cell from a different class?