Skip to content

Instantly share code, notes, and snippets.

View EchoAbstract's full-sized avatar

Brian Wilson EchoAbstract

  • TrustCloud
  • Boston, MA
View GitHub Profile
@EchoAbstract
EchoAbstract / userTests.m
Created February 6, 2012 19:40
iOS Demo for Blog
// If you have a userController that manages a view for logging-in/creating users
- (IBAction)loginUser:(id)sender
{
// Log in the user and notify this class that logging-in completed
[KCSUser loginWithUsername:self.username.text password:self.username.password withDelegate:self];
}
- (IBAction)createUser:(id)sender
{
@EchoAbstract
EchoAbstract / woot-woot.m
Created January 13, 2012 22:32
iOS Code For Kelly
///---------------------------------------------------------------------------------------
/// @name Creating Users
///---------------------------------------------------------------------------------------
+ (KCSUser *)userWithUsername: (NSString *)username password: (NSString *)password;
+ (void)checkForExistingUsernameWithBlock: (KCSUsernameCheckBlock)checkBlock;