Skip to content

Commit

Permalink
I needed to make sure the property is dynamic so that KVO picks up th…
Browse files Browse the repository at this point in the history
…e change.
  • Loading branch information
EricG-Personal committed Mar 16, 2016
1 parent 7ec7533 commit a2ca895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sb_ac_doc/ViewController.swift
Expand Up @@ -10,7 +10,7 @@ import Cocoa

class ViewController: NSViewController
{
var context: NSManagedObjectContext?
dynamic var context: NSManagedObjectContext?

override func viewDidLoad()
{
Expand Down

0 comments on commit a2ca895

Please sign in to comment.