Advanced Swift
202 FOLLOWERS
Hi, I am Robert Pieta. In this blog, you will find Advanced Swift and Python topics with commented code examples.
Advanced Swift
2y ago
Manipulating and formatting dates in Swift is a common task. This post presents examples for working with DateFormatter, Date, and other structs that enable parsing, formatting, and extracting components from dates and date strings.
Date Formulas Cheatsheet
Date Format Cheatsheet
Format Date To String Using DateFormatter
a. timeStyle
b. dateStyle
c. locale
d. calendar
Calendar Cheatsheet
Convert String To Date
Date Components
a. Create Date From Date Components
b. Date Components From A Date
Date Formulas Cheatsheet
Formula
Output
dd.MM.yy
16.01.23
MM/dd/yyyy
01/16/2023
MM-dd-yyy ..read more
Advanced Swift
2y ago
Use this email template to educate your users on how to get the most out of your app ..read more
Advanced Swift
2y ago
Use this email template to ask for an app review from a blogger, influencer, or creator ..read more
Advanced Swift
2y ago
Push notification templates to increase user engagement in your apps ..read more
Advanced Swift
2y ago
Social media post templates to showcase your apps new update and features ..read more
Advanced Swift
2y ago
Social media post templates to feature to highlights and milestones of your app business ..read more
Advanced Swift
2y ago
Social media post templates to ask your users and audience for ideas and feedback ..read more
Advanced Swift
3y ago
Swift is a great language and often used to build iOS and macOS applications. This post is designed to help programmers with C++ experience get started programming in Swift with side-by-side C++ and Swift code for the following topics:
Fundamental Types
a. Int
b. Double
c. Boolean
d. String
e. Tuple
Print To Console
Operators
a. Assignment
b. Arithmetic
c. Comparison
d. Optionals
e. Force Unwrap Optional
f. Boolean Logic
Strings
a. String Literals
b. Multiline Strings
c. String Interpolation
d. Substrings
Arrays
Sets
Dictionaries
Control Flow
a. If Else
b. If Let
c. For In
d. While
e. Switch ..read more