SwiftCharts framework makes it easy to add charts to your app and display the data to your users in a visually pleasing way. In this article, we'll design a custom chart to display weight tracking data over a period of one week. We'll utilize line chart and area chart to make our graph look more stylish.
Swift Algorithms is an open source package of sequence and collection algorithms. It contains many generic algorithms found in other popular programming languages. In this post, we'll take a look at how to implement the .chunked() algorithm to chunk an array of data and display it in your UI.
Writing has helped me learn technical topics in greater detail. There's nothing like thinking you know something until you try to explain it to someone. It's been one year since I've published my first blog post and I'd like to share some of my thoughts and experiences.
Typing your login credentials manually during development takes away your time and focus. If you make a lot of small changes and need to check them often, that's a lot of time spent on the login screen. Set up a breakpoint in Xcode instead and speed up your development time.
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.
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.
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.
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.
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.
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.
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.
Implementing network connectivity monitor doesn't require a lot of code. But it can mean a lot between a happy and a frustrated user.
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.
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.
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.
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.
Publish is a static site generator that lets you build website in your favourite programming language - Swift!
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.
@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.