Fixed problems that could cause a crash.

This commit is contained in:
GRMrGecko 2010-09-24 15:35:47 -05:00
parent 17a82d13ac
commit cf629e2861
25 changed files with 14362 additions and 50 deletions

View File

@ -33,6 +33,9 @@
+ (id)contactsWithClass:(Class)theClass delegate:(id)theDelegate; + (id)contactsWithClass:(Class)theClass delegate:(id)theDelegate;
- (id)initWithClass:(Class)theClass delegate:(id)theDelegate; - (id)initWithClass:(Class)theClass delegate:(id)theDelegate;
- (void)setDelegate:(id)theDelegate;
- (id<MGMContactsOwnerDelegate>)delegate;
- (void)stop; - (void)stop;
- (void)setMaxResults:(int)theMaxResults; - (void)setMaxResults:(int)theMaxResults;

View File

@ -90,6 +90,13 @@ const int MGMCMaxResults = 10;
[super dealloc]; [super dealloc];
} }
- (void)setDelegate:(id)theDelegate {
delegate = theDelegate;
}
- (id<MGMContactsOwnerDelegate>)delegate {
return delegate;
}
- (void)stop { - (void)stop {
if (isUpdating) { if (isUpdating) {
stopingUpdate = YES; stopingUpdate = YES;
@ -234,7 +241,7 @@ const int MGMCMaxResults = 10;
[self setContactsConnection:[MGMLiteConnection connectionWithPath:[[user supportPath] stringByAppendingPathComponent:MGMCContactsDB]]]; [self setContactsConnection:[MGMLiteConnection connectionWithPath:[[user supportPath] stringByAppendingPathComponent:MGMCContactsDB]]];
[updateLock unlock]; [updateLock unlock];
isUpdating = NO; isUpdating = NO;
if ([delegate respondsToSelector:@selector(updatedContacts)]) [delegate updatedContacts]; if (delegate!=nil && [delegate respondsToSelector:@selector(updatedContacts)]) [delegate updatedContacts];
} }
- (NSNumber *)countContactsMatching:(NSString *)theString { - (NSNumber *)countContactsMatching:(NSString *)theString {

View File

@ -1340,11 +1340,17 @@ NSComparisonResult dateSort(NSDictionary *info1, NSDictionary *info2, void *cont
@end @end
@implementation NSData (MGMAddons) @implementation NSData (MGMAddons)
- (NSData *)resizeTo:(
#if TARGET_OS_IPHONE
CGSize
#else
NSSize
#endif
)theSize {
#if TARGET_OS_IPHONE #if TARGET_OS_IPHONE
- (NSData *)resizeTo:(CGSize)theSize {
UIImage *image = [[UIImage alloc] initWithData:self]; UIImage *image = [[UIImage alloc] initWithData:self];
#else #else
- (NSData *)resizeTo:(NSSize)theSize {
NSImage *image = [[NSImage alloc] initWithData:self]; NSImage *image = [[NSImage alloc] initWithData:self];
#endif #endif
if (image!=nil) { if (image!=nil) {
@ -1357,11 +1363,13 @@ NSComparisonResult dateSort(NSDictionary *info1, NSDictionary *info2, void *cont
float scaledWidth = theSize.width; float scaledWidth = theSize.width;
float scaledHeight = theSize.height; float scaledHeight = theSize.height;
if (
#if TARGET_OS_IPHONE #if TARGET_OS_IPHONE
if (!CGSizeEqualToSize(size, theSize)) { !CGSizeEqualToSize(size, theSize)
#else #else
if (!NSEqualSizes(size, theSize)) { !NSEqualSizes(size, theSize)
#endif #endif
) {
float widthFactor = theSize.width / size.width; float widthFactor = theSize.width / size.width;
float heightFactor = theSize.height / size.height; float heightFactor = theSize.height / size.height;
@ -1372,38 +1380,37 @@ NSComparisonResult dateSort(NSDictionary *info1, NSDictionary *info2, void *cont
scaledWidth = size.width * scaleFactor; scaledWidth = size.width * scaleFactor;
scaledHeight = size.height * scaleFactor; scaledHeight = size.height * scaleFactor;
}
NSData *scaledData = self;
#if TARGET_OS_IPHONE #if TARGET_OS_IPHONE
CGSize newSize = CGSizeMake(scaledWidth, scaledHeight);
if (!CGSizeEqualToSize(newSize, CGSizeZero)) {
NSAutoreleasePool *pool = [NSAutoreleasePool new];
UIGraphicsBeginImageContext(newSize);
[image drawInRect:CGRectMake(0, 0, scaledWidth, scaledHeight)];
UIImage *newImage = [UIGraphicsGetImageFromCurrentImageContext() retain];
UIGraphicsEndImageContext();
[pool drain];
scaledData = UIImagePNGRepresentation(newImage);
[newImage release];
} }
#else #else
NSSize newSize = NSMakeSize(scaledWidth, scaledHeight);
if (!NSEqualSizes(newSize, NSZeroSize)) {
NSImage *newImage = [[NSImage alloc] initWithSize:newSize];
[newImage lockFocus];
NSGraphicsContext *graphicsContext = [NSGraphicsContext currentContext];
[graphicsContext setImageInterpolation:NSImageInterpolationHigh];
[graphicsContext setShouldAntialias:YES];
[image drawInRect:NSMakeRect(0, 0, scaledWidth, scaledHeight) fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0];
[newImage unlockFocus];
scaledData = [newImage TIFFRepresentation];
[newImage release];
} }
#endif
#if TARGET_OS_IPHONE
NSAutoreleasePool *pool = [NSAutoreleasePool new];
UIGraphicsBeginImageContext(CGSizeMake(scaledWidth, scaledHeight));
[image drawInRect:CGRectMake(0, 0, scaledWidth, scaledHeight)];
UIImage *newImage = [UIGraphicsGetImageFromCurrentImageContext() retain];
UIGraphicsEndImageContext();
[pool drain];
NSData *scaledData = UIImagePNGRepresentation(newImage);
[newImage release];
#else
NSImage *newImage = [[NSImage alloc] initWithSize:NSMakeSize(scaledWidth, scaledHeight)];
[newImage lockFocus];
NSGraphicsContext *graphicsContext = [NSGraphicsContext currentContext];
[graphicsContext setImageInterpolation:NSImageInterpolationHigh];
[graphicsContext setShouldAntialias:YES];
[image drawInRect:NSMakeRect(0, 0, scaledWidth, scaledHeight) fromRect:NSZeroRect operation:NSCompositeSourceOver fraction:1.0];
[newImage unlockFocus];
NSData *scaledData = [newImage TIFFRepresentation];
[newImage release];
#endif #endif
[image release]; [image release];
return scaledData; return scaledData;
} }
return nil; return nil;
#if TARGET_OS_IPHONE
} }
#else
}
#endif
@end @end

View File

@ -166,7 +166,7 @@ const BOOL MGMInstanceInvisible = YES;
return contacts; return contacts;
} }
- (void)updatedContacts { - (void)updatedContacts {
if ([delegate respondsToSelector:@selector(updatedContacts)]) [delegate updatedContacts]; if (delegate!=nil && [delegate respondsToSelector:@selector(updatedContacts)]) [delegate updatedContacts];
} }
- (NSString *)XPCURL { - (NSString *)XPCURL {
@ -199,7 +199,7 @@ const BOOL MGMInstanceInvisible = YES;
} }
- (void)index:(NSDictionary *)theInfo didFailWithError:(NSError *)theError { - (void)index:(NSDictionary *)theInfo didFailWithError:(NSError *)theError {
if ([delegate respondsToSelector:@selector(loginError:)]) { if (delegate!=nil && [delegate respondsToSelector:@selector(loginError:)]) {
[delegate loginError:theError]; [delegate loginError:theError];
} else { } else {
NSLog(@"Login Error: %@", theError); NSLog(@"Login Error: %@", theError);
@ -239,7 +239,7 @@ const BOOL MGMInstanceInvisible = YES;
} else if ([returnedString containsString:@"<div id=\"gaia_loginbox\">"]) { } else if ([returnedString containsString:@"<div id=\"gaia_loginbox\">"]) {
if (webLoginTries>2) { if (webLoginTries>2) {
NSError *error = [NSError errorWithDomain:@"com.MrGeckosMedia.MGMInstance.Login" code:1 userInfo:[NSDictionary dictionaryWithObject:@"Unable to login. Please check your Credentials." forKey:NSLocalizedDescriptionKey]]; NSError *error = [NSError errorWithDomain:@"com.MrGeckosMedia.MGMInstance.Login" code:1 userInfo:[NSDictionary dictionaryWithObject:@"Unable to login. Please check your Credentials." forKey:NSLocalizedDescriptionKey]];
if ([delegate respondsToSelector:@selector(loginError:)]) { if (delegate!=nil && [delegate respondsToSelector:@selector(loginError:)]) {
[delegate loginError:error]; [delegate loginError:error];
} else { } else {
NSLog(@"Login Error: %@", error); NSLog(@"Login Error: %@", error);
@ -413,7 +413,7 @@ const BOOL MGMInstanceInvisible = YES;
} }
if (![returnedString containsString:@"gc-header-did-display"] && ![userNumber isPhoneComplete]) { if (![returnedString containsString:@"gc-header-did-display"] && ![userNumber isPhoneComplete]) {
NSError *error = [NSError errorWithDomain:@"com.MrGeckosMedia.MGMInstance.Login" code:2 userInfo:[NSDictionary dictionaryWithObject:@"Your Google Account does not appear to have a Google Number, please visit voice.google.com and setup one before continuing." forKey:NSLocalizedDescriptionKey]]; NSError *error = [NSError errorWithDomain:@"com.MrGeckosMedia.MGMInstance.Login" code:2 userInfo:[NSDictionary dictionaryWithObject:@"Your Google Account does not appear to have a Google Number, please visit voice.google.com and setup one before continuing." forKey:NSLocalizedDescriptionKey]];
if ([delegate respondsToSelector:@selector(loginError:)]) { if (delegate!=nil && [delegate respondsToSelector:@selector(loginError:)]) {
[delegate loginError:error]; [delegate loginError:error];
} else { } else {
NSLog(@"Login Error: %@", error); NSLog(@"Login Error: %@", error);
@ -473,7 +473,7 @@ const BOOL MGMInstanceInvisible = YES;
NSLog(@"XPCURL = %@", XPCURL); NSLog(@"XPCURL = %@", XPCURL);
#endif #endif
loggedIn = YES; loggedIn = YES;
if ([delegate respondsToSelector:@selector(loginSuccessful)]) [delegate loginSuccessful]; if (delegate!=nil && [delegate respondsToSelector:@selector(loginSuccessful)]) [delegate loginSuccessful];
if (!checkingAccount) { if (!checkingAccount) {
[contacts updateContacts]; [contacts updateContacts];
if (checkTimer!=nil) { if (checkTimer!=nil) {
@ -529,13 +529,12 @@ const BOOL MGMInstanceInvisible = YES;
//int recordedCount = [[currentUnreadCounts objectForKey:MGMUCRecorded] intValue]; //int recordedCount = [[currentUnreadCounts objectForKey:MGMUCRecorded] intValue];
int voicemailCount = [[currentUnreadCounts objectForKey:MGMUCVoicemail] intValue]; int voicemailCount = [[currentUnreadCounts objectForKey:MGMUCVoicemail] intValue];
int smsCount = [[currentUnreadCounts objectForKey:MGMUCSMS] intValue]; int smsCount = [[currentUnreadCounts objectForKey:MGMUCSMS] intValue];
if ([[unreadCounts objectForKey:MGMUCInbox] intValue]!=inboxCount) { if ([[unreadCounts objectForKey:MGMUCInbox] intValue]!=inboxCount)
if ([delegate respondsToSelector:@selector(updateUnreadCount:)]) [delegate updateUnreadCount:inboxCount]; if (delegate!=nil && [delegate respondsToSelector:@selector(updateUnreadCount:)]) [delegate updateUnreadCount:inboxCount];
}
if (voicemailCount>0) if (voicemailCount>0)
if ([delegate respondsToSelector:@selector(updateVoicemail)]) [delegate updateVoicemail]; if (delegate!=nil && [delegate respondsToSelector:@selector(updateVoicemail)]) [delegate updateVoicemail];
if (smsCount>0) if (smsCount>0)
if ([delegate respondsToSelector:@selector(updateSMS)]) [delegate updateSMS]; if (delegate!=nil && [delegate respondsToSelector:@selector(updateSMS)]) [delegate updateSMS];
if (unreadCounts!=nil) [unreadCounts release]; if (unreadCounts!=nil) [unreadCounts release];
unreadCounts = [currentUnreadCounts copy]; unreadCounts = [currentUnreadCounts copy];
} }
@ -553,7 +552,7 @@ const BOOL MGMInstanceInvisible = YES;
#if MGMInstanceDebug #if MGMInstanceDebug
NSLog(@"Credit = %@", credit); NSLog(@"Credit = %@", credit);
#endif #endif
if ([delegate respondsToSelector:@selector(updateCredit:)]) [delegate updateCredit:credit]; if (delegate!=nil && [delegate respondsToSelector:@selector(updateCredit:)]) [delegate updateCredit:credit];
} }
- (void)placeCall:(NSString *)thePhoneNumber usingPhone:(int)thePhone delegate:(id)theDelegate { - (void)placeCall:(NSString *)thePhoneNumber usingPhone:(int)thePhone delegate:(id)theDelegate {

View File

@ -130,6 +130,8 @@ typedef enum {
- (void)start; - (void)start;
- (void)stop; - (void)stop;
- (void)restart; - (void)restart;
- (void)computerSleep;
- (void)computerWake;
- (void)registerThread:(pj_thread_desc *)thePJThreadDesc; - (void)registerThread:(pj_thread_desc *)thePJThreadDesc;

View File

@ -269,11 +269,17 @@ static OSStatus MGMAudioDevicesChanged(AudioHardwarePropertyID propertyID, void
CFRelease(storeRunLoop); CFRelease(storeRunLoop);
} }
} }
NSNotificationCenter *wsNotifications = [[NSWorkspace sharedWorkspace] notificationCenter];
[wsNotifications addObserver:self selector:@selector(computerSleep) name:NSWorkspaceWillSleepNotification object:nil];
[wsNotifications addObserver:self selector:@selector(computerWake) name:NSWorkspaceDidWakeNotification object:nil];
#endif #endif
} }
return self; return self;
} }
- (void)dealloc { - (void)dealloc {
#if !TARGET_OS_IPHONE
[[[NSWorkspace sharedWorkspace] notificationCenter] removeObserver:self];
#endif
[self stop]; [self stop];
if (storeRunLoop!=NULL) if (storeRunLoop!=NULL)
CFRunLoopRemoveSource(CFRunLoopGetCurrent(), storeRunLoop, kCFRunLoopDefaultMode); CFRunLoopRemoveSource(CFRunLoopGetCurrent(), storeRunLoop, kCFRunLoopDefaultMode);
@ -609,6 +615,23 @@ static OSStatus MGMAudioDevicesChanged(AudioHardwarePropertyID propertyID, void
[self stop]; [self stop];
} }
- (void)computerSleep {
restartAccounts = [accounts copy];
[self stopBackground];
}
- (void)computerWake {
if (restartAccounts!=nil) {
for (int i=0; i<[restartAccounts count]; i++) {
if (![accounts containsObject:[restartAccounts objectAtIndex:i]])
[accounts addObject:[restartAccounts objectAtIndex:i]];
}
[restartAccounts release];
restartAccounts = nil;
}
[self start];
}
- (void)registerThread:(pj_thread_desc *)thePJThreadDesc { - (void)registerThread:(pj_thread_desc *)thePJThreadDesc {
if (!pj_thread_is_registered()) { if (!pj_thread_is_registered()) {
pj_thread_t *PJThread; pj_thread_t *PJThread;
@ -817,6 +840,7 @@ static OSStatus MGMAudioDevicesChanged(AudioHardwarePropertyID propertyID, void
pj_thread_desc PJThreadDesc; pj_thread_desc PJThreadDesc;
[self registerThread:&PJThreadDesc]; [self registerThread:&PJThreadDesc];
pjsua_set_null_snd_dev();
pj_status_t status = pjsua_set_snd_dev(theInputDevice, theOutputDevice); pj_status_t status = pjsua_set_snd_dev(theInputDevice, theOutputDevice);
bzero(&PJThreadDesc, sizeof(pj_thread_desc)); bzero(&PJThreadDesc, sizeof(pj_thread_desc));
return (status==PJ_SUCCESS); return (status==PJ_SUCCESS);

View File

@ -62,6 +62,8 @@ NSString * const MGMSID = @"id";
[sidebarView setAutosaveExpandedItems:YES]; [sidebarView setAutosaveExpandedItems:YES];
} }
- (void)dealloc { - (void)dealloc {
if (inboxWindow!=nil)
[inboxWindow close];
if (currentData!=nil) if (currentData!=nil)
[currentData release]; [currentData release];
[super dealloc]; [super dealloc];
@ -128,13 +130,17 @@ NSString * const MGMSID = @"id";
} }
- (void)startProgress { - (void)startProgress {
if (progressStartCount==0) if (progress!=nil) {
[progress startAnimation:self]; if (progressStartCount==0)
[progress startAnimation:self];
}
progressStartCount++; progressStartCount++;
} }
- (void)stopProgress { - (void)stopProgress {
if (progressStartCount==1) if (progress!=nil) {
[progress stopAnimation:self]; if (progressStartCount==1)
[progress stopAnimation:self];
}
progressStartCount--; progressStartCount--;
} }
@ -470,6 +476,7 @@ NSString * const MGMSID = @"id";
} }
- (void)windowWillClose:(NSNotification *)notification { - (void)windowWillClose:(NSNotification *)notification {
[self setCurrentData:nil]; [self setCurrentData:nil];
[inboxWindow setDelegate:nil];
inboxWindow = nil; inboxWindow = nil;
splitView = nil; splitView = nil;
sidebarView = nil; sidebarView = nil;
@ -477,6 +484,7 @@ NSString * const MGMSID = @"id";
nextButton = nil; nextButton = nil;
previousButton = nil; previousButton = nil;
pageField = nil; pageField = nil;
progress = nil;
} }
@end @end

View File

@ -42,6 +42,7 @@ NSString *MGMContactsWindowOpen = @"MGMContactsWindowOpen";
[self filterContacts]; [self filterContacts];
} }
- (void)dealloc { - (void)dealloc {
[[NSNotificationCenter defaultCenter] removeObserver:self];
if (contactsWindow!=nil) if (contactsWindow!=nil)
[contactsWindow close]; [contactsWindow close];
if (filterLock!=nil) { if (filterLock!=nil) {

View File

@ -196,6 +196,7 @@ NSString * const MGMLoading = @"Loading...";
return badge; return badge;
} }
- (void)setBadge:(int)theBadge forInstance:(MGMInstance *)theInstance { - (void)setBadge:(int)theBadge forInstance:(MGMInstance *)theInstance {
if (quitting) return;
if (![theInstance isLoggedIn]) return; if (![theInstance isLoggedIn]) return;
if (theBadge==0) if (theBadge==0)
[badgeValues removeObjectForKey:[theInstance userNumber]]; [badgeValues removeObjectForKey:[theInstance userNumber]];
@ -247,8 +248,7 @@ NSString * const MGMLoading = @"Loading...";
return YES; return YES;
} }
- (void)updateWindowMenu { - (void)updateWindowMenu {
if (quitting) if (quitting) return;
return;
int splitterIndex = 0; int splitterIndex = 0;
for (int i=0; i<[windowMenu numberOfItems]; i++) { for (int i=0; i<[windowMenu numberOfItems]; i++) {
if (splitterIndex!=0) { if (splitterIndex!=0) {
@ -274,6 +274,7 @@ NSString * const MGMLoading = @"Loading...";
} }
} }
- (IBAction)showUserWindow:(id)sender { - (IBAction)showUserWindow:(id)sender {
if (quitting) return;
MGMContactsController *contactsController = [contactsControllers objectAtIndex:[sender tag]]; MGMContactsController *contactsController = [contactsControllers objectAtIndex:[sender tag]];
[contactsController showContactsWindow]; [contactsController showContactsWindow];
} }

View File

@ -61,10 +61,8 @@ NSString *MGMLastUserPhoneKey = @"MGMLastUserPhone";
} }
- (void)dealloc { - (void)dealloc {
[super dealloc]; [super dealloc];
[[NSNotificationCenter defaultCenter] removeObserver:self];
if (user!=nil)
[user release];
if (instance!=nil) { if (instance!=nil) {
[instance setDelegate:nil];
[instance stop]; [instance stop];
[instance release]; [instance release];
} }
@ -80,6 +78,8 @@ NSString *MGMLastUserPhoneKey = @"MGMLastUserPhone";
[callTimer invalidate]; [callTimer invalidate];
[callTimer release]; [callTimer release];
} }
if (user!=nil)
[user release];
} }
- (void)registerSettings { - (void)registerSettings {

View File

@ -82,7 +82,10 @@ NSString * const MGMLogout = @"Logout";
- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row { - (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row {
if ([[tableColumn identifier] isEqual:@"username"]) { if ([[tableColumn identifier] isEqual:@"username"]) {
#if MGMSIPENABLED #if MGMSIPENABLED
MGMUser *user = [MGMUser userWithID:[[MGMUser users] objectAtIndex:row]]; NSArray *users = [MGMUser users];
if ([users count]>=row)
return nil;
MGMUser *user = [MGMUser userWithID:[users objectAtIndex:row]];
if ([[user settingForKey:MGMSAccountType] isEqual:MGMSSIP]) { if ([[user settingForKey:MGMSAccountType] isEqual:MGMSSIP]) {
if ([user settingForKey:MGMSIPAccountFullName]!=nil && ![[user settingForKey:MGMSIPAccountFullName] isEqual:@""]) if ([user settingForKey:MGMSIPAccountFullName]!=nil && ![[user settingForKey:MGMSIPAccountFullName] isEqual:@""])
return [user settingForKey:MGMSIPAccountFullName]; return [user settingForKey:MGMSIPAccountFullName];
@ -91,6 +94,8 @@ NSString * const MGMLogout = @"Logout";
return [[MGMUser userNames] objectAtIndex:row]; return [[MGMUser userNames] objectAtIndex:row];
} else if ([[tableColumn identifier] isEqual:@"state"]) { } else if ([[tableColumn identifier] isEqual:@"state"]) {
NSDictionary *users = [MGMUser usersPlist]; NSDictionary *users = [MGMUser usersPlist];
if ([[users allKeys] count]>=row)
return nil;
return ([[users objectForKey:[[users allKeys] objectAtIndex:row]] boolValue] ? @"✓" : @""); return ([[users objectForKey:[[users allKeys] objectAtIndex:row]] boolValue] ? @"✓" : @"");
} }
return nil; return nil;

View File

@ -74,6 +74,7 @@ NSString * const MGMSIPUserAreaCode = @"MGMVSIPUserAreaCode";
} }
if (contacts!=nil) { if (contacts!=nil) {
[contacts stop]; [contacts stop];
[contacts setDelegate:nil];
[contacts release]; [contacts release];
} }
if (user!=nil) if (user!=nil)

View File

@ -273,6 +273,7 @@ const float updateTimeInterval = 300.0;
} }
- (void)windowDidBecomeKey:(NSNotification *)notification { - (void)windowDidBecomeKey:(NSNotification *)notification {
if ([messagesTable selectedRow]==-1) return;
[(MGMVoiceUser *)[[[SMSMessages objectAtIndex:[messagesTable selectedRow]] instance] delegate] windowDidBecomeKey:notification]; [(MGMVoiceUser *)[[[SMSMessages objectAtIndex:[messagesTable selectedRow]] instance] delegate] windowDidBecomeKey:notification];
} }
- (BOOL)windowShouldClose:(id)sender { - (BOOL)windowShouldClose:(id)sender {
@ -295,6 +296,7 @@ const float updateTimeInterval = 300.0;
return YES; return YES;
} }
- (void)windowWillClose:(NSNotification *)notification { - (void)windowWillClose:(NSNotification *)notification {
[SMSWindow setDelegate:nil];
SMSWindow = nil; SMSWindow = nil;
splitView = nil; splitView = nil;
messageView = nil; messageView = nil;

View File

@ -150,6 +150,7 @@
[[SMSView mainFrame] loadHTMLString:html baseURL:[NSURL fileURLWithPath:[[manager themeManager] currentThemeVariantPath]]]; [[SMSView mainFrame] loadHTMLString:html baseURL:[NSURL fileURLWithPath:[[manager themeManager] currentThemeVariantPath]]];
} }
- (void)webView:(WebView *)sender resource:(id)identifier didFinishLoadingFromDataSource:(WebDataSource *)dataSource { - (void)webView:(WebView *)sender resource:(id)identifier didFinishLoadingFromDataSource:(WebDataSource *)dataSource {
if (marking) return;
[SMSView stringByEvaluatingJavaScriptFromString:@"scrollToBottom();"]; [SMSView stringByEvaluatingJavaScriptFromString:@"scrollToBottom();"];
} }
- (void)addMessage:(NSDictionary *)theMessage { - (void)addMessage:(NSDictionary *)theMessage {

View File

@ -0,0 +1,15 @@
//
// MGMController.h
// VoiceMob
//
// Created by Mr. Gecko on 9/24/10.
// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
//
#import <UIKit/UIKit.h>
@interface MGMController : UIViewController {
IBOutlet UIWindow *mainWindow;
}
@end

View File

@ -0,0 +1,13 @@
//
// MGMController.m
// VoiceMob
//
// Created by Mr. Gecko on 9/24/10.
// Copyright (c) 2010 Mr. Gecko's Media (James Coleman). All rights reserved. http://mrgeckosmedia.com/
//
#import "MGMController.h"
@implementation MGMController
@end

View File

@ -0,0 +1,8 @@
//
// Prefix header for all source files of the 'VoiceMob' target in the 'VoiceMob' project
//
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif

17
Classes/VoiceMob/main.m Normal file
View File

@ -0,0 +1,17 @@
//
// main.m
// VoiceMob
//
// Created by Mr. Gecko on 9/24/10.
// Copyright Mr. Gecko's Media 2010. All rights reserved.
//
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, nil, nil);
[pool release];
return retVal;
}

View File

@ -0,0 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleDisplayName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string></string>
<key>CFBundleIdentifier</key>
<string>com.MrGeckosMedia.${PRODUCT_NAME:rfc1034identifier}</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>${PRODUCT_NAME}</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>0.1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSMainNibFile</key>
<string>MainWindow_iPhone</string>
<key>NSMainNibFile~ipad</key>
<string>MainWindow_iPad</string>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
</dict>
</plist>

View File

@ -0,0 +1,399 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1024</int>
<string key="IBDocument.SystemVersion">10F569</string>
<string key="IBDocument.InterfaceBuilderVersion">788</string>
<string key="IBDocument.AppKitVersion">1038.29</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">117</string>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys" id="0">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBProxyObject" id="841351856">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
</object>
<object class="IBProxyObject" id="590933970">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
</object>
<object class="IBUIViewController" id="700386176">
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
<int key="IBUIStatusBarStyle">2</int>
</object>
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
<int key="interfaceOrientation">1</int>
</object>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
<bool key="IBUIHorizontal">NO</bool>
</object>
<object class="IBUIWindow" id="380026005">
<nil key="NSNextResponder"/>
<int key="NSvFlags">1316</int>
<object class="NSPSMatrix" key="NSFrameMatrix"/>
<string key="NSFrameSize">{768, 1024}</string>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MSAxIDEAA</bytes>
</object>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics">
<int key="IBUIStatusBarStyle">2</int>
</object>
<string key="targetRuntimeIdentifier">IBIPadFramework</string>
<bool key="IBUIResizesToFullScreen">YES</bool>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">delegate</string>
<reference key="source" ref="841351856"/>
<reference key="destination" ref="700386176"/>
</object>
<int key="connectionID">7</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">mainWindow</string>
<reference key="source" ref="700386176"/>
<reference key="destination" ref="380026005"/>
</object>
<int key="connectionID">8</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">rootViewController</string>
<reference key="source" ref="380026005"/>
<reference key="destination" ref="700386176"/>
</object>
<int key="connectionID">9</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBObjectRecord">
<int key="objectID">0</int>
<reference key="object" ref="0"/>
<reference key="children" ref="1000"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">2</int>
<reference key="object" ref="380026005"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
<reference key="object" ref="841351856"/>
<reference key="parent" ref="0"/>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
<reference key="object" ref="590933970"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">6</int>
<reference key="object" ref="700386176"/>
<reference key="parent" ref="0"/>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>-1.CustomClassName</string>
<string>-2.CustomClassName</string>
<string>2.IBAttributePlaceholdersKey</string>
<string>2.IBEditorWindowLastContentRect</string>
<string>2.IBPluginDependency</string>
<string>2.UIWindow.visibleAtLaunch</string>
<string>6.CustomClassName</string>
<string>6.IBEditorWindowLastContentRect</string>
<string>6.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>UIApplication</string>
<string>UIResponder</string>
<object class="NSMutableDictionary">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<string>{{341, 4}, {783, 752}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<integer value="1"/>
<string>MGMController</string>
<string>{{21, 4}, {783, 752}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<nil key="activeLocalization"/>
<object class="NSMutableDictionary" key="localizations">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">9</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">MGMController</string>
<string key="superclassName">UIViewController</string>
<object class="NSMutableDictionary" key="outlets">
<string key="NS.key.0">mainWindow</string>
<string key="NS.object.0">UIWindow</string>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
<string key="NS.key.0">mainWindow</string>
<object class="IBToOneOutletInfo" key="NS.object.0">
<string key="name">mainWindow</string>
<string key="candidateClassName">UIWindow</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">Classes/VoiceMob/MGMController.h</string>
</object>
</object>
</object>
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSError.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="960102234">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIApplication</string>
<string key="superclassName">UIResponder</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIApplication.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIResponder</string>
<string key="superclassName">NSObject</string>
<reference key="sourceIdentifier" ref="960102234"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">UISearchBar</string>
<string key="superclassName">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UISearchDisplayController</string>
<string key="superclassName">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIView</string>
<string key="superclassName">UIResponder</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIView.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIViewController</string>
<string key="superclassName">UIResponder</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIWindow</string>
<string key="superclassName">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIWindow.h</string>
</object>
</object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBIPadFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
<integer value="1024" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
<integer value="3100" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<string key="IBDocument.LastKnownRelativeProjectPath">../../VoiceMob.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">117</string>
</data>
</archive>

View File

@ -0,0 +1,398 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="7.10">
<data>
<int key="IBDocument.SystemTarget">1024</int>
<string key="IBDocument.SystemVersion">10F569</string>
<string key="IBDocument.InterfaceBuilderVersion">788</string>
<string key="IBDocument.AppKitVersion">1038.29</string>
<string key="IBDocument.HIToolboxVersion">461.00</string>
<object class="NSMutableDictionary" key="IBDocument.PluginVersions">
<string key="NS.key.0">com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string key="NS.object.0">117</string>
</object>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="2"/>
<integer value="6"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
<object class="NSMutableDictionary" key="IBDocument.Metadata">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys" id="0">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<object class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBProxyObject" id="841351856">
<string key="IBProxiedObjectIdentifier">IBFilesOwner</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBProxyObject" id="590933970">
<string key="IBProxiedObjectIdentifier">IBFirstResponder</string>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
</object>
<object class="IBUIViewController" id="455002292">
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
<object class="IBUISimulatedOrientationMetrics" key="IBUISimulatedOrientationMetrics">
<int key="interfaceOrientation">1</int>
</object>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIHorizontal">NO</bool>
</object>
<object class="IBUIWindow" id="380026005">
<reference key="NSNextResponder"/>
<int key="NSvFlags">1316</int>
<object class="NSPSMatrix" key="NSFrameMatrix"/>
<string key="NSFrameSize">{320, 480}</string>
<reference key="NSSuperview"/>
<object class="NSColor" key="IBUIBackgroundColor">
<int key="NSColorSpace">1</int>
<bytes key="NSRGB">MSAxIDEAA</bytes>
</object>
<bool key="IBUIOpaque">NO</bool>
<bool key="IBUIClearsContextBeforeDrawing">NO</bool>
<object class="IBUISimulatedStatusBarMetrics" key="IBUISimulatedStatusBarMetrics"/>
<string key="targetRuntimeIdentifier">IBCocoaTouchFramework</string>
<bool key="IBUIResizesToFullScreen">YES</bool>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">mainWindow</string>
<reference key="source" ref="455002292"/>
<reference key="destination" ref="380026005"/>
</object>
<int key="connectionID">7</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">delegate</string>
<reference key="source" ref="841351856"/>
<reference key="destination" ref="455002292"/>
</object>
<int key="connectionID">8</int>
</object>
<object class="IBConnectionRecord">
<object class="IBCocoaTouchOutletConnection" key="connection">
<string key="label">rootViewController</string>
<reference key="source" ref="380026005"/>
<reference key="destination" ref="455002292"/>
</object>
<int key="connectionID">9</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBObjectRecord">
<int key="objectID">0</int>
<reference key="object" ref="0"/>
<reference key="children" ref="1000"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">2</int>
<reference key="object" ref="380026005"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
<reference key="object" ref="841351856"/>
<reference key="parent" ref="0"/>
<string key="objectName">File's Owner</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
<reference key="object" ref="590933970"/>
<reference key="parent" ref="0"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">6</int>
<reference key="object" ref="455002292"/>
<reference key="parent" ref="0"/>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>-1.CustomClassName</string>
<string>-2.CustomClassName</string>
<string>2.IBAttributePlaceholdersKey</string>
<string>2.IBEditorWindowLastContentRect</string>
<string>2.IBPluginDependency</string>
<string>2.UIWindow.visibleAtLaunch</string>
<string>6.CustomClassName</string>
<string>6.IBEditorWindowLastContentRect</string>
<string>6.IBPluginDependency</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>UIApplication</string>
<string>UIResponder</string>
<object class="NSMutableDictionary">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<string>{{62, 133}, {320, 480}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<integer value="1"/>
<string>MGMController</string>
<string>{{0, 265}, {320, 480}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<nil key="activeLocalization"/>
<object class="NSMutableDictionary" key="localizations">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference key="dict.sortedKeys" ref="0"/>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">9</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">MGMController</string>
<string key="superclassName">UIViewController</string>
<object class="NSMutableDictionary" key="outlets">
<string key="NS.key.0">mainWindow</string>
<string key="NS.object.0">UIWindow</string>
</object>
<object class="NSMutableDictionary" key="toOneOutletInfosByName">
<string key="NS.key.0">mainWindow</string>
<object class="IBToOneOutletInfo" key="NS.object.0">
<string key="name">mainWindow</string>
<string key="candidateClassName">UIWindow</string>
</object>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">Classes/VoiceMob/MGMController.h</string>
</object>
</object>
</object>
<object class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSError.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSFileManager.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSKeyValueCoding.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSKeyValueObserving.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSKeyedArchiver.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSObject.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSRunLoop.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSThread.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSURL.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">Foundation.framework/Headers/NSURLConnection.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIAccessibility.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UINibLoading.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier" id="578196234">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIResponder.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIApplication</string>
<string key="superclassName">UIResponder</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIApplication.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIResponder</string>
<string key="superclassName">NSObject</string>
<reference key="sourceIdentifier" ref="578196234"/>
</object>
<object class="IBPartialClassDescription">
<string key="className">UISearchBar</string>
<string key="superclassName">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UISearchBar.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UISearchDisplayController</string>
<string key="superclassName">NSObject</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UISearchDisplayController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UITextField.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIView</string>
<string key="superclassName">UIResponder</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIView.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UINavigationController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIPopoverController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UISplitViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIViewController</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UITabBarController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIViewController</string>
<string key="superclassName">UIResponder</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIViewController.h</string>
</object>
</object>
<object class="IBPartialClassDescription">
<string key="className">UIWindow</string>
<string key="superclassName">UIView</string>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBFrameworkSource</string>
<string key="minorKey">UIKit.framework/Headers/UIWindow.h</string>
</object>
</object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
<string key="IBDocument.TargetRuntimeIdentifier">IBCocoaTouchFramework</string>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDependencyDefaults">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.iPhoneOS</string>
<integer value="1024" key="NS.object.0"/>
</object>
<object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
<string key="NS.key.0">com.apple.InterfaceBuilder.CocoaTouchPlugin.InterfaceBuilder3</string>
<integer value="3100" key="NS.object.0"/>
</object>
<bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
<string key="IBDocument.LastKnownRelativeProjectPath">../../VoiceMob.xcodeproj</string>
<int key="IBDocument.defaultPropertyAccessControl">3</int>
<string key="IBCocoaTouchPluginVersion">117</string>
</data>
</archive>

View File

@ -868,6 +868,7 @@
"$(inherited)", "$(inherited)",
"\"$(SRCROOT)/Libraries/lib\"", "\"$(SRCROOT)/Libraries/lib\"",
); );
OTHER_CFLAGS = "-fblocks";
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"-ObjC", "-ObjC",
"-all_load", "-all_load",
@ -893,6 +894,12 @@
"$(inherited)", "$(inherited)",
"\"$(SRCROOT)/Libraries/lib\"", "\"$(SRCROOT)/Libraries/lib\"",
); );
OTHER_CFLAGS = (
"-fblocks",
"-DPJ_AUTOCONF=1",
"-DNDEBUG",
"-DMGMSIPENABLED=1",
);
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"-lg7221codec-ios-universal", "-lg7221codec-ios-universal",
"-lgsmcodec-ios-universal", "-lgsmcodec-ios-universal",
@ -938,6 +945,7 @@
"$(inherited)", "$(inherited)",
"\"$(SRCROOT)/Libraries/lib\"", "\"$(SRCROOT)/Libraries/lib\"",
); );
OTHER_CFLAGS = "-fblocks";
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"-ObjC", "-ObjC",
"-all_load", "-all_load",
@ -964,6 +972,12 @@
"$(inherited)", "$(inherited)",
"\"$(SRCROOT)/Libraries/lib\"", "\"$(SRCROOT)/Libraries/lib\"",
); );
OTHER_CFLAGS = (
"-fblocks",
"-DPJ_AUTOCONF=1",
"-DNDEBUG",
"-DMGMSIPENABLED=1",
);
OTHER_LDFLAGS = ( OTHER_LDFLAGS = (
"-lg7221codec-ios-universal", "-lg7221codec-ios-universal",
"-lgsmcodec-ios-universal", "-lgsmcodec-ios-universal",

13010
VoiceMob.ai Normal file

File diff suppressed because one or more lines are too long

BIN
VoiceMob.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@ -0,0 +1,334 @@
// !$*UTF8*$!
{
archiveVersion = 1;
classes = {
};
objectVersion = 45;
objects = {
/* Begin PBXBuildFile section */
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 288765FC0DF74451002DB57D /* CoreGraphics.framework */; };
2A1E97BF124D22A900D3BEAE /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A1E97BD124D22A900D3BEAE /* main.m */; };
2A1E97D6124D25F300D3BEAE /* libVoiceBase.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2A1E97D3124D25DE00D3BEAE /* libVoiceBase.a */; };
2A1E97D9124D261E00D3BEAE /* MGMController.m in Sources */ = {isa = PBXBuildFile; fileRef = 2A1E97D8124D261E00D3BEAE /* MGMController.m */; };
2A1E9826124D2B3D00D3BEAE /* MainWindow_iPhone.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2A1E9825124D2B3D00D3BEAE /* MainWindow_iPhone.xib */; };
2A1E9838124D2B7200D3BEAE /* MainWindow_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = 2A1E9837124D2B7200D3BEAE /* MainWindow_iPad.xib */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
2A1E97D0124D25DE00D3BEAE /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 2A1E97C8124D25DE00D3BEAE /* VoiceBase.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 8DC2EF5B0486A6940098B216 /* VoiceBase.framework */;
remoteInfo = VoiceBase;
};
2A1E97D2124D25DE00D3BEAE /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 2A1E97C8124D25DE00D3BEAE /* VoiceBase.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 2AE6EE531249DA0B0006B5AC /* libVoiceBase.a */;
remoteInfo = "VoiceBase Touch";
};
2A1E97D4124D25E800D3BEAE /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 2A1E97C8124D25DE00D3BEAE /* VoiceBase.xcodeproj */;
proxyType = 1;
remoteGlobalIDString = 2AE6EE521249DA0B0006B5AC /* VoiceBase Touch */;
remoteInfo = "VoiceBase Touch";
};
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
1D6058910D05DD3D006BFB54 /* VoiceMob.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VoiceMob.app; sourceTree = BUILT_PRODUCTS_DIR; };
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
288765FC0DF74451002DB57D /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
2A1E97BD124D22A900D3BEAE /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Classes/VoiceMob/main.m; sourceTree = "<group>"; };
2A1E97BE124D22A900D3BEAE /* VoiceMob_Prefix.pch */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = VoiceMob_Prefix.pch; path = Classes/VoiceMob/VoiceMob_Prefix.pch; sourceTree = "<group>"; };
2A1E97C1124D22DA00D3BEAE /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
2A1E97C8124D25DE00D3BEAE /* VoiceBase.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; path = VoiceBase.xcodeproj; sourceTree = "<group>"; };
2A1E97D7124D261E00D3BEAE /* MGMController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MGMController.h; sourceTree = "<group>"; };
2A1E97D8124D261E00D3BEAE /* MGMController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MGMController.m; sourceTree = "<group>"; };
2A1E9825124D2B3D00D3BEAE /* MainWindow_iPhone.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow_iPhone.xib; sourceTree = "<group>"; };
2A1E9837124D2B7200D3BEAE /* MainWindow_iPad.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MainWindow_iPad.xib; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
1D60588F0D05DD3D006BFB54 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
2A1E97D6124D25F300D3BEAE /* libVoiceBase.a in Frameworks */,
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
288765FD0DF74451002DB57D /* CoreGraphics.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
19C28FACFE9D520D11CA2CBB /* Products */ = {
isa = PBXGroup;
children = (
1D6058910D05DD3D006BFB54 /* VoiceMob.app */,
);
name = Products;
sourceTree = "<group>";
};
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
isa = PBXGroup;
children = (
2A1E97C8124D25DE00D3BEAE /* VoiceBase.xcodeproj */,
2A1E97BC124D22A900D3BEAE /* Classes */,
2A1E97C0124D22DA00D3BEAE /* Resources */,
29B97315FDCFA39411CA2CEA /* Other Sources */,
29B97323FDCFA39411CA2CEA /* Frameworks */,
19C28FACFE9D520D11CA2CBB /* Products */,
);
name = CustomTemplate;
sourceTree = "<group>";
};
29B97315FDCFA39411CA2CEA /* Other Sources */ = {
isa = PBXGroup;
children = (
2A1E97BD124D22A900D3BEAE /* main.m */,
2A1E97BE124D22A900D3BEAE /* VoiceMob_Prefix.pch */,
);
name = "Other Sources";
sourceTree = "<group>";
};
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
isa = PBXGroup;
children = (
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
1D30AB110D05D00D00671497 /* Foundation.framework */,
288765FC0DF74451002DB57D /* CoreGraphics.framework */,
);
name = Frameworks;
sourceTree = "<group>";
};
2A1E97BC124D22A900D3BEAE /* Classes */ = {
isa = PBXGroup;
children = (
2A1E97D7124D261E00D3BEAE /* MGMController.h */,
2A1E97D8124D261E00D3BEAE /* MGMController.m */,
);
name = Classes;
path = Classes/VoiceMob;
sourceTree = "<group>";
};
2A1E97C0124D22DA00D3BEAE /* Resources */ = {
isa = PBXGroup;
children = (
2A1E97C1124D22DA00D3BEAE /* Info.plist */,
2A1E9825124D2B3D00D3BEAE /* MainWindow_iPhone.xib */,
2A1E9837124D2B7200D3BEAE /* MainWindow_iPad.xib */,
);
name = Resources;
path = Resources/VoiceMob;
sourceTree = "<group>";
};
2A1E97C9124D25DE00D3BEAE /* Products */ = {
isa = PBXGroup;
children = (
2A1E97D1124D25DE00D3BEAE /* VoiceBase.framework */,
2A1E97D3124D25DE00D3BEAE /* libVoiceBase.a */,
);
name = Products;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
1D6058900D05DD3D006BFB54 /* VoiceMob */ = {
isa = PBXNativeTarget;
buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "VoiceMob" */;
buildPhases = (
1D60588D0D05DD3D006BFB54 /* Resources */,
1D60588E0D05DD3D006BFB54 /* Sources */,
1D60588F0D05DD3D006BFB54 /* Frameworks */,
);
buildRules = (
);
dependencies = (
2A1E97D5124D25E800D3BEAE /* PBXTargetDependency */,
);
name = VoiceMob;
productName = VoiceMob;
productReference = 1D6058910D05DD3D006BFB54 /* VoiceMob.app */;
productType = "com.apple.product-type.application";
};
/* End PBXNativeTarget section */
/* Begin PBXProject section */
29B97313FDCFA39411CA2CEA /* Project object */ = {
isa = PBXProject;
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "VoiceMob" */;
compatibilityVersion = "Xcode 3.1";
hasScannedForEncodings = 1;
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
projectDirPath = "";
projectReferences = (
{
ProductGroup = 2A1E97C9124D25DE00D3BEAE /* Products */;
ProjectRef = 2A1E97C8124D25DE00D3BEAE /* VoiceBase.xcodeproj */;
},
);
projectRoot = "";
targets = (
1D6058900D05DD3D006BFB54 /* VoiceMob */,
);
};
/* End PBXProject section */
/* Begin PBXReferenceProxy section */
2A1E97D1124D25DE00D3BEAE /* VoiceBase.framework */ = {
isa = PBXReferenceProxy;
fileType = wrapper.framework;
path = VoiceBase.framework;
remoteRef = 2A1E97D0124D25DE00D3BEAE /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
2A1E97D3124D25DE00D3BEAE /* libVoiceBase.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libVoiceBase.a;
remoteRef = 2A1E97D2124D25DE00D3BEAE /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
/* End PBXReferenceProxy section */
/* Begin PBXResourcesBuildPhase section */
1D60588D0D05DD3D006BFB54 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2A1E9826124D2B3D00D3BEAE /* MainWindow_iPhone.xib in Resources */,
2A1E9838124D2B7200D3BEAE /* MainWindow_iPad.xib in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
1D60588E0D05DD3D006BFB54 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
2A1E97BF124D22A900D3BEAE /* main.m in Sources */,
2A1E97D9124D261E00D3BEAE /* MGMController.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */
/* Begin PBXTargetDependency section */
2A1E97D5124D25E800D3BEAE /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
name = "VoiceBase Touch";
targetProxy = 2A1E97D4124D25E800D3BEAE /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin XCBuildConfiguration section */
1D6058940D05DD3E006BFB54 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = NO;
GCC_DYNAMIC_NO_PIC = NO;
GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Classes/VoiceMob/VoiceMob_Prefix.pch;
INFOPLIST_FILE = Resources/VoiceMob/Info.plist;
PRODUCT_NAME = VoiceMob;
};
name = Debug;
};
1D6058950D05DD3E006BFB54 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
COPY_PHASE_STRIP = YES;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = VoiceMob_Prefix.pch;
INFOPLIST_FILE = "VoiceMob-Info.plist";
PRODUCT_NAME = VoiceMob;
VALIDATE_PRODUCT = YES;
};
name = Release;
};
C01FCF4F08A954540054247B /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
"\"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/usr/local/include\"",
"\"$(SRCROOT)/Libraries/include\"",
);
IPHONEOS_DEPLOYMENT_TARGET = 3.1;
OTHER_CFLAGS = "-fblocks";
PREBINDING = NO;
SDKROOT = iphoneos4.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Debug;
};
C01FCF5008A954540054247B /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_C_LANGUAGE_STANDARD = c99;
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
HEADER_SEARCH_PATHS = (
"\"$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/usr/local/include\"",
"\"$(SRCROOT)/Libraries/include\"",
);
IPHONEOS_DEPLOYMENT_TARGET = 3.1;
OTHER_CFLAGS = (
"-DNS_BLOCK_ASSERTIONS=1",
"-fblocks",
);
PREBINDING = NO;
SDKROOT = iphoneos4.0;
TARGETED_DEVICE_FAMILY = "1,2";
};
name = Release;
};
/* End XCBuildConfiguration section */
/* Begin XCConfigurationList section */
1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "VoiceMob" */ = {
isa = XCConfigurationList;
buildConfigurations = (
1D6058940D05DD3E006BFB54 /* Debug */,
1D6058950D05DD3E006BFB54 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
C01FCF4E08A954540054247B /* Build configuration list for PBXProject "VoiceMob" */ = {
isa = XCConfigurationList;
buildConfigurations = (
C01FCF4F08A954540054247B /* Debug */,
C01FCF5008A954540054247B /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
}