Beginning Swift Master the Fundamentals of Programming in Swift 4

Take your first foray into programming for Apple devices with Swift.Swift is fundamentally different from Objective-C, as it is a protocol-oriented language. While you can still write normal object-oriented code in Swift, it requires a new way of thinking to take advantage of its powerful features a...

Celý popis

Uložené v:
Podrobná bibliografia
Hlavní autori: Kerr, Rob, Morstøl, Kåre
Médium: E-kniha
Jazyk:English
Vydavateľské údaje: Birmingham Packt Publishing, Limited 2018
Packt Publishing Limited
Packt Publishing
Vydanie:1
Predmet:
ISBN:1789534313, 9781789534313
On-line prístup:Získať plný text
Tagy: Pridať tag
Žiadne tagy, Buďte prvý, kto otaguje tento záznam!
Abstract Take your first foray into programming for Apple devices with Swift.Swift is fundamentally different from Objective-C, as it is a protocol-oriented language. While you can still write normal object-oriented code in Swift, it requires a new way of thinking to take advantage of its powerful features and a solid understanding of the basics to.
AbstractList Take your first foray into programming for Apple devices with Swift.Swift is fundamentally different from Objective-C, as it is a protocol-oriented language. While you can still write normal object-oriented code in Swift, it requires a new way of thinking to take advantage of its powerful features and a solid understanding of the basics to.
Master the fundamentals of programming in Swift 4Key Features Covers theory and practice in equal parts Teaches you how to correctly structure and architect software using Swift Uses real-world examples to connect the theory to a professional setting Imparts expertise in the core Swift standard libraryBook DescriptionTake your first foray into programming for Apple devices with Swift.Swift is fundamentally different from Objective-C, as it is a protocol-oriented language. While you can still write normal object-oriented code in Swift, it requires a new way of thinking to take advantage of its powerful features and a solid understanding of the basics to become productive.This course helps you develop client-side and server-side applications, as well as web services using Swift. We'll begin with exploring the fundamental Swift programming concepts, language structure, and the Swift programming syntax. Then, we'll learn to create original custom operators with Swift operators, branching, and loops.Moving on, we'll learn how to run application codes and compile errors. Having made progress with it, we'll see how Swift compares to other computer languages and how to transform your thinking. Then, master the usage of key language elements, such as strings and collections. Finally, grasp how Swift supports modern application development using advanced features, such as built-in Unicode support and higher-order functions.This is an introductory course to the Swift programming language with Xcode.After completing this course, students will be well-prepared to begin developing native end-user applications for iOS or macOS, or to develop server-side (back-end) application and web services using Swift on Linux.What you will learn Explore the fundamental Swift programming concepts, language structure, and the Swift programming syntax Learn how Swift compares to other computer languages and how to transform your thinking to leverage new concepts such as optionals and protocols Master how to use key language elements, such as strings and collections Grasp how Swift supports modern application development using advanced features, such as built-in Unicode support and higher-order functions.Who this book is forIf you are seeking fundamental Swift programming skills, in preparation for learning to develop native applications for iOS or macOS, this book is the best for you. You don't need to have any prior Swift knowledge; however, object-oriented programming experience is desired.
Author Kerr, Rob
Morstøl, Kåre
Author_xml – sequence: 1
  fullname: Kerr, Rob
– sequence: 2
  fullname: Morstøl, Kåre
BookMark eNplj8tLw0AQh1d8oK3Fk3dv4qG6m31k52hDfUDBg-I1TJLZGBs3mk0N_vdG6wNxLjMffPOD34ht-cYTY4eCn_JhziC2IragpTUKNtjoB_TmNygp5M4AXIKxYHi8yyYhPA7fUSRiAL7HDmZUVt5Xvjy67SvX7bNth3Wgydces_uL-V1yNV3cXF4n54spSsW1mSrMothI5Nxx5YwDLHJrndNSOIrI5CbjQmhTOOEEZYBi0ApQaJXTmQY5ZifrYAxL6sNDU3chfa0pa5plSP-U-3V7rDtqCyrb1dtwpE_Y5v_c47X73DYvKwpd-hmZk-9arNP5LNEfBayS7zYrWnU
ContentType eBook
DEWEY 005.3
DOI 10.0000/9781789538649
DatabaseTitleList

DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 1789538645
9781789538649
Edition 1
1st edition.
ExternalDocumentID 9781789538649
EBC5405684
GroupedDBID 38.
AABBV
AAFKH
AAKGN
AANYM
AAZEP
AAZGR
ABARN
ABCYV
ABIWA
ABRSK
ABWNX
ACBYE
ACLGV
ADBND
ADVEM
AECLD
AEHEP
AEIUR
AERYV
AFQEX
AHWGJ
AJFER
ALMA_UNASSIGNED_HOLDINGS
APVFW
ATDNW
AVGCG
AZZ
BBABE
E2F
GEOUK
IHRAH
J-X
L7C
OHILO
OODEK
PASLL
QD8
UE6
6XM
ABQPQ
ACIWJ
AFOJC
AK3
CZZ
DRU
YSPEL
ID FETCH-LOGICAL-a34056-4ab2763a00f04f6f9adc88ff531fe2e6c6b01156df1f1eb9a104fd94a84f5b593
ISBN 1789534313
9781789534313
IngestDate Fri Nov 08 05:45:17 EST 2024
Fri Nov 21 20:11:17 EST 2025
Wed Dec 10 10:47:04 EST 2025
IsPeerReviewed false
IsScholarly false
LCCallNum_Ident QA76.73.S95 .K477 2018
Language English
LinkModel OpenURL
MergedId FETCHMERGED-LOGICAL-a34056-4ab2763a00f04f6f9adc88ff531fe2e6c6b01156df1f1eb9a104fd94a84f5b593
OCLC 1039689607
PQID EBC5405684
PageCount 202
ParticipantIDs askewsholts_vlebooks_9781789538649
walterdegruyter_marc_9781789538649
proquest_ebookcentral_EBC5405684
PublicationCentury 2000
PublicationDate 2018
[2018]
2018-05-31
PublicationDateYYYYMMDD 2018-01-01
2018-05-31
PublicationDate_xml – year: 2018
  text: 2018
