Modals are a great way to display alerts to grab a user’s attention to provide information in the simplest form. These components are commonly used throughout both Web & Mobile. In this article, I will show you a way to use Modals to display alerts in another screen after some sort of trigger (i.e. a button tap).
We are going to use Expo since it’s going to help us build our mobile app. If you are unfamiliar with Expo, check this link out. Open up your terminal, run the expo command to create a new React Native project.
One of the tasks that I have received from my current company was to create a screen that contains a segment to display two different views, depending on the selected segment. It has been quite sometime that I have been digging into the React Native world so here I am thinking why not share some knowledge?
So once you have created a React Native project, (if you don’t know how, go to this link: https://reactnative.dev/docs/0.60/getting-started). Once you have your project open, make sure that you add the module on your terminal.
yarn add react-native-segmented-control-tab
After you have added the module…
Since the release of iOS 13, Dark Mode has been a feature that a majority of users have been waiting for (Not sure why, but hey, better late than never).
As iOS Engineers, we’d definitely want our apps to have Dark Mode supported. Sure we would use .systemBackground, or other .systemColors that’s already built in. But what about if you have a custom color that is not listed in the default UIColor’s list? No worries, I’ll show you how to create custom color assets for Dark Mode via programmatically & storyboards.
Before we jump into code and applying color assets…
In this quick & short article, I will show you how to remove those extra lines, or you could say those “extra UITableViewCells”, from your UITableView. Keep in mind, this totally depends on how you like to design your Table View. So then, let’s proceed!
I find that creating extensions in our code base just helps a ton since it has the ability to have a better and organized code base and that you can extend functionalities to an existing class. …
Hope you are having a good day so far! Today I am going to quickly show you how to create a UITabBar with a transparent background. So let’s not waste time and let’s code!
Fire up that Xcode. Click “Create a new Xcode Project” >“Single View App” > Name the project to your liking > Save it wherever you want to save it at > click “Create”.
Totally optional. Since we are having two tabs for now, I am just creating a 2nd ViewController. Definitely depends on you and of how many tabs you want. It doesn’t make a difference.
Down to earth & passionate iOS Engineer