← Înapoi la Urmăritori

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 149
  1. Why am I getting this error?

  2. Why am I getting this error?

  3. The actual error message is too long for an article title.

  4. The error message may also say “Cannot pass function of type ‘() async -> Void’ to parameter expecting synchronous function type”.

  5. When you run into problems with your Swift code, your first instinct may be to add print statements.

  6. Swift enums let you create your own data types with a limited number of possible values.

  7. If you are starting to develop a Swift app that works with a REST API, you may be overwhelmed thinking about all the code you have to write.

  8. If you’re looking for information on using the new SwiftUI navigation APIs in a Mac app, check out the following article: https://www.kiloloco.com/articles/019-swiftui-macos-navigation-basics/

  9. One of SwiftUI’s best features is you can use it to make apps that run on both iOS and Mac.

  10. Saving Images in Core Data

    A common question I see on Swift developer forums is how to save images in Core Data.

  11. Xcode Multiplatform App Targets

    Starting in Xcode 14, when you create a multiplatform app project, Xcode creates a single app target with destinations for each platform you want to support: iPhone, iPad, Apple TV and Mac.

  12. Sparkle is a framework that simplifies updating Mac apps that are not on the Mac App Store.

  13. A common task when using the Sparkle framework is to update the appcast when you release an update to your app.

  14. Passing Data to SwiftUI Views

    A common question I see from people learning SwiftUI is how to pass data from one view to another.

  15. The Get framework is a lightweight Swift framework for working with web APIs.

  16. The Keychain is the place to store small amounts of data securely, such as passwords and API tokens.

  17. The Swift Playgrounds app lets you create SwiftUI apps if you are using Swift Playgrounds 4 on an iPad running iOS 15 and above or a Mac running macOS 12.4 and above.

  18. In my last Rija development post I talked about getting an OAuth access token for Jira so other people can use Rija.

  19. What is ASWebAuthenticationSession?

  20. Authorization Flow When someone launches Rija for the first time, Rija must get a Jira access token that gives the app access to the person’s Jira account.

  21. Developing Rija has me spending a lot of time working with Jira’s REST APIs.

  22. Rija Development: Intro

    I have started developing Rija, a native Mac (and possibly iOS) app for tracking issues in Jira.

  23. You update your iOS device to the latest version of iOS.

  24. It’s frustrating to click the Run button in Xcode and find that your project won’t build and run.

  25. Document Types in SwiftUI Apps

    SwiftUI supports making document-based apps that let people create and save documents.

  26. Edit Swift Files Outside Xcode

    Does Xcode’s editor frustrate you?

  27. SwiftUI lists support using text fields to change the name of list items.

  28. Mac apps usually use drag and drop to rearrange items in a list.

  29. When you start using version control in your Xcode projects, you may become confused about which files git should track and which files git should ignore.

  30. You’re making a SwiftUI document-based Mac app.

  31. Every year at WWDC Apple adds new features to their developer SDKs.

  32. The Situation I was working on a SwiftUI app where I wanted to select text in a text view and insert some text at the start of the selection.

  33. What Is a File Wrapper?

  34. Master-detail interfaces are common in iOS and Mac apps.

  35. In the article Using Text Views in a SwiftUI App I showed how to use a UIKit text view in a SwiftUI app.

  36. Most examples of removing items from SwiftUI lists use the .onDelete handler, which is not available for Mac apps.

  37. A common question I see online about Core Data involves storing arrays.

  38. Resources for Learning Combine

    Combine is Apple’s framework for handling asynchronous events in Swift.

  39. A common scenario for iOS and Mac apps is to save data when someone quits the app.

  40. Xcode Installation Questions

    People learning iOS development without prior programming experience have a lot of questions on installing Xcode, Apple’s tool for developing iOS and Mac apps.

  41. Prior to Xcode 12 Xcode had the following iOS application project templates: Single View App Master-Detail App Page-Based App Tabbed App If you create an iOS application project in Xcode 12, you will notice these project templates are missing.

  42. When to Use Environment Variables Most Swift apps do not need environment variables.

  43. Should I learn Swift or SwiftUI?

    I see a lot of new iOS developers ask the question in the title of this article.

  44. In this article you’ll learn what you need to start unit testing your Swift code in Xcode.

  45. Make a Markdown Editor in SwiftUI

    In this tutorial you will make a Markdown editor with live preview using SwiftUI.

  46. Renaming Xcode Projects

    Renaming Xcode projects is not intuitive or obvious.

  47. How to Notarize a Mac App

    Notarizing a Mac app allows it to work better with Apple’s Gatekeeper feature in macOS.

  48. Every Mac app has an About box, which you can access by choosing AppName > About AppName.

  49. My short article on changing the button title for open and save panels gave me the idea to write a longer article on working with open and save panels.

  50. Open and save panels are how Mac apps let people open and save files.