FWABRandomRepository

@protocol FWABRandomRepository

随机数仓库协议

  • 获取指定key随机数

    Declaration

    Objective-C

    - (NSInteger)getRandomNumberWithKey:(NSString *_Nonnull)key;
  • 设置指定key随机数

    Declaration

    Objective-C

    - (void)setRandomNumber:(NSInteger)randomNumber key:(NSString *_Nonnull)key;
  • 删除指定key随机数

    Declaration

    Objective-C

    - (void)removeRandomNumberWithKey:(NSString *_Nonnull)key;