Homepage
Open in app
Sign in
Get started
Fantageek
What you don't know is what you haven't learned
iOS
Android
Life
ReactJS
Follow
RxSwift — Subjects
RxSwift — Subjects
When you diving in RxSwift, you need to overview of Subjects. So what is Subjects?
Khuong Pham
Jul 6, 2017
10 articles every ReactJS developer should read
10 articles every ReactJS developer should read
Welcome! If you’re reading this, you have probably been told that React is the best library for FrontEnd guys 👍. Or maybe you’re a little…
Khuong Pham
Jun 13, 2018
Making Unity games in pure C#
Making Unity games in pure C#
As an iOS engineers, I ditched Storyboard to avoid all possible hassles and write UI components in pure Swift code. I did XAML in Visual…
Khoa Pham
Jun 21, 2018
Latest
I create an app to tweak hidden settings and extra utilities on Mac
I create an app to tweak hidden settings and extra utilities on Mac
Hi everyone, I’m excited to show you Almighty https://onmyway133.com/almighty/
Khoa Pham
Jun 27, 2021
Introduce PastePasl 2 the best universal pasteboard manager for Mac, iPhone and iPad
Introduce PastePasl 2 the best universal pasteboard manager for Mac, iPhone and iPad
Lately, I’ve been crafting this fantastic app PastePal that I’m thrilled to share with you today.
Khoa Pham
Jan 26, 2021
How to use flexible frame in SwiftUI
How to use flexible frame in SwiftUI
In SwiftUI there are fixed frame and flexible frame modifiers.
Khoa Pham
Jan 1, 2021
How to make attributed string Text in SwiftUI
Use NSTextField with maximumNumberOfLines
Khoa Pham
Dec 30, 2020
How to disable scrolling in NSTextView for macOS
NSTextView has this handy method to make scrollable NSTextView NSTextView.scrollableTextView(). The solution is to get to the responder…
Khoa Pham
Dec 30, 2020
How to make simple HUD in SwiftUI
Use @ViewBuilder to build dynamic content for our HUD. For blur effect, here I use NSVisualEffectView, but we can use .blur modifier also
Khoa Pham
Dec 26, 2020
How to instrument SwiftUI app
How to instrument SwiftUI app
With Xcode 12, we can fire up Instrument to profile our app. Select SwiftUI template
Khoa Pham
Dec 26, 2020
How to make UserDefaults property wrapper
Then we can use it as property and provide default value
Khoa Pham
Dec 26, 2020
How to make stepper with plus and minus buttons in SwiftUI for macOS
Try to use predefined system colors in Human Interface Guidelines for macOS
Khoa Pham
Dec 22, 2020
How to make sharing menu in SwiftUI for macOS
Use NSSharingService.sharingServices(forItems:) with an array of one empty string gives a list of sharing items. There we show image and…
Khoa Pham
Dec 22, 2020
How to fix Picker not showing selection in SwiftUI
I have an enum that conforms to CaseIterable that I want to show in Picker
Khoa Pham
Dec 22, 2020
How to show image and text in menu item in SwiftUI for macOS
From SwiftUI 2 for macOS 11.0, we have access to Menu for creating menu and submenu. Usually we use Button for interactive menu items and…
Khoa Pham
Dec 22, 2020
How to show sidebar in SwiftUI for macOS
Starting from macOS 11, we can use List with SidebarListStyle inside NavigationView to declare master detail view. The SidebarListStyle…
Khoa Pham
Dec 16, 2020
How to programatically select row in List in SwiftUI
List has a selection parameter where we can pass selection binding. As we can see here selection is of type optional…
Khoa Pham
Dec 16, 2020
How to do didSet for State and Binding in SwiftUI
Below is an example of a parent ContentView with State and a child Sidebar with a Binding.
Khoa Pham
Dec 16, 2020
My year in review 2020
My year in review 2020
I remember this time last year in December 2019, I spent almost every single bit of my free time on Puma because I want a Swift friendly…
Khoa Pham
Dec 16, 2020
Convert multiple media files at ease with Elegant Converter 2
Convert multiple media files at ease with Elegant Converter 2
Hi all, I’m excited to introduce the next version 2.0 of Elegant Converter. This is months of hard work, and is an overhaul redesign and…
Khoa Pham
Nov 21, 2020
How to test push notifications in simulator and production iOS apps
How to test push notifications in simulator and production iOS apps
After has recently reminded about his updating APNs provider API which makes me realised a lot has changed about push notifications, both…
Khoa Pham
Oct 12, 2020
How to use useEffect in React hook
By default, it runs both after the first render and after every update.
Khoa Pham
Jun 16, 2020
How to go back to home in React
Usually in header we have logo that takes user back to the home page
Khoa Pham
Jun 15, 2020
How to use setState in React
Use spread operator
Khoa Pham
Jun 15, 2020
How to format date in certain timezone with momentjs
Use moment-timezone https://momentjs.com/timezone/docs/
Khoa Pham
Jun 15, 2020
How to deploy with create react app
Direct url
Khoa Pham
Jun 15, 2020
How to use firebase cloud functions
Khoa Pham
Jun 15, 2020
How to sign in with apple for web with firebase
How to sign in with apple for web with firebase
Authenticate Using Apple with JavaScript
Khoa Pham
Jun 15, 2020
About Fantageek
Latest Stories
Archive
About Medium
Terms
Privacy