Swift Programming

15 01, 2020

New LinkedIn Learning Course: Swift 5: Protocol-Oriented Programming

By |2020-01-15T19:11:59+00:00January 15th, 2020|GUI, iOS Programming, LinkedIn Learning, Lynda, OOP, Swift 5, Swift Programming, Video Course|0 Comments

I'm happy to announce the release of my LinkedIn Learning course "Swift 5: Protocol-Oriented Programming." https://www.linkedin.com/learning/swift-5-protocol-oriented-programming/

26 12, 2019

A Quick and Painless Intro to Swift 5 Property Wrappers

By |2019-12-27T10:52:58+00:00December 26th, 2019|iOS Programming, Software development, Swift, Swift 5, Swift Programming|0 Comments

A property wrapper lets us define property access patterns that can be applied repeatedly. What does that mean? In essence, the property wrapper is a data structure that provides controlled access to the property that uses it as a wrapper. In this article, I show you how to define a property wrapper and how to apply it. I'm also going to show you a practical example of using property wrappers. Alright, let's dig in! To define the most basic property wrapper, create a structure, class or enumeration and mark it using the @propertyWrapper attribute: @propertyWrapper struct Box { } [...]

11 03, 2019

5 Tips to Bring your Swift Code to the Next Level

By |2019-03-11T22:55:30+00:00March 11th, 2019|Swift 5, Swift Programming|0 Comments

Alright, so here are five tips that can make your Swift code look more professional. Tip#1 Follow Apple’s naming conventions. If you have worked with other programming languages, it might be tempting to use the naming and coding style you’re used to. However, Swift has its own naming rules, so do your best to apply them. As the saying goes: “When in Rome, do as the Romans do.” Apple provides more details and examples in their API design guidelines. The bottom line is this: name your protocols, functions, types, properties, methods, variables, parameters so that their purpose is [...]

26 01, 2019

How to Create Good-Looking iOS Apps – Even if a Deadline is Looming

By |2019-01-26T18:26:33+00:00January 26th, 2019|Design, GUI, iOS Programming, Swift 4, Swift Programming, UX|0 Comments

If you want to create an iOS app that stands out, the least you could do is to give it a custom look and feel. Let’s say that you want to start by changing the background color of your UIViews to dark gray. You may be tempted to switch to your storyboard, and change the background color of each UIView in the “Attributes Inspector.” Not so quick! There’s a better and easier way to provide a custom color scheme/branding for your app. UIAppearance lets you customize the views and controls consistently across the entire applications. It’s elegant and straightforward, [...]

20 11, 2018

New Course: Machine Learning with Core ML 2 and Swift

By |2018-11-20T08:29:59+00:00November 20th, 2018|Core ML, Create ML, iOS Programming, machine learning, Swift, Swift 3, Swift 3.0, Swift 4, Swift Programming, Udemy, Video Course|0 Comments

Hey there, Big news! My new course Machine Learning with Core ML 2 and Swift is now live on Udemy. This is the perfect course for you if you want to bring your game to the next level by integrating machine learning into your apps. ENROLL NOW FOR ONLY $9.99 Smart homes, self-driving cars, Siri, Alexa - some typical examples of how machine learning and artificial intelligence have become part of our daily life. Wouldn't it be cool to understand the concepts behind these complex topics? We're going to demystify what machine learning is by investigating how it works. We'll focus [...]

18 10, 2018

Machine Learning Book and Video Course

By |2018-10-19T10:02:06+00:00October 18th, 2018|artificial intelligence, book, Core ML, course, Create ML, iOS Programming, Swift 3, Swift 3.0, Swift 4, Swift Programming, Udemy, Video Course|0 Comments

Smart homes, self-driving cars, Siri, Alexa - some typical examples of how machine learning and artificial intelligence have become part of our daily life. Wouldn't it be cool to understand the concepts behind these complex topics? In my book Machine Learning with Core ML 2 and Swift, I'm going to familiarize you with common machine learning tasks. We'll focus on practical applications, using hands-on Swift code examples. You're going to develop smart apps, like this flower recognizer: How about building an Amazon review analyzer from scratch? I'll show you how to do it! And there's a lot more. We'll delve [...]

14 09, 2018

My third Lynda/LinkedIn Learning Course

By |2018-09-14T08:33:11+00:00September 14th, 2018|iOS Programming, LinkedIn Learning, Lynda, Swift, Swift 3, Swift 3.0, Swift 4, Swift Programming, Video Course, Videos|0 Comments

Check out my courses: - Udemy: https://www.udemy.com/user/karolynyis... - Lynda: https://www.lynda.com/Karoly-Nyisztor... - LinkedIn Learning: https://www.linkedin.com/learning/ins... - Pluralsight: https://www.pluralsight.com/profile/a... - Skillshare: https://www.skillshare.com/user/leakka You can find my books on Amazon Website: http://www.leakka.com Twitter: https://twitter.com/knyisztor

9 08, 2018

New Lynda Course “iOS Development: Architecture”

By |2018-08-09T19:30:08+00:00August 9th, 2018|course, Design, iOS Programming, LinkedIn Learning, Lynda, OOP, Software development, Swift, Swift 4, Swift Programming, UML, Video Course|0 Comments

Woohoo! My latest course "iOS Development: Architecture" is now available on LinkedIn Learning: https://www.linkedin.com/learning/ios-development-architecture   and on Lynda.com: https://www.lynda.com/iOS-tutorials/iOS-Development-Architecture/699340-2.html

9 07, 2018

Here’s How to Construct a Swift Type from a String

By |2018-07-09T08:08:56+00:00July 9th, 2018|iOS Programming, Swift, Swift 4, Swift Programming, Videos|0 Comments

https://youtu.be/LdIib-SrOmk The transcript of the video If we need a URL, we initialize it using the following syntax: var url = URL(string: "http://www.leakka.com") That’s pretty straightforward, but wouldn’t it be cool to create a url just like this: var url = "http://www.leakka.com" ? If we tried that, we’d get a compiler error. Actually, we can make it work with just a little bit of coding. And here’s how! Swift has a protocol called ExpressibleByStringLiteral. If we make a type adapt it, we can create instances of that type from a string. Here’s the official documentation: https://developer.apple.com/documentation/swift/expressiblebystringliteral  ExpressibleByStringLiteral A type [...]