iOS DEVELOPER

WRITER. SPEAKER.

  • Posts
  • Speaking
  • About
  • Display in-app web content with SFSafariViewController in SwiftUI

    21 Mar, 2023 • 3 minute read

    • swift
    • swiftUI

    In SwiftUI, you can use Link to let the user open a website in their default web browser. But sometimes you want them to stay in your app; to read privacy policy or similar. In that case, you have different options to present web content without the user ever leaving your app.

    Read more →

  • SwiftUI Design: Create a card view

    22 Feb, 2023 • 4 minute read

    • swiftUI
    • design

    Card-like designs are seen often in UIs. Usually, a view with a white background, rounded corners, and a dark shadow that makes the view look like a card on top of another view. It gives a nice look to different view components and separates parts of UI.

    Read more →

  • 5 Tips to creating a (good) pull request

    7 Feb, 2023 • 5 minute read

    • non-technical

    Creating an reviewing pull requests (PRs) is an everyday part of our work. Why don't make it easier and more enjoyable for others reviewing your work? Your colleagues will thank you for it! Learn here how you can improve your pull requests in 5 tips.

    Read more →

  • How to use async/await with completion handlers

    24 Jan, 2023 • 4 minute read

    • swift
    • concurrency

    When the new Swift concurrency model was announced at WWDC 2021 we all wanted to jump on that wagon. However, rewriting your entire codebase might not be the best solution. Instead, you have the option to slowly start adapting the new model by bridging the old code with the new.

    Read more →

  • 2022: Year in Review

    27 Dec, 2022 • 6 minute read

    • non-technical

    Have you ever looked back a certain period of time; a week, a month, a year, and thought you haven't done anything? I have. We all have. Sometimes I think I haven't learned anything, looking at what's left to learn. Sometimes I think I haven't done anything looking at what's left undone.

    Read more →

  • How to create a reusable button in SwiftUI

    13 Dec, 2022 • 4 minute read

    • swiftUI

    Oftentimes, when developing your apps, you create a specific button style with different labels and actions to keep your UI consistent across different screens. You'll learn how to create a button view you can reuse across your app instead of having to create a new one every time.

    Read more →

  • How to manage build settings using Xcode configuration files

    29 Nov, 2022 • 4 minute read

    • swift
    • xcode

    You use Xcode build configuration files to define all sorts of useful build settings. You can open them with different text editors outside of Xcode and all properties are in plain text. It's common to use them for managing constants across different environments.

    Read more →

  • Publish: Persist CNAME record when deploying with GitHub Pages

    15 Nov, 2022 • 4 minute read

    • publish
    • web development

    To configure custom domain for websites hosted on GitHub Pages, your repository needs to contain a CNAME record file. You can add the file manually through GitHub, but it gets overwritten after deployment. Publish force pushes to the repository and overwrites the content. In this post, learn how to persist the CNAME record and make sure it never gets deleted.

    Read more →

  • How to check for network connection and present an alert in SwiftUI

    1 Nov, 2022 • 5 minute read

    • swift
    • swiftUI

    Implementing network connectivity monitor doesn't require a lot of code. But it can mean a lot between a happy and a frustrated user.

    Read more →

  • Publish: How to Preview Local Changes on Your Website Instantly

    18 Oct, 2022 • 3 minute read

    • publish
    • web development

    You're working on your website and making changes, but nothing has changed. You refresh the browser and yet nothing happens. In this post, learn how to use the tools available to refresh your website and see the changes you've made, applied instantly.

    Read more →

  • How to create a class diagram

    4 Oct, 2022 • 6 minute read

    • swift
    • other-technical
    • interview

    A class diagram describes the structure of a system by showing its classes, their attributes, methods, and their relationships. It's one of the many diagrams of UML and a most common one. Knowing how to create a class diagram could give you an advantage and it's a useful skill to have. Creating a class diagram could come as an interview question.

    Read more →

  • Publish: Getting Started with Custom Themes

    6 Sep, 2022 • 6 minute read

    • publish
    • web development

    Publish has a default HTML theme called Foundation. But it serves as a guideline and a point of reference to creating your own theme. So your next step, before deploying your website, is to change the default theme and create your own.

    Read more →

  • Publish: Deploying your website on GitHub Pages

    23 Aug, 2022 • 5 minute read

    • publish
    • web development

    You've created your website and you're ready to show it off to the world. Next thing on your list is to choose where to host it. In this post, I'll show you how to deploy your Publish website on GitHub Pages.

    Read more →

  • Getting your first job as a junior developer

    9 Aug, 2022 • 14 minute read

    • non-technical

    It's already daunting enough to learn a new programming language. However, learning never stops. So when do you know is a good time to start applying for your first job as a junior developer? Is there ever a good time for that or should you just go for it? In this post, I've shared my personal experience and things I did that helped me land my first job. It took me one year.

    Read more →

  • How to test custom Codable initializer

    26 Jul, 2022 • 4 minute read

    • unit test
    • codable

    Sometimes, when parsing a JSON, you need to implement a custom Codable initializer. Because of that custom logic, you're no longer using the default implementation. It's a good idea to test your code.

    Read more →

  • Publish: Creating Website Content with Markdown

    28 Jun, 2022 • 4 minute read

    • publish
    • web development

    After generating a website using Publish you have two options to start building your website: using markdown files or programmatically. In this post, you'll learn how to add sections and content with markdown files.

    Read more →

  • How to Create a Personal Website in Swift using Publish

    14 Jun, 2022 • 5 minute read

    • publish
    • web development

    Publish is a static site generator that lets you build website in your favourite programming language - Swift!

    Read more →

  • Why speak at conferences and how to apply

    31 May, 2022 • 8 minute read

    • non-technical

    Attending conferences is a great way to learn new things, meet other developers, and promote your company or personal projects you've been working on. But have you ever wondered what it's like to be a speaker? Are you interested in speaking but don't know how or where to start? Impostor syndrome? You have more to offer than you think! Let's see why you should apply as a speaker and how to do that.

    Read more →

  • How to test @Published property with XCTest

    17 May, 2022 • 3 minute read

    • unit test
    • combine

    @Published properties stream values over time and any changes on the property are immediately sent to all observers. Let's recap how the property works and then we'll take a look at how we can test @Published properties using Apple's testing framework - XCTest.

    Read more →

Copyright © 2022-2023 Danijela Vrzan. All Rights Reserved.

Built in Swift using Publish.