Discover articles by topics
Android App Dart Design Development Flutter flutter dart iOS iPad java laravel livewire macOS mysql php software-development swift swiftui Testing UI Uncategorized vim Web Xcode
Latest articles and tips
- Operate multiple files in Vim with args and argdo commandsOne of my favorite Vim tricks, Here, you can see I have a couple of Python files but all are missing the import time statement at the beginning of the file. How are we going to solve this issue using Vim? It’s straightforward, just two …
Continue reading “Operate multiple files in Vim with args and argdo commands”
- Livewire 3 Drag and Drop of tableFor drag and drop of a row In your component In your blade
- Sync your Macs with iCloudAs a software developer, I always strive to streamline my workflow and maximize the tools at my disposal. One of the challenges I faced was synchronizing my Macs with various Integrated Development Environments (IDEs) and editors I used for different projects, especially all the snippets …
- VS Code for Laravel DevelopmentVS Code for Laravel Development VS Code is one of the best editors available to developers now, no doubt about it, I always wanted to have such an editor which would support 4/5 languages. Changing your editor or IDE for each language is cumbersome, many …
- Android ExoPlayer with Fullscreen buttonAndroid ExoPlayer ExoPlayer is an open-source media player for Android developed by Google. It is designed to be used as a replacement for the Android platform’s built-in media player, and it offers many advanced features such as dynamic adaptive streaming over HTTP (DASH), smooth streaming, …
- Generic in SwiftGeneric in Swift In the Swift programming language, the term “generic” refers to a type or function that can work with any type, rather than being tied to a specific type. This allows for greater flexibility and code reuse. For example, a generic function can …
- Extensions in SwiftExtensions in Swift In Swift, an extension is a way to add new functionality to an existing class, structure, enumeration, or protocol type. This can include adding new methods, computed properties, and initializers, as well as providing new implementations of existing methods, properties, and subscripts. …
- Subscript in SwiftSubscript in Swift By implementing Subscript we can set and retrieve structure value by index (associative array or dictionary style) without separate methods for setting and retrieval. Classes and Enumerations can define subscripts too. For example, I want to build an Address struct that can …
- Associated Type in SwiftAssociated Type in Swift In Swift, an associated type is a placeholder name for a type that is used as part of the protocol. The actual type to be used for the associated type is not specified until the protocol is adopted. Associated types are …
- MySQL RANGE PartitionMySQL RANGE Partition When partition doesn’t help It’s tempting to believe that partition will solve performance problems. But it is so often wrong. Partitioning splits up one table into several smaller tables. But table size is rarely a performance issue. Instead, I/O time and indexes …
- Decode Apple ReceiptDecode Apple Receipt Verify with the server-side click here
- App Store Server Notifications V2 with JWT, PHP and LaravelApp Store Server Notifications App Store Server Notifications is a server-to-server service that notifies you in real-time when the status of in-app purchases and refunds changes. Use the data in the notifications to update your user-account database, and to monitor and respond to in-app purchase …
Continue reading “App Store Server Notifications V2 with JWT, PHP and Laravel”
- How can I add item number on the cart icon on AppBar icon in FlutterHaving a shopping cart icon on the right side of the AppBar on Flutter it’s not that hard, you can use basically a stack widget and inside the stack get IconButton and Positioned widgets. Here is the code and screenshot
- Download PDF in Flutter using Java on AndroidDownloading PDF file in the user download directory on Android is a very common feature, a lot of app uses PDF viewing and downloading feature. I hoped that flutter plugins could solve my problem but they didn’t. Fortunately, it was working great on iOS but …
Continue reading “Download PDF in Flutter using Java on Android”
- API testing in FlutterIt is very common to use API in our Flutter projects. Testing makes the Flutter project very easy to maintain, in this way you will save a lot of debugging time. Also when you have testing in place you can always check whether API working …
- SwiftUI for Flutter developer – Video 1As a flutter developer, there are not many things you can do on Xcode since Flutter itself builds everything for you but why not learn some app development with Swift and Xcode. Swift is a deep and large language and I find it complex, when …
- How to add your ssh key to GitHub on your Mac
- Call swift native code from FlutterIn this tutorial, we are going to call a simple swift method of AppDelegate.swift file from flutter. Let’s create a brand new flutter app by running the following command on your terminal Delete everything inside the method _incrementCounter() on your main.dart file and make it …
- How to change the status bar color in Flutter, Android onlyChanging the status bar color is very easy in Flutter. There are a few ways to do this. Globally in the main function 2. Globally in the MaterialApp widget in ThemeData 3. AppBar only
- Protocol in SwiftProtocol in Swift In Swift, a protocol defines a blueprint of methods, properties, and other requirements that suit a particular task or piece of functionality. The protocol can then be adopted by a class, structure, or enumeration to provide an actual implementation of those requirements. …
- Create Notification on Android in JavaCreate Notification on Android in Java To create a notification on Android in Java, you can use the NotificationCompat.Builder class and its setContentTitle(), setContentText(), and setSmallIcon() methods to set the title, text, and icon for the notification, respectively. You can then use the getNotification() method …
- Java Factory Design PatternJava Factory Design Pattern The factory design pattern is a common design pattern used in software development, particularly in object-oriented programming languages like Java. The factory design pattern is a creational design pattern, which means that it deals with object creation. The factory design pattern …
- Create local notification in SwiftCreate local notification in Swift To create a local notification in Swift, you will need to use the UserNotifications framework. Here is an example of how to do this: This code will create a notification that will be triggered 10 seconds from the time it …
- Swift InheritanceSwift Inheritance In Swift, a class can inherit properties and methods from another class, which is known as inheritance. This allows the child class (also known as the subclass) to reuse the functionality of the parent class (also known as the superclass), and to extend …
- Auto-renewable subscriptions with SwiftUIRead about App Store Server Integration in Laravel Auto-renewable subscriptions provide access to content, services, or premium features in your app on an ongoing basis. They automatically renew at the end of their duration until the user chooses to cancel. Subscriptions are available on iOS, …
Continue reading “Auto-renewable subscriptions with SwiftUI”