← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 125
  1. Despite strict concurrency checking having been available for some time, many official Apple APIs remain inadequately adapted—a situation likely to persist for the foreseeable futu

  2. While the primary goal of Swift’s strict concurrency checking is noble, it has introduced significant friction in single-threaded scenarios.

  3. Which Context Should You Use in Android?

  4. Swift 6 introduces a suite of powerful new concurrency features and keywords.

  5. Surprisely, Xcode 26.3 now features out-of-the-box support for Claude Code/Codex.

  6. SwiftUI is the modern way to build interfaces on Apple platforms, but most production apps still rely on UIKit.

  7. Kotlin lazy vs lateinit : When to Use Each Kotlin gives you two common ways to defer initialization of a property: lazy and lateinit .

  8. Apple release the new iOS SDK every day, as the developer, we want to test our apps on those new SDK before they are officially released.

  9. If you are like me, the project is still using the pod to manage the libraries and frameworks.

  10. A nested class in Swift is a class that is defined within another class.

  11. In this article we will dig a bit more depth in some core concepts on 2 hours to master RxSwift - Part 1 .

  12. Introduction In the previous post: 2 hours to master RxSwift - Part 1 (needone.app) and 2 hours to master RxSwift - Part 2 (needone.app) , we get to know the the core concept behin

  13. a simple introudction on rxswift, including what is rxswift, how to use it and a quick example (with swift code) on demo that.

  14. In the Kotlin programming language, a singleton is a design pattern that allows you to create only one instance of a class.

  15. The keystore is a secure storage location in Android that is used to store encryption keys, digital certificates, and other sensitive information.

  16. Learn the difference between Swift generics and Any, including type safety, type casting, and when each approach makes sense in real code.

  17. An indirect enum in Swift is an enum that can be used to define a recursive data structure.

  18. UITraitCollection

    UITraitCollection is a class in the UIKit framework that defines a set of interface traits that specify the environment in which your app is running.

  19. UIKit and SwiftUI are two different frameworks for building user interfaces on Apple platforms.

  20. With the last article ( Certificate pinning and Public key pinning ), we know the concept of Certificate pinning and Public key pinning, and how to implement them in iOS.

  21. Certificate pinning and public key pinning are both techniques that are used to enhance the security of a network connection by ensuring that the client trusts only a specific cert

  22. In Android, we can get the image from synchronously and asynchronously, but it is more common to see in the later.

  23. Many of us have met the situation that we have an array/list of custom objects, and we want them can be sorted in a specific order.

  24. In previous post, we have gone through most of the key concepts and methods in Coroutine: Kotlin Coroutines Table Content 1, Introduction to Coroutine in Kotlin 2, Non-blocking in

  25. Recently I have done quite an amount of work on formatting currency in Swift project, here are some tricks on how to format number in Swift: Format currency with auto currency symb

  26. Lazy in Kotlin

    In the Kotlin programming language, the term "lazy" typically refers to a type of property or variable that is only initialized when it is first accessed, rather than when the cont

  27. To get the current week in Swift 5, you can use the Calendar and DateComponents classes to calculate the week number for the current date.

  28. SceneDelegate

    In iOS, the SceneDelegate is a class that is responsible for managing the scenes in your app.

  29. A data race in Swift occurs when two or more threads access the same memory location simultaneously and at least one of them is writing to it, without proper synchronization.

  30. In Kotlin, you can use the URLEncoder class to encode a URL string so that it can be safely transmitted over the internet.

  31. Both the @AppStorage and @UserDefault property wrappers in SwiftUI allow you to store and retrieve data using UserDefaults.

  32. HTTP Encoding

    HTTP encoding, also known as percent-encoding or URL encoding, is a way of encoding special characters in URLs and other HTTP data, such as headers and body content.

  33. To get the location (latitude and longitude) of a device in Swift, you can use the Core Location framework, which is an official library from Apple.

  34. It is quite common to see that we can correctly set up the HTTP header, token, body and POST/GET methods in our iOS code, but we still can't get the right response.

  35. activity property In the Android framework, the Activity class represents an app's UI and provides an interface for the app to interact with the system.

  36. Kotlin Coroutines Table Content 1, Introduction to Coroutine in Kotlin 2, Non-blocking in Kotlin Coroutines 3, Start and Suspend a Coroutine in Kotlin (This article) With the previ

  37. Kotlin Coroutines Table Content 1, Introduction to Coroutine in Kotlin 2, Non-blocking in Kotlin Coroutines (This article) 3, Start and Suspend a Coroutine in Kotlin (incoming this

  38. A Coroutine is a lightweight thread of execution that can be suspended and resumed later.

  39. A nested method in Swift is a method or function that is defined within another function.

  40. As mentioned in the other article: Popup Custom View in UIKit : popup mainly can be: popup an alert using UIAlertController popup action sheet using UIAlertController.

  41. To create a custom view in Kotlin, you can create a new subclass of View and override the onDraw method to draw the view's content.

  42. In UIKit, popup mainly can be: popup an alert using UIAlertController popup action sheet using UIAlertController .

  43. This post is going to list some of the most frequently used compiler directives in Swift, compatible in Swift 3/4/5.

  44. An action sheet is a component that displays a set of choices to the user in a modal format.

  45. The defer keyword in Swift is used to execute a block of code at the end of the current scope, regardless of how the scope is exited.

  46. Many of us have heard about the Command pattern or used them in the development, which is a behavioral design pattern in which an object is used to encapsulate all of the informati

  47. What is XCTUnwrap and how to use it to help you effectively while you are doing the unit test?

  48. PLIST file in iOS

    A Property List (PLIST) file is a file format used by macOS and iOS to store serialized data.

  49. YAML (YAML Ain't Markup Language) is commonly used for configuration files, but can be used in many applications where data is being stored or transmitted.

  50. What is Property Wrapper Property wrapper are a language feature that allows you to wrap a piece of code around a property in Swift world, which can help us to add additional behav