SlideShare a Scribd company logo
1 of 23
Download to read offline
iOS App Development With Storyboard
Babul Mirdha
Senior Software Engineer
LeadSoft Bangladesh Limited
About Babul MirdhaAbout Babul Mirdha
Founder at
সcা.net (www.seccha.net)
Senior Software Engineer at
LeadSoft Bangladesh Limitedg
www.fb.com/BabulMirdha
Having more than 5 years of
working experiences with iOS,
Android, Windows Phone, Web &
D k ( N ) d l IDesktop (.Net) app development, I
have worked with various
languages, technologies & tools in
different environment.
ContentsContents
Understanding MVC architecture
Xib vs StoryboardXib vs Storyboard
Understanding MVC architectureUnderstanding MVC architecture
Understanding MVC architectureUnderstanding MVC architecture
The Model-View-Controller (MVC) design pattern assigns
objects in an application one of three roles:j pp
model,
view, or
controllercontroller.
The pattern defines not only the roles objects play in the
application, it defines the way objects communicate with each
other.
Each of the three types of objects is separated from the others
by abstract boundaries and communicates with objects of theby abstract boundaries and communicates with objects of the
other types across those boundaries.
MVC is central to a good design for a Cocoa application.
Advantages of MVCAdvantages of MVC
The benefits of adopting this pattern are numerous.
Many objects in applications tend to be more reusable andMany objects in applications tend to be more reusable, and
their interfaces tend to be better defined.
Applications having an MVC design are also more easily
extensible than other applications.
Many Cocoa technologies and architectures are based on
MVC and require that your custom objects play one of theMVC and require that your custom objects play one of the
MVC roles.
MVC architecture in iOSMVC architecture in iOS
Xib (Old)
Interface Builder
•allows Cocoa and Carbon developers to create
interfaces for applications using a graphical user
interface.
•The resulting interface is stored as a nib file short•The resulting interface is stored as a .nib file, short
for NeXT Interface Builder, or more later, as
a .xib filea .xib file
XibXib
Apple remove it from xcode 5.
You have only one option to choose storyboardYou have only one option to choose storyboard.
if you want to xibs then remove storyboard after creating
singleView application and add xib manually.
another option is to create application in xcode 4.6 or earliar
version then run it on xcode 5.
What is storyboardWhat is storyboard
Storyboard is an exciting new feature in iOS 5 that will
save a lot of time building user interfaces for Appssave a lot of time building user interfaces for Apps
Advantages of StoryboardAdvantages of Storyboard
With a storyboard you have a better conceptual
overview of all the screens in your app and theoverview of all the screens in your app and the
connections between them.
The storyboard describes the transitions between the
various screens.
Storyboards make working with table views a lot easier
i h h ll d i ll fwith the new prototype cells and static cells features.
Can also use .xibs if needed with storyboards.
Disadvantages of StoryboardDisadvantages of Storyboard
You also need a big monitor, especially when write iPad
apps!apps!
it is only available in iOS 5 onward
Merges can be very difficult if not impossible if there areg y p
conflicts.
Creating Storyboard ProjectCreating Storyboard Project
Fire up Xcode and create a new Empty App project.
Product Name: RatingsProduct Name: Ratings
Company Identifier: the identifier that you use foryour apps, in
reverse domain notation
Class Prefix: leave this empty
Device Family: iPhone
Use Storyboard: check thisUse Storyboard: check this
Use Automatic Reference Counting: check this
Include UnitTests: this should be unchecked
Creating Storyboard ProjectCreating Storyboard Project
Add a storyboard for iPhoneAdd a storyboard for iPhone
Click >File>oNew>File
Click> User Interface> StoryboardClick> User Interface> Storyboard
Click>Next
Select>iPhoneSelect>iPhone
Click>Next
Type >Storyboard iPhoneType Storyboard_iPhone
StoryboardStoryboard
Set Storyboard to be loadedSet Storyboard to be loaded
Specify the name of the storyboard that must be loaded
when the app startswhen the app starts
Info.plistInfo.plist
In info.plist file, Storyboard apps use the key
UIM S b dF l “M b d f l b ”UIMainStoryboardFile, or “Main storyboard file base name”, to
specify the name of the storyboard that must be loaded when
the app starts.
Design Scene or SecreenDesign Scene or Secreen
Storyboard SeguesStoryboard Segues
A segue is a transition from one view to another.g
E.g. select the + button and ctrl-drag to the new
Navigation Controller.
DemoDemo
New TerminilogiesNew Terminilogies
MVC
xCodexCode
Xib
StoryboardStoryboard
Segue
iOS App Development with Storyboard

More Related Content

What's hot

What's hot (20)

Designing Mobile Apps with HTML5 & CSS3
Designing Mobile Apps with HTML5 & CSS3Designing Mobile Apps with HTML5 & CSS3
Designing Mobile Apps with HTML5 & CSS3
 
Silverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression BlendSilverlight 2 with Visual Studio 2008 and Expression Blend
Silverlight 2 with Visual Studio 2008 and Expression Blend
 
Create an image classifier with azure custom vision net sdk
Create an image classifier with azure custom vision net sdkCreate an image classifier with azure custom vision net sdk
Create an image classifier with azure custom vision net sdk
 
Roadmap to Development
Roadmap to DevelopmentRoadmap to Development
Roadmap to Development
 
What is so cool about Android 4.0
What is so cool about Android 4.0What is so cool about Android 4.0
What is so cool about Android 4.0
 
Hybrid application development
Hybrid application developmentHybrid application development
Hybrid application development
 
Busting myths about business apps, low code style
Busting myths about business apps, low code styleBusting myths about business apps, low code style
Busting myths about business apps, low code style
 
What To Choose Between - Native App And Hybrid Mobile App
What To Choose Between - Native App And Hybrid Mobile AppWhat To Choose Between - Native App And Hybrid Mobile App
What To Choose Between - Native App And Hybrid Mobile App
 
Flutter vs React Native Development in 2020
Flutter vs React Native Development in 2020Flutter vs React Native Development in 2020
Flutter vs React Native Development in 2020
 
Google flutter the easy and practical way
Google flutter the easy and practical wayGoogle flutter the easy and practical way
Google flutter the easy and practical way
 
Phone gap
Phone gapPhone gap
Phone gap
 
Visual Studio for Mac (AltConf 2017)
Visual Studio for Mac (AltConf 2017)Visual Studio for Mac (AltConf 2017)
Visual Studio for Mac (AltConf 2017)
 
Presentation
PresentationPresentation
Presentation
 
Introduction to flutter
Introduction to flutter Introduction to flutter
Introduction to flutter
 
Creating 3 Beautiful Apps At Once - Intro To Xamarin.Forms
Creating 3 Beautiful Apps At Once - Intro To Xamarin.FormsCreating 3 Beautiful Apps At Once - Intro To Xamarin.Forms
Creating 3 Beautiful Apps At Once - Intro To Xamarin.Forms
 
Android Study Jams: Info Session
Android Study Jams: Info SessionAndroid Study Jams: Info Session
Android Study Jams: Info Session
 
Top reason to choose flutter app development
Top reason to choose flutter app developmentTop reason to choose flutter app development
Top reason to choose flutter app development
 
Mobile App Development Services @PixelCrayons
Mobile App Development Services @PixelCrayonsMobile App Development Services @PixelCrayons
Mobile App Development Services @PixelCrayons
 
New-CV_ver01
New-CV_ver01New-CV_ver01
New-CV_ver01
 
Why hybrid-is-important
Why hybrid-is-importantWhy hybrid-is-important
Why hybrid-is-important
 

Viewers also liked

Web-In 2010: Programmation Native iOS (French)
Web-In 2010: Programmation Native iOS (French)Web-In 2010: Programmation Native iOS (French)
Web-In 2010: Programmation Native iOS (French)
Fred Brunel
 

Viewers also liked (12)

iOS storyboard
iOS storyboardiOS storyboard
iOS storyboard
 
Storyboard 研究
Storyboard 研究Storyboard 研究
Storyboard 研究
 
IOS Storyboards
IOS StoryboardsIOS Storyboards
IOS Storyboards
 
Web-In 2010: Programmation Native iOS (French)
Web-In 2010: Programmation Native iOS (French)Web-In 2010: Programmation Native iOS (French)
Web-In 2010: Programmation Native iOS (French)
 
Top 8 Reasons Why Social Media is a must for Small Business
Top 8 Reasons Why Social Media is a must for Small BusinessTop 8 Reasons Why Social Media is a must for Small Business
Top 8 Reasons Why Social Media is a must for Small Business
 
Software architectural design patterns(MVC, MVP, MVVM, VIPER) for iOS
Software architectural design patterns(MVC, MVP, MVVM, VIPER) for iOSSoftware architectural design patterns(MVC, MVP, MVVM, VIPER) for iOS
Software architectural design patterns(MVC, MVP, MVVM, VIPER) for iOS
 
How to make an effective presentation
How to make an effective presentationHow to make an effective presentation
How to make an effective presentation
 
The Future of Medical Education - Top Trends Likely to Have an Impact on the ...
The Future of Medical Education - Top Trends Likely to Have an Impact on the ...The Future of Medical Education - Top Trends Likely to Have an Impact on the ...
The Future of Medical Education - Top Trends Likely to Have an Impact on the ...
 
How To Write A Business Proposal - The Ultimate Guide
How To Write A Business Proposal - The Ultimate GuideHow To Write A Business Proposal - The Ultimate Guide
How To Write A Business Proposal - The Ultimate Guide
 
Gamification vs. Game-Based Learning - Theories, Methods, and Controversies
Gamification vs. Game-Based Learning - Theories, Methods, and ControversiesGamification vs. Game-Based Learning - Theories, Methods, and Controversies
Gamification vs. Game-Based Learning - Theories, Methods, and Controversies
 
How to make effective presentation
How to make effective presentationHow to make effective presentation
How to make effective presentation
 
How do we see the healthcare's digital future and its impact on our lives?
How do we see the healthcare's digital future and its impact on our lives?How do we see the healthcare's digital future and its impact on our lives?
How do we see the healthcare's digital future and its impact on our lives?
 

Similar to iOS App Development with Storyboard

Nikesh_CV_Larsen_&_Toubro
Nikesh_CV_Larsen_&_ToubroNikesh_CV_Larsen_&_Toubro
Nikesh_CV_Larsen_&_Toubro
Nikesh Mangwani
 

Similar to iOS App Development with Storyboard (20)

Shankar
ShankarShankar
Shankar
 
Enterprise ipad Development with notes
Enterprise ipad Development with notesEnterprise ipad Development with notes
Enterprise ipad Development with notes
 
Step-by-Step Guide to Developing a Successful iOS App.docx
Step-by-Step Guide to Developing a Successful iOS App.docxStep-by-Step Guide to Developing a Successful iOS App.docx
Step-by-Step Guide to Developing a Successful iOS App.docx
 
Step-by-Step Guide to Developing a Successful iOS App.pdf
Step-by-Step Guide to Developing a Successful iOS App.pdfStep-by-Step Guide to Developing a Successful iOS App.pdf
Step-by-Step Guide to Developing a Successful iOS App.pdf
 
iOS Storyboards
iOS StoryboardsiOS Storyboards
iOS Storyboards
 
Top mobile app development frameworks to consider in 2021
Top mobile app development frameworks to consider in 2021Top mobile app development frameworks to consider in 2021
Top mobile app development frameworks to consider in 2021
 
Best iOS Application Development Tools.pdf
Best iOS Application Development Tools.pdfBest iOS Application Development Tools.pdf
Best iOS Application Development Tools.pdf
 
iOS Application Development Step by Step to develop an iOS App.pdf
iOS Application Development Step by Step to develop an iOS App.pdfiOS Application Development Step by Step to develop an iOS App.pdf
iOS Application Development Step by Step to develop an iOS App.pdf
 
200910 - iPhone at OOPSLA
200910 - iPhone at OOPSLA200910 - iPhone at OOPSLA
200910 - iPhone at OOPSLA
 
iOS Developer Interview Questions
iOS Developer Interview QuestionsiOS Developer Interview Questions
iOS Developer Interview Questions
 
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf
6 Best JavaScript Framework for Mobile Apps Trending in 2023.pdf
 
CS6611 Mobile Application Development Laboratory
CS6611 Mobile Application Development LaboratoryCS6611 Mobile Application Development Laboratory
CS6611 Mobile Application Development Laboratory
 
Cs 6611 mad lab manual
Cs 6611 mad lab manualCs 6611 mad lab manual
Cs 6611 mad lab manual
 
Hello world ios v1
Hello world ios v1Hello world ios v1
Hello world ios v1
 
Iphone development
Iphone developmentIphone development
Iphone development
 
Comparisons react native vs. flutter vs. ionic vs. xamarin vs. native script
Comparisons  react native vs. flutter vs. ionic vs. xamarin vs. native scriptComparisons  react native vs. flutter vs. ionic vs. xamarin vs. native script
Comparisons react native vs. flutter vs. ionic vs. xamarin vs. native script
 
Felgo vs. Flutter vs. React Native: An in-Depth Comparison
Felgo vs. Flutter vs. React Native: An in-Depth ComparisonFelgo vs. Flutter vs. React Native: An in-Depth Comparison
Felgo vs. Flutter vs. React Native: An in-Depth Comparison
 
Layer architecture of ios (1)
Layer architecture of ios (1)Layer architecture of ios (1)
Layer architecture of ios (1)
 
Basic iOS Training with SWIFT - Part 1
Basic iOS Training with SWIFT - Part 1Basic iOS Training with SWIFT - Part 1
Basic iOS Training with SWIFT - Part 1
 
Nikesh_CV_Larsen_&_Toubro
Nikesh_CV_Larsen_&_ToubroNikesh_CV_Larsen_&_Toubro
Nikesh_CV_Larsen_&_Toubro
 

More from Babul Mirdha

Objective-C with respect to C# and Java
Objective-C with respect to C# and JavaObjective-C with respect to C# and Java
Objective-C with respect to C# and Java
Babul Mirdha
 
An Objective-C Primer
An Objective-C PrimerAn Objective-C Primer
An Objective-C Primer
Babul Mirdha
 
Startup to be iOS developer
Startup to be iOS developerStartup to be iOS developer
Startup to be iOS developer
Babul Mirdha
 
Test Driven iOS Development (TDD)
Test Driven iOS Development (TDD)Test Driven iOS Development (TDD)
Test Driven iOS Development (TDD)
Babul Mirdha
 
Hands on training on DbFit Part-II
Hands on training on DbFit Part-IIHands on training on DbFit Part-II
Hands on training on DbFit Part-II
Babul Mirdha
 
Hands on training on DbFit Part-I
Hands on training on DbFit Part-IHands on training on DbFit Part-I
Hands on training on DbFit Part-I
Babul Mirdha
 

More from Babul Mirdha (7)

Water Transport Safety
Water Transport SafetyWater Transport Safety
Water Transport Safety
 
Objective-C with respect to C# and Java
Objective-C with respect to C# and JavaObjective-C with respect to C# and Java
Objective-C with respect to C# and Java
 
An Objective-C Primer
An Objective-C PrimerAn Objective-C Primer
An Objective-C Primer
 
Startup to be iOS developer
Startup to be iOS developerStartup to be iOS developer
Startup to be iOS developer
 
Test Driven iOS Development (TDD)
Test Driven iOS Development (TDD)Test Driven iOS Development (TDD)
Test Driven iOS Development (TDD)
 
Hands on training on DbFit Part-II
Hands on training on DbFit Part-IIHands on training on DbFit Part-II
Hands on training on DbFit Part-II
 
Hands on training on DbFit Part-I
Hands on training on DbFit Part-IHands on training on DbFit Part-I
Hands on training on DbFit Part-I
 

Recently uploaded

Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

