Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

More macOS 13 compatibility issues

Open
#362 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
swift
Domain
desktop

Research direction

Start with TextViewController, FindViewController, and SuggestionViewController, focusing on their loadView methods and the NSNib/NSViewController crash trace. Compare the macOS 13 workaround with commit 941f378 and investigate the ordering of styleTextView/ScrollView/MinimapView relative to FindViewController creation. Done means the editor launches without crashing and does not show a blank view on macOS 13.

Written by the indexing model from the issue text.

Description

Problem

On macOS 13, the editor crashes on launch, then shows a blank view after workaround.

Crash trace:

-[NSNib _initWithNibNamed:bundle:options:]
-[NSViewController _nibWithName:bundle:]
-[NSViewController loadView]
Workaround

The following changes make it work on macOS 13, but we don't fully understand why they're only needed on macOS 13:

  1. Replace super.loadView() with self.view = NSView() in TextViewController, FindViewController, SuggestionViewController

  2. Move styleTextView/ScrollView/MinimapView() before FindViewController creation in TextViewController.loadView()

See: https://github.com/nekohasekai/CodeEditSourceEditor/commit/941f378

Dominant language
Swift
Stars
720
Forks
162
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CodeEditApp/CodeEditSourceEditor

All issues in CodeEditApp/CodeEditSourceEditor

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.