Giter Club home page Giter Club logo

storyboardrecipes's Introduction

Recipes Redone and Extended with Storyboards

A storyboard can be thought of as a collection of view controllers and their nib files. The neat thing about storyboards is the ease of editing the flow of the application. The entire flow of our application can be specified in one storyboard and the storyboards take care of all the controllers and their relationships.

Note: Before I could edit the prototype cell attributes I had to change the number of prototype cells from 0 to 1 in table view attributes. Nice the way the cell content is displayed. Showed title, subtitle and image.

Container Controllers

  • Tab Bar (Example: Music App)
  • Navigation Bar (Example: Mail App)
  • Split View (iPad only)

Container controllers define the interaction model of the content controllers they manage. In this book they do not cover creating custom container controllers.

The segue that has a container controller is really a container seque. So it is important to name segues and be sure you have the correct one by checking name. When adding the Navigation Controller make sure the Resize View From NIB box is checked so the view is properly sized.

After adding the navigation controller we want to make transitions move sideways so change from modal to push. Also we now have a navigation bar at the top of the details view and a back button so we do not need the Done button and we can move the recipe title to the bar.

Idioms

Deleting Code

It is better to delete code than comment it out. Why? Well, if you have version control then it is not really deleted but the maintainers are looking at the existing code. If you comment unused code out it just makes more work for maintainers, even if you put in good comments.

Git Lesson

Well, we all make mistakes. I misspelled a word in a commit statement. If I catch it right away I can change the last commit message with just one line using --amend:

git commit --amend -m "The corrected message."

This is from stackoverflow

Resources

[MultiMarkdown Composer] 2 is a great tool for editing this README.md file. Add Marked for rending (it has a GitHub style) and its unbeatable. They do both markdown and multimarkedown but all that is needed for github is markdown.

storyboardrecipes's People

Contributors

perfectionist avatar

Stargazers

Sandro Ponticelli avatar  avatar

Watchers

 avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.