iOS App Development with Storyboard

  • 1. iOS App Development With Storyboard Babul Mirdha Senior Software Engineer LeadSoft Bangladesh Limited
  • 2. About Babul MirdhaAbout Babul Mirdha Founder at সcা.net (www.seccha.net) Senior Software Engineer at LeadSoft Bangladesh Limitedg www.fb.com/BabulMirdha Having more than 5 years of working experiences with iOS, Android, Windows Phone, Web & D k ( N ) d l IDesktop (.Net) app development, I have worked with various languages, technologies & tools in different environment.
  • 5. Understanding MVC architectureUnderstanding MVC architecture The Model-View-Controller (MVC) design pattern assigns objects in an application one of three roles:j pp model, view, or controllercontroller. The pattern defines not only the roles objects play in the application, it defines the way objects communicate with each other. Each of the three types of objects is separated from the others by abstract boundaries and communicates with objects of theby abstract boundaries and communicates with objects of the other types across those boundaries. MVC is central to a good design for a Cocoa application.
  • 6. Advantages of MVCAdvantages of MVC The benefits of adopting this pattern are numerous. Many objects in applications tend to be more reusable andMany objects in applications tend to be more reusable, and their interfaces tend to be better defined. Applications having an MVC design are also more easily extensible than other applications. Many Cocoa technologies and architectures are based on MVC and require that your custom objects play one of theMVC and require that your custom objects play one of the MVC roles.
  • 7. MVC architecture in iOSMVC architecture in iOS
  • 8. Xib (Old) Interface Builder •allows Cocoa and Carbon developers to create interfaces for applications using a graphical user interface. •The resulting interface is stored as a nib file short•The resulting interface is stored as a .nib file, short for NeXT Interface Builder, or more later, as a .xib filea .xib file
  • 9. XibXib Apple remove it from xcode 5. You have only one option to choose storyboardYou have only one option to choose storyboard. if you want to xibs then remove storyboard after creating singleView application and add xib manually. another option is to create application in xcode 4.6 or earliar version then run it on xcode 5.
  • 10. What is storyboardWhat is storyboard Storyboard is an exciting new feature in iOS 5 that will save a lot of time building user interfaces for Appssave a lot of time building user interfaces for Apps
  • 11. Advantages of StoryboardAdvantages of Storyboard With a storyboard you have a better conceptual overview of all the screens in your app and theoverview of all the screens in your app and the connections between them. The storyboard describes the transitions between the various screens. Storyboards make working with table views a lot easier i h h ll d i ll fwith the new prototype cells and static cells features. Can also use .xibs if needed with storyboards.
  • 12. Disadvantages of StoryboardDisadvantages of Storyboard You also need a big monitor, especially when write iPad apps!apps! it is only available in iOS 5 onward Merges can be very difficult if not impossible if there areg y p conflicts.
  • 13. Creating Storyboard ProjectCreating Storyboard Project Fire up Xcode and create a new Empty App project. Product Name: RatingsProduct Name: Ratings Company Identifier: the identifier that you use foryour apps, in reverse domain notation Class Prefix: leave this empty Device Family: iPhone Use Storyboard: check thisUse Storyboard: check this Use Automatic Reference Counting: check this Include UnitTests: this should be unchecked
  • 15. Add a storyboard for iPhoneAdd a storyboard for iPhone Click >File>oNew>File Click> User Interface> StoryboardClick> User Interface> Storyboard Click>Next Select>iPhoneSelect>iPhone Click>Next Type >Storyboard iPhoneType Storyboard_iPhone
  • 17. Set Storyboard to be loadedSet Storyboard to be loaded Specify the name of the storyboard that must be loaded when the app startswhen the app starts
  • 18. Info.plistInfo.plist In info.plist file, Storyboard apps use the key UIM S b dF l “M b d f l b ”UIMainStoryboardFile, or “Main storyboard file base name”, to specify the name of the storyboard that must be loaded when the app starts.
  • 19. Design Scene or SecreenDesign Scene or Secreen
  • 20. Storyboard SeguesStoryboard Segues A segue is a transition from one view to another.g E.g. select the + button and ctrl-drag to the new Navigation Controller.