Skip to content

Instantly share code, notes, and snippets.

<?php
return [
/*
|--------------------------------------------------------------------------
| Mail Driver
|--------------------------------------------------------------------------
|
| Laravel supports both SMTP and PHP's "mail" function as drivers for the
-(void) parseResponseFromServer:(NSString*) output {
NSMutableDictionary* dict = [output objectFromJSONString];
NSMutableDictionary* theData;
int output_code = [[dict objectForKey:@"c"] intValue];
BOOL bStatus = [[dict objectForKey:@"s"] boolValue];
switch (output_code) {
case kConnect:
sUser = [dict objectForKey:@"u"];
debugLabel.text = [NSString stringWithFormat: @"Connected as %@", sUser];