Peter Livesey

6pods

ConsistencyManager

Manages the consistency of immutable models.

License: Apache-2.0

  • Swift

Isaac

This library shoves data from JSON objects into models. You write subclasses of NSObject with properties that match the JSON keys. Then call one method and the model will be populated with the JSON data. It is recursive and type-safe. See our documentation: http://linkedin.github.io/Isaac

License: Apache 2

  • Objective C

LayoutTest

LayoutTest enables you to write unit tests which test the layout of a view in multiple configurations.

License: Apache-2.0

  • Objective C

LayoutTestBase

Base library for LayoutTest without XCTest dependency. LayoutTest enables you to write unit tests which test the layout of views.

License: Apache-2.0

  • Objective C

PartyTime

              This is a light wrapper around the MultiPeer connectivity framework which quickly connects devices without having to send or receive invites. Here's the quick setup:

Each device calls:

PLPartyTime *partyTime = [[PLPartyTime alloc] initWithServiceType@"MyApp"]; partyTime.delegate = self; [partyTime joinParty];

Each device will get a callback when anyone connects or disconnects. Note that any device which joins the party with this service type will automatically join without sending or receiving invitations.

  • (void)partyTime:(PLPartyTime *)partyTime peer:(MCPeerID *)peer changedState:(MCSessionState)state currentPeers:(NSArray *)currentPeers;

Then, anytime you want to send data, you can call a method to send to all connected users (peers) or an array of select peers.

  • (BOOL)sendData:(NSData )data withMode:(MCSessionSendDataMode)mode error:(NSError *)error;
  • (BOOL)sendData:(NSData )data toPeers:(NSArray *)peerIDs withMode:(MCSessionSendDataMode)mode error:(NSError *)error;

The clients receiving data get the callback:

  • (void)partyTime:(PLPartyTime *)partyTime didReceiveData:(NSData *)data fromPeer:(MCPeerID *)peerID;

And that's it. There are a few more features of this library, but I'll let you read through the documentation to find those specifically.

License: MIT

  • Objective C

RocketData

A non-blocking CoreData replacement which uses immutable models.

License: Apache-2.0

  • Swift