vendor/Pods/Headers/NanoStore/NSFNanoStore.h in nano-store-0.5.2 vs vendor/Pods/Headers/NanoStore/NSFNanoStore.h in nano-store-0.6.0

- old
+ new

@@ -295,10 +295,17 @@ * @note Check properties savedObjects, unsavedObjects and removedObjects to find out the current state of the bag. */ - (NSFNanoBag *)bagWithName:(NSString *)theName; +/** * Retrieves all bags associated with the specified name. + * @param theName the name of the bag. + * @returns The bags that match the specified name, an empty array otherwise. + */ + +- (NSArray *)bagsWithName:(NSString *)theName; + /** * Returns a new array containing the bags found in the document store matching the specified list of keys. * @param theKeys the list of bag keys. * @returns An array with the bags that match the specified list of keys. * @see \link bags - (NSArray *)bags \endlink * @see \link bagsContainingObjectWithKey: - (NSArray *)bagsContainingObjectWithKey:(NSString *)theKey \endlink @@ -467,9 +474,14 @@ /** * Returns a string representation of the store. * @note Check properties nanoEngineProcessingMode and saveInterval to find out the current state of the object. */ - (NSString *)description; + +/** Returns a JSON representation of the store. + */ + +- (NSString *)JSONDescription; //@} @end \ No newline at end of file