PublicationDecade 2010
PublicationPlace Birmingham
PublicationPlace_xml – name: Birmingham
– name: Birmingham, UK
PublicationYear 2018
Publisher Packt Publishing, Limited
Packt Publishing Limited
Packt Publishing
Publisher_xml – name: Packt Publishing, Limited
– name: Packt Publishing Limited
– name: Packt Publishing
RestrictionsOnAccess restricted access
SSID ssj0002217990
Score 2.058918
Snippet Take your first foray into programming for Apple devices with Swift.Swift is fundamentally different from Objective-C, as it is a protocol-oriented language....
Master the fundamentals of programming in Swift 4Key Features Covers theory and practice in equal parts Teaches you how to correctly structure and architect...
SourceID askewsholts
walterdegruyter
proquest
SourceType Aggregation Database
Publisher
SubjectTerms COM046020 COMPUTERS / Operating Systems / Apple (Mac OS & iOS)
COMPUTERS / Internet / Application Development
COMPUTERS / Programming / General
Mobile computing-Programming
Swift (Computer program language)
Subtitle Master the Fundamentals of Programming in Swift 4
TableOfContents Activity: Counting Words, Sentences, and Paragraphs -- Substring -- Creating Substrings -- Parsing Strings -- Converting NSRange to Range -- Activity: CamelCase -- Summary -- Functional Programming and Lazy Operations -- Function Type -- Functional Methods -- filter -- Using the filter Method -- map -- Using the map Method -- flatMap -- Using the flatMap Method -- reduce -- Using the reduce Function -- Activity: Using Functional Programming -- Lazy Operations -- Lazy Sequences -- Sequence Internals -- Creating Lazy Operations -- sequence(first:next:) -- sequence(state:next:) -- Activity: Implementing a Lazy Version of a Method -- Swifty Code -- Naming -- Organizing Code -- Miscellaneous -- Writing Swifty Code -- Summary -- Further Study -- Challenge -- Index
Intro -- Preface -- Swift Basics -- Swift Program Structure -- Hello, World! -- Swift Variables and Constants -- Declaring Swift Variables -- Variables Versus Constants -- Type Inference -- Variable Naming -- Working with Variables -- Tuples -- Creating a Tuple -- Optionals -- Declaring an Optional -- Working with Optionals -- Optional nil Values -- Accessing Optional Values -- Force Unwrapping an Optional -- Conditionally Unwrapping Optionals -- The Swift guard Statement -- Activity: Variable Summary -- Swift Data Types -- Numeric Data Types -- Int on 64-Bit Versus 32-Bit Platforms -- Built-In Numeric Data Types -- Choosing the Appropriate Numeric Data Type -- Declaring and Assigning Integer Variables -- Declaring and Assigning Floating Point Numbers -- Numeric Literal Grouping -- Numeric Type Conversions -- Boolean -- Character -- Assigning a Character -- Constructing a Character Literal -- String -- Instantiating a String -- String Concatenation -- Extracting Characters -- String Length -- Activity: Data Type Summary -- Enums -- Basic Enum Syntax -- Enum with Raw Values -- Activity: Using Swift Enums -- Summary -- Swift Operators and Control Flow -- Swift Operators -- Assignment Operator -- Arithmetic Operators -- Standard Arithmetic Operators -- Remainder Operator -- Unary minus Operator -- Compound Assignment Operators -- Comparison Operators -- Equality -- Inequality -- Comparison between Two Values -- Ternary Conditional Operator -- Logical Operators -- Bitwise Operators -- Nil-Coalescing Operator -- Range Operators -- Closed Range Operator -- Half-Open Range Operator -- One-Sided Range Operator -- Activity: Operators -- Branching -- The if Statement -- Condition Lists -- Optional Unwrapping with if -- The switch Statement -- switch Statement Rules -- The break Keyword -- The fallthrough Keyword -- Matching Non-Scalar Values
Multiple Patterns in a Single Case -- Using the where Statement within case -- Evaluating Optionals with a switch Statement -- Activity: Converting Code from if to switch -- Loops -- The for…in Statement -- Iterating over Objects -- Iterating over Array Objects with index -- The for Loop where Clause -- The break Control Transfer Statement -- The continue Control Transfer Statement -- The while Loop -- The repeat…while Loop -- Activity: Implementing Loops -- Summary -- Functions, Classes, and Structs -- Functions -- Defining a Function -- Argument Labels -- Excluding Argument Labels -- Parameter Default Values -- Activity: Implementing a Function -- Returning Values from Functions -- Using @discardableResult -- Function Attributes -- Variadic Parameters -- inout Parameters -- Recursion -- Functions as Parameters -- Closures -- Creating a Function to Receive Content from an Asynchronous Web Service Call -- Error Handling -- The do…catch Statement -- Multiple catch Blocks -- Using do without catch -- The guard Statement -- Activity: Exception Handling -- Object-Oriented Features -- Object-Oriented Principles -- Classes Versus Structs -- Defining Classes and Structures -- Activity: Creating a Customer Struct and Class -- Summary -- Challenge -- Collections -- Arrays -- Working with Arrays -- Index -- Common Operations with Index -- ArraySlice -- Creating Slices -- Activity: Working with Arrays -- Sets -- Working with Sets -- Combining Sets -- Comparing Sets -- Activity: Removing Duplicates from a Sequence -- Dictionaries -- Working with Dictionaries -- Activity: Using Dictionaries -- Summary -- Strings -- String Fundamentals -- Character -- Collection -- Index -- Working with String Index -- Debugging -- Activity: All Indices of a Character -- Using Strings -- Creating Strings -- Common Operations -- Activity: All Ranges of a Substring
Beginning Swift: Master the fundamentals of programming in Swift 4
Title Beginning Swift
URI https://ebookcentral.proquest.com/lib/[SITE_ID]/detail.action?docID=5405684
https://www.vlebooks.com/vleweb/product/openreader?id=none&isbn=9781789538649&uid=none
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwtV3JTsMwEB1By4Ee2BG7KsQNRSTBTexrqwISEiCxqLfITuyqKgqoSRf-nrGz0OQEBy5ZHNtRZqLn8awAF1LpDC3Kt0jIbYtQFlqC-JHlMlvYxKEREcoUm_AfHuhgwJ7yHK6JKSfgxzFdLNjnv7Ia25DZOnT2D-wuJ8UGvEam4xHZjseaRFzeFsEow5EpQHT5PB-p9AdKJ4UPdUndD5T5tIm8S7PgHGMu7-R-sLkOwKE1HcATD8fpst6qGhyV7RUdnzJENy_LEFpHTr1uZc4S1X7VDNW1laP056sMW4WmMec2oHnbf3y9L1VerqvTz9lZplP9wqvKuBa0eDJGaEfYT5OKxL8xN74DkRxOpl9pYas2IsDLFjSljgvZhhUZ78BmUQ2jnYPjLmyU9G8b-u_B203_pXdn5eUmLH6NYqtnES5chFtu28omylOMRyGlSiFMKelKL_SEFqC9SDnKkYJx3MqqiBFOieqIDrveh0b8EcsDaDuCC65QBMAz4ZxREjmO5ISHiHrS6xzC-dK3BrN3YxpPggpBDqFdkCAwz3N_3aDf7WlB26ME56mRJtApUKrzHP2m0zGs__xZJ9BIJ1N5CmvhLB0lk7Ocld-lwClH
linkProvider ProQuest Ebooks
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=book&rft.title=Beginning+Swift&rft.au=Kerr%2C+Rob&rft.au=Morst%C3%B8l%2C+K%C3%A5re&rft.date=2018-01-01&rft.pub=Packt+Publishing+Limited&rft.isbn=9781789538649&rft_id=info:doi/10.0000%2F9781789538649&rft.externalDBID=n%2Fa&rft.externalDocID=9781789538649
thumbnail_m http://cvtisr.summon.serialssolutions.com/2.0.0/image/custom?url=https%3A%2F%2Fvle.dmmserver.com%2Fmedia%2F640%2F97817895%2F9781789538649.jpg