Skip to main content

Videos: Swift Functions

By Brett Romero

Mobile

Share:

Free JavaScript Book!

Write powerful, clean and maintainable JavaScript.

RRP $11.95

In this video I show you how to create functions in Swift.

<script src=”https://jwpsrv.com/library/fhG4YvqNEeSK7Ap+lcGdIw.js”></script>
<div id=”video-5540″>Loading the player…</div>
<script type=”text/javascript”>
jwplayer(“video-5540”).setup({
image: “http://d3rj1gznkm47xj.cloudfront.net/64c47875-37b8-4940-aa2d-1d927ccdf2e0.png”,
sources: [
{
file: “http://d3rj1gznkm47xj.cloudfront.net/b5d5ac9123006d617bed54b0bd2f4018.mp4”,
label: “SD”
},
{
file: “http://d3rj1gznkm47xj.cloudfront.net/135755112d88b87c75fafc4849248c95.mp4”,
label: “HD”
},
],
tracks: [
{
file: “http://djdvv9xnh2mt5.cloudfront.net/0deca850-3803-4b6b-8139-c352d21287c1.srt”,
kind: “captions”,
“default”: true
}
],
aspectratio: “16:9”,
width: “100%”,
height: “480px”,
fallback: true,
primary: “flash”,
streaming: false,
analytics: {
enabled: false,
cookies: false
},
captions: {
fontsize: 12
},
advertising: {
client: “googima”,
schedule: {
“myAds”: {
“offset”: “pre”,
“tag”: “https://pubads.g.doubleclick.net/gampad/ads?sz=855×483\u0026iu=/7448792/Video\u0026cust_params=109938%3Dstaging%26channel%3D\u0026impl=s\u0026gdfp_req=1\u0026env=vp\u0026output=xml_vast2\u0026unviewed_position_start=1\u0026url=https%3A%2F%2Feditor.sitepoint.com/\u0026description_url=https%3A%2F%2Feditor.sitepoint.com%2Fgraphql\u0026correlator=1594000231”
}
}
}
});
</script>

Brett Romero is a software developer versed in .NET, PHP, Python, and iOS to name a few. He builds desktop, web and mobile applications. As well, he knows Illustrator and Photoshop backwards and forward. His design skills aren't too shabby either. Brett also founded Bitesize Business School, which helps entrepreneurs develop needed technical skills for running an online business while also teaching them invaluable business skills. His undergraduate major was mathematics but he finished with a degree in business administration then went on to study mathematics at the University of Washington. He also has an MBA from Arizona State University.

New books out now!

Learn valuable skills with a practical introduction to Python programming!


Give yourself more options and write higher quality CSS with CSS Optimization Basics.