Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Leetcode: 121.
-
Leetcode: 4.
-
Leetcode: 21.
-
In Swift, a dictionary is a built-in data structure that allows you to store key-value pairs.
-
In the previous article, we have built and run the MLX sample app on macOS, iOS and visionOS to evaluate LLM models locally.
-
Leetcode: 7.
-
Leetcode: 20.
-
Leetcode: 14.
-
In the previous article, we could install and run a sample program using the Swift APIs from the MLX library.
-
MLX is offering Python, C++ and Swift APIs for application developers.
-
Following my post yesterday to introduce you about my motivation to learn MLX, I’ll start writing a serie of MLX tutorials.
-
Leetcode: 9.
-
The Rise of On-Device Machine Learning In recent years, there has been a growing trend towards on-device machine learning, which involves running machine learning models directly on devices such as smartphones, tablets, and laptops.
-
One of the most fundamental and widely used data structures is the queue.
-
For my Quick Drop app, I need an acitivty indicator for long running shell script integrations such as compressing videos.
-
Stacks are a fundamental data structure used in computer science to store and retrieve elements in a Last-In-First-Out (LIFO) manner.
-
Question Reimplement the map high-order function in Swift Answer extension Collection { func myMap<T>(transform: (Element) -> T) -> [T] { var result = [T]() forEach { item in result.append(transform(item)) } return result } } pr…
-
Hash tables, also known as dictionaries in Swift, are a fundamental data structure in computer science.
-
Binary search is a powerful and efficient algorithm used to search for a specific element in a sorted array.
-
Backtracking is a powerful technique used to solve problems by exploring all possible solutions step by step.
-
Dynamic programming (DP) is a powerful technique used to solve complex problems by breaking them down into smaller subproblems.
-
The two-pointer technique is a simple yet powerful algorithmic approach used to solve a variety of problems, especially those involving arrays, strings, or linked lists.
-
Depth First Search (DFS) is a fundamental graph traversal algorithm that explores as far as possible along each branch before backtracking.
-
Breadth-First Search (BFS) is a popular graph traversal algorithm used in computer science.
-
The sliding window technique is a powerful approach that can help solve a wide range of problems efficiently.
-
Introduction When working with protocols and generics in Swift, you may encounter situations where you need to hide the specific type information of an object and provide a more generic interface.
-
Swift is a strong-typed programing language.
-
In Swift, the concept of dispatch refers to the process of determining which implementation of a method or function to call at runtime.
-
Thread safety is an important concept in iOS programming, particularly in concurrent environments.
-
I have recently rewatched an old WWDC video about GCD named: Building Responsive and Efficient Apps with GCD.
-
What’s Method Swizzling?
-
The problem When working on Quick Drop app, I encounter a weird issue that all text fields inside my Preferences window don’t react to Cmd-V, Cmd-C command.
-
DispatchSemaphore is an object that controls access to a resource across multiple execution contexts through use of a traditional counting semaphore.
-
Swift Playground is a great tool for quick experimentation with Swift code.
-
AppStorage is a wrapper of UserDefaults which provides a quick way to store simple values.
-
Packaging Libraries in iOS: A Comprehensive Guide Link Write about what you learn.
-
The Problem Apple is very aggressive in forcing users to upgrade to the latest version of their OSes.
-
SwiftFormat Automation for iOS apps Link SwiftFormat is more powerful than another very similar Swift command line utility called SwiftLint.
-
Improve the build times of your SPM Packages and your apps Link: https://www.manu.show/2023-08-18-improve-build-times-in-spm-packages-and-in-your-apps/ Get ready to uncover some of the secrets of faster build times – an investment that’s not just about sp…
-
While working on a new feature for my SimRecorder app, I found an interesting issue with SwiftUI Picker that I want to share with you.
-
Why?
-
In this post, I will show you how to simulator Location Or Route in a Simulator.
-
Introduction: As an iOS developer, the iOS Simulator is an indispensable tool in your toolkit.
-
The Problem When building an executable CLI product using swift package, especially ones with long running tasks, users can exit the script at anytime by sending exit code to the process, for example, by tapping CTL+C or execute killall command.
-
I have recently received the early access to Github Copilot Technical Preview.
-
The problem I have an iOS app project with dependencies as Swift Packages hosted in private repositories on Github.
-
SwiftUI is amazing It is a declarative way to build up user interfaces for iOS apps.