Momentum
Momentum is a collection of objective c classes and categories that extends NSArray and NSMutableArray with declarative-style in-memory query and set operations.
Install / Use
/learn @randolphcabral/MomentumREADME
Momentum
Momentum is a collection of objective c classes and categories that extends NSArray and NSMutableArray with declarative-style in-memory query and set operations.
Usage
Drop the files into your project and #include. Make changes to the files as you need. All I ask is that you share your updates with me.
Sample
NSMutableArray * strings = [[NSMutableArray alloc] initWithObjects:@"ken", @"jane", @"james", @"ivan", @"randy", nil];
[[strings
where:(id)^(id string) { return [string isEqualToString:@"james"] || [string isEqualToString:@"ken"]; }]
forin:^(id string) { NSLog(@"%@", string); }];
Related Skills
node-connect
341.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
341.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.6kCommit, push, and open a PR
