mirror of
https://github.com/JohnEstropia/CoreStore.git
synced 2026-03-22 01:19:42 +01:00
WIP: objc utilities
This commit is contained in:
@@ -158,6 +158,17 @@ public final class ListMonitor<T: NSManagedObject>: Hashable {
|
||||
]
|
||||
}
|
||||
|
||||
/**
|
||||
Checks if the `ListMonitor` has at least one section
|
||||
|
||||
- returns: `true` if at least one section exists, `false` otherwise
|
||||
*/
|
||||
@warn_unused_result
|
||||
public func hasSections() -> Bool {
|
||||
|
||||
return self.sections().count > 0
|
||||
}
|
||||
|
||||
/**
|
||||
Checks if the `ListMonitor` has at least one object in any section.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user