Note that there are some explanatory texts on larger screens.

plurals
  1. USjbg
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COYour hint mixes presentation and logic by putting HTML in your model, doing exactly the opposite of what you are trying to teach. How about returning None if there is no name (logical behaviour for a data model) and then using the `default_if_none` filter in the template?
      singulars
    2. COYes, `dealloc` is not being called due to something within Foundation or UIKit retaining my view controller (as shown by the Allocations report). I’ve tried removing all blocks from the code (using `[self performSelectorOnMainThread:@selector(reload) withObject:nil waitUntilDone:NO]` instead) and the problem persists. Adding the weak self / strong self dance while still using blocks makes no difference. There are no blocks being stored anyway (GCD executes and then releases them) so retaining self in the block will not cause a cycle. See http://stackoverflow.com/questions/7565953
      singulars
    3. CONo change adding the above line of code before each block and altering the block to reference `bself` instead of `self`. Thanks for the idea. I think if something like that had been causing the unbalanced retain (which I can’t see a way it could), it would show in the above Allocations report. The block retains are shown, but are balanced by releases.
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload