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

Assigning Custom class(EditorView) to UIView in Xib causing crash in initWithDecoder

Open
#1,206 1 comment 0 reactions 1 assignee View on GitHub

@SergioEstevao is already working on this.

Since Dec 9, 2019.

Assessment

This issue has not been assessed yet.

Description

[Type] Bug

Describe the bug
After assigning EditorView to UIView in XIB causing crash in initWithDecoder method
To Reproduce
Steps to reproduce the behavior:

  1. Assign EditorView class to UIView
  2. Launch view controller
  3. initWithDecoder will not get richTextView and htmlTextView from decoder
    4.App will crash in initWithDecoder

Also EditorView is not open class so not allowed to inherit EditorView so that we can encode richTextView and htmlTextView

Dominant language
Swift
Stars
669
Forks
153
Avg merge
11h 27m
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

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 wordpress-mobile/AztecEditor-iOS

All issues in wordpress-mobile/AztecEditor-iOS

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.