Skip to content

Commit

Permalink
🛠 Refactor: Rename RNIIdentifiable.identifier
Browse files Browse the repository at this point in the history
Summary: Rename `RNIIdentifiable.identifier` to  `synthesizedIdentifier`.
  • Loading branch information
dominicstop committed Mar 30, 2023
1 parent b639bf9 commit 6c97bb9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ios/src_library/Helpers+Utilities/RNIIdentifiable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public protocol RNIIdentifiable:

extension RNIIdentifiable {

fileprivate var identifier: RNIObjectIdentifier {
public var synthesizedIdentifier: RNIObjectIdentifier {
if let identifier = self.metadata {
return identifier;
};
Expand All @@ -45,14 +45,14 @@ extension RNIIdentifiable {
static var synthesizedIdPrefix: String { "" };

public var synthesizedID: Int {
self.identifier.id;
self.synthesizedIdentifier.id;
};

public var synthesizedStringID: String {
Self.synthesizedIdPrefix + "\(self.synthesizedID)";
};

public var synthesizedUUID: UUID {
self.identifier.uuid;
self.synthesizedIdentifier.uuid;
};
};

0 comments on commit 6c97bb9

Please sign in to comment.