From 47b7690355b79988aba62fbdcde311fc164386e1 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 23 Jun 2019 21:33:12 +0700 Subject: [PATCH] Document known issue Closes #37 --- readme.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/readme.md b/readme.md index 89c2f02..417cea9 100644 --- a/readme.md +++ b/readme.md @@ -789,6 +789,13 @@ Defaults[.stringSet].contains("Hello") //=> true Defaults[.stringSet].contains("World!") //=> true ``` +## Known issues + +### The preferences window doesn't show + +This can happen when you are not using auto-layout or have not set a size for the view controller. You can fix this by either using auto-layout or setting an explicit size, for example, `preferredContentSize` in `viewDidLoad()`. [We intend to fix this.](https://github.com/sindresorhus/Preferences/pull/28) + + ## FAQ ### How can I store a dictionary of arbitrary values?