From 1e6d4a1ceaa2d8bf619f20cb7ee982e5c564fce7 Mon Sep 17 00:00:00 2001 From: Slava Karpenko Date: Wed, 13 Sep 2017 21:38:27 +0300 Subject: [PATCH] -[GTNote target] -> -[GTNote targetOID] Apparently messed this one up initially: the GTNote class itself defines a read-only accessor to `targetOID`, while public header defines a `target` property. Fixing the public header so it gets proper access to `targetOID`. --- ObjectiveGit/GTNote.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ObjectiveGit/GTNote.h b/ObjectiveGit/GTNote.h index 01955057f..008b78a5a 100644 --- a/ObjectiveGit/GTNote.h +++ b/ObjectiveGit/GTNote.h @@ -48,7 +48,7 @@ NS_ASSUME_NONNULL_BEGIN /// Content of the note. @property (nonatomic, readonly, strong) NSString *note; -@property (nonatomic, readonly, strong) GTObject *target; +@property (nonatomic, readonly, strong) GTOID *targetOID; /// The underlying `git_note` object. - (git_note *)git_note __attribute__((objc_returns_inner_pointer));