Hey, Today learn more about SQLDelight to make multiplatform databases with KMP + some reflection for your app development. Tech tip: Introducing custom column types in SQLDelightIn case you don't know SqlDelight is a library that generates typesafe kotlin APIs from your SQL statements. It's what I use for building multiplatform databases and what is used in AppKickstarter. I want to introduce to you custom column types in SQLDelight. You will improve your tables and your code will be cleaner. By default SqlDelight stores String, Long, Double and ByteArrays I made a simple first version of an entity to introduce custom types: Here I stored my Int as Long, my Float as Double and my objects as String. But you can improve this with custom types: As you can see I introduced LocalTime, LocalDate, Float, Int and other custom types of my domain models. It's almost finished but introducing custom types you have to adapt the initialization of your database with adapters: IntColumnAdapter, FloatColumnAdapter are utility classes from "app.cash.sqldelight:primitive-adapters" dependency. TimeAdapter and DateAdapter are common useful adapters provided by default in AppKickstarter. The other adapters are built for this example. An adapter is just a converter from an object to another object that SqlDelight can manage (Double, Long, String, ByteArray), for example: Book snippet: Ship early and oftenThe minimalist entrepreneur by Sahil Lavingia: "Ship early and often. Building a business is a lesson in fast feedback loops and iteration. Imagine if you were on a boat searching for treasure, but you could only ping your radar once a year. Then once a month. Then every day. The boat is your business and the treasure is product market fit. You will be wrong a lot: the goal is to get less wrong as quickly as possible." That's why I built AppKickstarter. As a solo developer, I built multiple apps and often struggled with marketing — building was simple, but distribution was tough. I kept thinking, "This idea is cool," or "I can do this better," yet I'd end up in niches where marketing demands were high or competition fierce, making success hard. AppKickstarter changes the game, making app development less risky and more efficient, saving time, energy, and investment. Remember: Investing your valuable time and energy into a side project is somewhat of a gamble. The more accurately you navigate, the better your chances of success. FeedbackI'm constantly striving to enhance the AppPreneurs newsletter to make it the most valuable resource for app developers like you. Your feedback is crucial in guiding the content and features we develop. Please take a moment to share your thoughts with me. |
1 tech tip, 1 marketing or entrepreneurial tip, 1 book snippet. Every Saturday.
Hello, This is Louis, the founder of AppKickstarter.com. I’ve created a Trello board to share the product roadmap and vision. The board is completely open, and I genuinely value your input. You can vote on the features you’d like to see prioritized, and if there’s anything missing that you think should be included, please don’t hesitate to let me know. I invite you to join the board and share your feedback: Join the Trello Board Thank you for your support! Best regards,Louis
Hey, Today, let's dive into ways to minimize mental clutter and boost productivity, especially for solo app founders. I'll share strategies I wish I'd adopted sooner. Invest just 30 minutes monthly, 7 minutes weekly, and 1 minute daily to get amazing results for your time. Frame Your Day with a To-Do List Flying solo means you're in charge. Set your priorities first thing. Without a daily to-do, you'll find yourself bouncing from one urgency to the next, firefighting instead of focusing. Set...
Hey friend, This is Louis, mobile developer and founder of appkickstarter.com and here is your weekly issue of APPPRENEUR: BABY STEPS TO BIG WINS. I write for app developers with an interest for business and every Saturday, you'll receive: 1 technical tip: A short insight to refine your mobile app development skills. 1 marketing or entrepreneurial tip: Proven strategies and reflections, whether to promote your app or cultivate a success mindset. 1 book snippet: Carefully selected passages to...