Xcode IOS Table Navigation, View Controllers Tab Bar tutorial. No Code.

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ม.ค. 2025

ความคิดเห็น • 73

  • @Louise-ai-agent
    @Louise-ai-agent 13 ปีที่แล้ว

    Thanks, your tutorial was very helpful. Most tutorial require code, so thanks for providing a tutorial that did not require programming.

  • @petakirikiri4074
    @petakirikiri4074 12 ปีที่แล้ว

    A big thank you from New Zealand! Who woulda thought it was SO easy...

  • @chek6989
    @chek6989 12 ปีที่แล้ว

    Thanks, your video provided me with a solution for my project

  • @rodsitvideos
    @rodsitvideos  12 ปีที่แล้ว

    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

  • @rodsitvideos
    @rodsitvideos  12 ปีที่แล้ว

    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 :)

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    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. :)

  • @luisreylarag.6652
    @luisreylarag.6652 12 ปีที่แล้ว

    Thank you for this video, help me a lot.
    Kind Regards from Mexico

  • @DancesofDragons
    @DancesofDragons 13 ปีที่แล้ว

    OMG I have watched a few of your videos you are good ,,, and really funny,,, keep it up

  • @samtohginleon
    @samtohginleon 11 ปีที่แล้ว

    short and shape, i like your presentation.

  • @rodsitvideos
    @rodsitvideos  11 ปีที่แล้ว

    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.

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @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.

  • @Jtalln
    @Jtalln 13 ปีที่แล้ว

    Excellent tutorial. I was wondering, what is the easiest way to have a selected cell push to a movie player?

  • @mannyrothman
    @mannyrothman 13 ปีที่แล้ว

    THANK YOU SOOOO MUCH!!!! You totally helped me!!!!!

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @iJassin In a tab bar project? You need a Navigation Controlleror 'push' connection will not work. But a 'modal' connection should work.

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @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.

  • @MustafaAhmedaniT7
    @MustafaAhmedaniT7 12 ปีที่แล้ว

    Cool! I actually wanted a main view with a button saying "TableView". Will your code still work? Amazing tutorial by the way!!!

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @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!

  • @sspabu
    @sspabu 12 ปีที่แล้ว

    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?

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @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?

  • @rtagdotmobi
    @rtagdotmobi 12 ปีที่แล้ว

    You just saved my ass. I owe you one.

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @brimcgon Cannot quite follow what a swim lane is, but it sounds good. Can you point me at a web reference?

  • @321ali
    @321ali 12 ปีที่แล้ว

    Hi. Useful video... thanks =)
    Just wondering if you could instruct us on how to do the same links but using pickerview
    Thanks

  • @moneymaker1818
    @moneymaker1818 13 ปีที่แล้ว

    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 ?

  • @89rjw
    @89rjw 13 ปีที่แล้ว

    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'

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @ThomasTsuiUSA Try using a 'custom' cell instead of 'basic'. Then you can put lots of objects in there (labels, pictures, backgrounds etc)

  • @psoheil
    @psoheil 12 ปีที่แล้ว

    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?

  • @cafe_y_crema
    @cafe_y_crema 10 ปีที่แล้ว

    love the comments you make.

  • @Linnearandom
    @Linnearandom 13 ปีที่แล้ว

    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?

  • @89rjw
    @89rjw 13 ปีที่แล้ว

    Wow fast commenting. You're great. Thanks

  • @MrTNPT
    @MrTNPT 12 ปีที่แล้ว

    Can you make a vid of how to change the color of the static cells using storyboard?

  • @ShakeShakeShakeRock
    @ShakeShakeShakeRock 13 ปีที่แล้ว

    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!

  • @ZarzeckiMedia
    @ZarzeckiMedia 12 ปีที่แล้ว

    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...

  • @ani007jp
    @ani007jp 12 ปีที่แล้ว

    great tutorial..thanks!

  • @nelrosell1
    @nelrosell1 11 ปีที่แล้ว

    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

  • @rodsitvideos
    @rodsitvideos  12 ปีที่แล้ว

    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)

  • @mharris7190
    @mharris7190 12 ปีที่แล้ว

    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?

  • @frabasile2
    @frabasile2 13 ปีที่แล้ว

    Thanks but how can I populate the cells with array and code?? And how can I add a different image for each cell? Thankss!

  • @067ems
    @067ems 12 ปีที่แล้ว

    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

  • @MrTNPT
    @MrTNPT 12 ปีที่แล้ว

    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

  • @GeorgeMcDonnell6379
    @GeorgeMcDonnell6379 11 ปีที่แล้ว

    Can you link two table views? As in you click one table link and it goes to another table?

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @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.

  • @89rjw
    @89rjw 13 ปีที่แล้ว

    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.

  • @nauxeo
    @nauxeo 12 ปีที่แล้ว

    thank you so much!!!!!!!!! (just thought i put in my 2 cents)

  • @dethklok1989
    @dethklok1989 12 ปีที่แล้ว

    Whats the difference between "module", "push", and "custom"?

  • @MrTNPT
    @MrTNPT 12 ปีที่แล้ว

    How can I change the color of the navigation bar in the storyboard? Thanks!

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @frabasile2 I will try to do an array video (dynamic) later. It needs more code.

  • @KoolKat204
    @KoolKat204 13 ปีที่แล้ว

    Thanks Mate !
    Cheers !

  • @rodsitvideos
    @rodsitvideos  12 ปีที่แล้ว

    I tried: [[UINavigationBar appearance] setTintColor:[UIColor blackColor]];
    in the file AppDelegate.m - seemed to work for me anyway :)

  • @mangpi77
    @mangpi77 13 ปีที่แล้ว

    When I build the application it said Thread1>6main>"return UIApplicationMain(argc, argv, nil, NSStringFromClass([randomAppDelegate class]));" can u help me pls!!. thank you.

  • @Andreasleon27
    @Andreasleon27 12 ปีที่แล้ว

    great video

  • @rodsitvideos
    @rodsitvideos  12 ปีที่แล้ว

    so in AppDelegate.m I have:
    - (void)viewDidLoad
    {
    [super viewDidLoad];
    [[UINavigationBar appearance] setTintColor:[UIColor blackColor]];
    etc as in template

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @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......

  • @ThomasTsuiUSA
    @ThomasTsuiUSA 13 ปีที่แล้ว

    Same, how can i put many photo ( Group photo) in one cell

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    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.

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @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?

  • @kamma4u
    @kamma4u 10 ปีที่แล้ว

    thank you !

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @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.

  • @ThomasTsuiUSA
    @ThomasTsuiUSA 13 ปีที่แล้ว

    I know how to input image view, but it is just let us input single image. how about many?

  • @MrTNPT
    @MrTNPT 12 ปีที่แล้ว

    Thankyouuuuuu!!!

  • @rodsitvideos
    @rodsitvideos  12 ปีที่แล้ว

    Yes, just make the connection segue a modal rather than a push. You do not nded a Navigation Controller then either. Easy peasey

  • @thatkidwithacamera55
    @thatkidwithacamera55 11 ปีที่แล้ว

    very helpful tyty

  • @GINGKOYAYOI
    @GINGKOYAYOI 12 ปีที่แล้ว

    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

  • @MrTNPT
    @MrTNPT 12 ปีที่แล้ว

    but what if I want to use the color #FF0000 ?

  • @rodsitvideos
    @rodsitvideos  12 ปีที่แล้ว

    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 :)

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    Accidentally removed a comment. Sorry, the buttons are invisible and I click on the wrong one's.

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @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;

  • @ThomasTsuiUSA
    @ThomasTsuiUSA 13 ปีที่แล้ว

    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

  • @jasperdj
    @jasperdj 12 ปีที่แล้ว

    Is that what you wanted? *ehhhhh
    Maybe not, but that's what it does. *Lmao

  • @rodsitvideos
    @rodsitvideos  13 ปีที่แล้ว

    @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.

  • @aniketmihir4089
    @aniketmihir4089 12 ปีที่แล้ว

    This video was very helpful. If you want to see how to link a button to a url in xcode check out iperson450.

  • @freedeveloper7638
    @freedeveloper7638 12 ปีที่แล้ว

    texnikal.ru

  • @Xzs23
    @Xzs23 12 ปีที่แล้ว

    How do you create a cell from a different class?