code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>
/**
* This class provides an optional base class that may be used to implement
* a CoreDataStorage class for an xmpp extension (or perhaps any core data storage class).
*
* It operates on its own dispatch queue which allows it to easily provide stora... | 04081337-xmpp | Extensions/CoreDataStorage/XMPPCoreDataStorage.h | Objective-C | bsd | 4,249 |
#import "XMPPCoreDataStorage.h"
@class XMPPJID;
@class XMPPStream;
/**
* The methods in this class are to be used ONLY by subclasses of XMPPCoreDataStorage.
**/
@interface XMPPCoreDataStorage (Protected)
#pragma mark Override Me
/**
* Override me, if needed, to provide customized behavior.
*
* This method is ... | 04081337-xmpp | Extensions/CoreDataStorage/XMPPCoreDataStorageProtected.h | Objective-C | bsd | 10,705 |
#import "StreamController.h"
#import "ServerlessDemoAppDelegate.h"
#import "GCDAsyncSocket.h"
#import "XMPPStream.h"
#import "Service.h"
#import "Message.h"
#import "NSXMLElement+XMPP.h"
#import "NSString+DDXML.h"
#import "DDLog.h"
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_... | 04081337-xmpp | Xcode/ServerlessDemo/StreamController.m | Objective-C | bsd | 6,675 |
#import "Message.h"
#import "Service.h"
@implementation Message
@dynamic content;
@dynamic outbound;
@dynamic read;
@dynamic timeStamp;
@dynamic service;
@dynamic isOutbound;
@dynamic hasBeenRead;
- (BOOL)isOutbound
{
return [[self outbound] boolValue];
}
- (void)setIsOutbound:(BOOL)flag
{
[self setOutbou... | 04081337-xmpp | Xcode/ServerlessDemo/Message.m | Objective-C | bsd | 661 |
//
// main.m
// ServerlessDemo
//
// Created by Robbie Hanson on 1/8/10.
// Copyright Deusty Designs, LLC. 2010. All rights reserved.
//
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, argv, n... | 04081337-xmpp | Xcode/ServerlessDemo/main.m | Objective-C | bsd | 371 |
#import <CoreData/CoreData.h>
@class Service;
@interface Message : NSManagedObject
// Properties
@property (nonatomic, retain) NSString * content;
@property (nonatomic, retain) NSNumber * outbound;
@property (nonatomic, retain) NSNumber * read;
@property (nonatomic, retain) NSDate * timeStamp;
// Relationships
... | 04081337-xmpp | Xcode/ServerlessDemo/Message.h | Objective-C | bsd | 499 |
#import <CoreData/CoreData.h>
enum StatusType
{
StatusOffline = 0,
StatusDND = 1,
StatusAvailable = 2,
};
typedef enum StatusType StatusType;
@interface Service : NSManagedObject
// NSNetService Properties
@property (nonatomic, retain) NSString * serviceType;
@property (nonatomic, retain) NSString * ser... | 04081337-xmpp | Xcode/ServerlessDemo/Service.h | Objective-C | bsd | 1,360 |
#import <Foundation/Foundation.h>
@class GCDAsyncSocket;
@class Service;
@interface StreamController : NSObject
{
GCDAsyncSocket *listeningSocket;
NSMutableArray *xmppStreams;
NSMutableDictionary *serviceDict;
}
+ (StreamController *)sharedInstance;
- (void)startListening;
- (void)stopListening;
- (UInt16)liste... | 04081337-xmpp | Xcode/ServerlessDemo/StreamController.h | Objective-C | bsd | 336 |
#import "DDString.h"
@implementation NSString (DDString)
+ (id)stringWithUTF8Data:(NSData *)data
{
return [[[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding] autorelease];
}
@end
| 04081337-xmpp | Xcode/ServerlessDemo/DDString.m | Objective-C | bsd | 200 |
#import "Service.h"
@implementation Service
@dynamic serviceType;
@dynamic serviceName;
@dynamic serviceDomain;
@dynamic serviceDescription;
@dynamic status;
@dynamic statusMessage;
@dynamic firstName;
@dynamic lastName;
@dynamic nickname;
@dynamic displayName;
@dynamic lastResolvedAddress;
@dynamic messages;
@dy... | 04081337-xmpp | Xcode/ServerlessDemo/Service.m | Objective-C | bsd | 3,198 |
#import <Foundation/Foundation.h>
@interface NSString (DDString)
+ (id)stringWithUTF8Data:(NSData *)data;
@end
| 04081337-xmpp | Xcode/ServerlessDemo/DDString.h | Objective-C | bsd | 115 |
#import <UIKit/UIKit.h>
@class Service;
@class XMPPStream;
@interface ChatViewController : UIViewController <UITableViewDelegate,
UITextFieldDelegate,
NSNetServiceDelegate,
... | 04081337-xmpp | Xcode/ServerlessDemo/Classes/ChatViewController.h | Objective-C | bsd | 789 |
#import <UIKit/UIKit.h>
@interface RootViewController : UITableViewController <NSFetchedResultsControllerDelegate>
{
NSFetchedResultsController *fetchedResultsController;
NSManagedObjectContext *managedObjectContext;
}
@property (nonatomic, retain) NSManagedObjectContext *managedObjectContext;
@end
| 04081337-xmpp | Xcode/ServerlessDemo/Classes/RootViewController.h | Objective-C | bsd | 306 |
#import "ChatViewController.h"
#import "ServerlessDemoAppDelegate.h"
#import "Service.h"
#import "Message.h"
#import "DDXML.h"
#import "XMPPStream.h"
#import "XMPPJID.h"
#import "XMPPIQ.h"
#import "XMPPMessage.h"
#import "XMPPPresence.h"
#import "NSXMLElement+XMPP.h"
#import "NSString+DDXML.h"
#import "DDLog.h"
#impor... | 04081337-xmpp | Xcode/ServerlessDemo/Classes/ChatViewController.m | Objective-C | bsd | 25,238 |
#import <UIKit/UIKit.h>
@class XMPPJID;
@interface ServerlessDemoAppDelegate : NSObject <UIApplicationDelegate>
{
XMPPJID *myJID;
NSManagedObjectModel *managedObjectModel;
NSManagedObjectContext *managedObjectContext;
NSPersistentStoreCoordinator *persistentStoreCoordinator;
UIWindow *window;
UINavigati... | 04081337-xmpp | Xcode/ServerlessDemo/Classes/ServerlessDemoAppDelegate.h | Objective-C | bsd | 979 |
#import <Foundation/Foundation.h>
@interface BonjourClient : NSObject <NSNetServiceDelegate, NSNetServiceBrowserDelegate>
{
NSNetServiceBrowser *serviceBrowser;
NSMutableArray *services;
NSNetService *localService;
}
+ (BonjourClient *)sharedInstance;
- (void)startBrowsing;
- (void)stopBrowsing;
- (void)publi... | 04081337-xmpp | Xcode/ServerlessDemo/Classes/BonjourClient.h | Objective-C | bsd | 356 |
#import "BonjourClient.h"
#import "ServerlessDemoAppDelegate.h"
#import "Service.h"
#import "DDString.h"
#import "DDLog.h"
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
#define SERVICE_TYPE @"_presence._tcp."
@interface BonjourClient (PrivateAPI)
- (NSDictionary *)... | 04081337-xmpp | Xcode/ServerlessDemo/Classes/BonjourClient.m | Objective-C | bsd | 9,357 |
#import "RootViewController.h"
#import "ChatViewController.h"
#import "Service.h"
#import "DDLog.h"
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
@interface RootViewController (PrivateAPI)
- (NSFetchedResultsController *)fetchedResultsController;
@end
////////////... | 04081337-xmpp | Xcode/ServerlessDemo/Classes/RootViewController.m | Objective-C | bsd | 6,684 |
#import "ServerlessDemoAppDelegate.h"
#import "RootViewController.h"
#import "BonjourClient.h"
#import "StreamController.h"
#import "XMPPJID.h"
#import "DDLog.h"
#import "DDTTYLogger.h"
#import <arpa/inet.h>
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
@implementat... | 04081337-xmpp | Xcode/ServerlessDemo/Classes/ServerlessDemoAppDelegate.m | Objective-C | bsd | 7,057 |
#import "RequestController.h"
#import "RosterController.h"
#import "AppDelegate.h"
@implementation RequestController
- (id)init
{
if((self = [super init]))
{
jids = [[NSMutableArray alloc] init];
jidIndex = -1;
}
return self;
}
- (XMPPStream *)xmppStream
{
return [[NSApp delegate] xmppStream];
}
- (XMPPRo... | 04081337-xmpp | Xcode/DesktopXMPP/RequestController.m | Objective-C | bsd | 5,658 |
#import "RosterController.h"
#import "RequestController.h"
#import "ChatWindowManager.h"
#import "AppDelegate.h"
#import "DDLog.h"
#import <SystemConfiguration/SystemConfiguration.h>
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
@implementation RosterController
///... | 04081337-xmpp | Xcode/DesktopXMPP/RosterController.m | Objective-C | bsd | 14,917 |
#import <Cocoa/Cocoa.h>
@interface RequestController : NSObject
{
NSMutableArray *jids;
int jidIndex;
IBOutlet id jidField;
IBOutlet id window;
IBOutlet id xofyField;
}
- (IBAction)accept:(id)sender;
- (IBAction)reject:(id)sender;
@end
| 04081337-xmpp | Xcode/DesktopXMPP/RequestController.h | Objective-C | bsd | 254 |
#import <Cocoa/Cocoa.h>
#import "XMPP.h"
#import "XMPPReconnect.h"
#import "XMPPRoster.h"
#import "XMPPRosterMemoryStorage.h"
#import "XMPPCapabilities.h"
#import "XMPPCapabilitiesCoreDataStorage.h"
#import "XMPPPing.h"
#import "XMPPTime.h"
@class RosterController;
@interface AppDelegate : NSObject
{
XMPPStream *x... | 04081337-xmpp | Xcode/DesktopXMPP/AppDelegate.h | Objective-C | bsd | 1,160 |
#import <Cocoa/Cocoa.h>
@class XMPPStream;
@class XMPPMessage;
@protocol XMPPUser;
@interface ChatWindowManager : NSObject
+ (void)openChatWindowWithStream:(XMPPStream *)xmppStream forUser:(id <XMPPUser>)user;
+ (void)handleChatMessage:(XMPPMessage *)message withStream:(XMPPStream *)xmppStream;
@end
| 04081337-xmpp | Xcode/DesktopXMPP/ChatWindowManager.h | Objective-C | bsd | 307 |
#import <Cocoa/Cocoa.h>
@interface RosterController : NSObject
{
BOOL useSSL;
BOOL allowSelfSignedCertificates;
BOOL allowSSLHostNameMismatch;
BOOL isOpen;
BOOL isRegistering;
BOOL isAuthenticating;
NSArray *roster;
IBOutlet id buddyField;
IBOutlet id jidField;
IBOutlet id messageField;
IBOutle... | 04081337-xmpp | Xcode/DesktopXMPP/RosterController.h | Objective-C | bsd | 987 |
#import "ChatController.h"
#import "XMPP.h"
@interface ChatController (PrivateAPI)
- (void)xmppStream:(XMPPStream *)sender didReceiveMessage:(XMPPMessage *)message;
@end
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma mark -
////////////... | 04081337-xmpp | Xcode/DesktopXMPP/ChatController.m | Objective-C | bsd | 4,416 |
//
// main.m
// XMPPStream
//
// Created by Robert Hanson on 4/22/07.
// Copyright __MyCompanyName__ 2007. All rights reserved.
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **) argv);
}
| 04081337-xmpp | Xcode/DesktopXMPP/main.m | Objective-C | bsd | 257 |
#import <Cocoa/Cocoa.h>
@class XMPPStream;
@class XMPPMessage;
@class XMPPJID;
@interface ChatController : NSWindowController
{
XMPPStream *xmppStream;
XMPPJID *jid;
XMPPMessage *firstMessage;
IBOutlet id messageField;
IBOutlet id messageView;
}
- (id)initWithStream:(XMPPStream *)xmppStream jid:(XMPPJI... | 04081337-xmpp | Xcode/DesktopXMPP/ChatController.h | Objective-C | bsd | 580 |
#import "AppDelegate.h"
#import "RosterController.h"
#import "XMPP.h"
#import "TURNSocket.h"
#import "GCDAsyncSocket.h"
#import "DDLog.h"
#import "DDTTYLogger.h"
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
@implementation AppDelegate
@synthesize xmppStream;
@synth... | 04081337-xmpp | Xcode/DesktopXMPP/AppDelegate.m | Objective-C | bsd | 5,052 |
#import "ChatWindowManager.h"
#import "ChatController.h"
#import "XMPP.h"
#import "XMPPRoster.h"
@implementation ChatWindowManager
+ (ChatController *)chatControllerForJID:(XMPPJID *)jid matchResource:(BOOL)matchResource
{
// Loop through all the open windows, and see if any of them are the one we want...
NSArray ... | 04081337-xmpp | Xcode/DesktopXMPP/ChatWindowManager.m | Objective-C | bsd | 1,985 |
//
// main.m
// iPhoneXMPP
//
// Created by Robbie Hanson on 3/18/10.
// Copyright __MyCompanyName__ 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, ni... | 04081337-xmpp | Xcode/iPhoneXMPP/main.m | Objective-C | bsd | 365 |
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
@class iPhoneXMPPAppDelegate;
@interface RootViewController : UITableViewController <NSFetchedResultsControllerDelegate>
{
NSManagedObjectContext *managedObjectContext;
NSFetchedResultsController *fetchedResultsController;
}
- (IBAction)settings:(id)sender;
... | 04081337-xmpp | Xcode/iPhoneXMPP/Classes/RootViewController.h | Objective-C | bsd | 325 |
#import "iPhoneXMPPAppDelegate.h"
#import "RootViewController.h"
#import "SettingsViewController.h"
#import "GCDAsyncSocket.h"
#import "XMPP.h"
#import "XMPPReconnect.h"
#import "XMPPCapabilitiesCoreDataStorage.h"
#import "XMPPRosterCoreDataStorage.h"
#import "XMPPvCardAvatarModule.h"
#import "XMPPvCardCoreDataStorage... | 04081337-xmpp | Xcode/iPhoneXMPP/Classes/iPhoneXMPPAppDelegate.m | Objective-C | bsd | 17,335 |
//
// SettingsViewController.h
// iPhoneXMPP
//
// Created by Eric Chamberlain on 3/18/11.
// Copyright 2011 RF.com. All rights reserved.
//
#import <UIKit/UIKit.h>
extern NSString *const kXMPPmyJID;
extern NSString *const kXMPPmyPassword;
@interface SettingsViewController : UIViewController
{
UITextField *... | 04081337-xmpp | Xcode/iPhoneXMPP/Classes/SettingsViewController.h | Objective-C | bsd | 563 |
//
// SettingsViewController.m
// iPhoneXMPP
//
// Created by Eric Chamberlain on 3/18/11.
// Copyright 2011 RF.com. All rights reserved.
//
#import "SettingsViewController.h"
NSString *const kXMPPmyJID = @"kXMPPmyJID";
NSString *const kXMPPmyPassword = @"kXMPPmyPassword";
@implementation SettingsViewControlle... | 04081337-xmpp | Xcode/iPhoneXMPP/Classes/SettingsViewController.m | Objective-C | bsd | 2,709 |
#import <UIKit/UIKit.h>
#import <CoreData/CoreData.h>
#import "XMPPRoster.h"
@class SettingsViewController;
@class XMPPStream;
@class XMPPReconnect;
@class XMPPCapabilities;
@class XMPPRosterCoreDataStorage;
@class XMPPvCardAvatarModule;
@class XMPPvCardTempModule;
@interface iPhoneXMPPAppDelegate : NSObject <UIApp... | 04081337-xmpp | Xcode/iPhoneXMPP/Classes/iPhoneXMPPAppDelegate.h | Objective-C | bsd | 1,579 |
#import "RootViewController.h"
#import "SettingsViewController.h"
#import "iPhoneXMPPAppDelegate.h"
#import "XMPP.h"
#import "XMPPRosterCoreDataStorage.h"
#import "XMPPUserCoreDataStorageObject.h"
#import "XMPPResourceCoreDataStorageObject.h"
#import "XMPPvCardAvatarModule.h"
#import "DDLog.h"
// Log levels: off, er... | 04081337-xmpp | Xcode/iPhoneXMPP/Classes/RootViewController.m | Objective-C | bsd | 9,087 |
#import "Class2.h"
#define dispatch_current_queue_label() dispatch_queue_get_label(dispatch_get_current_queue())
@implementation Class2
- (void)didSomething
{
NSLog(@"Class2(%s): didSomething", dispatch_current_queue_label());
}
- (void)didSomethingElse:(BOOL)flag
{
NSLog(@"Class2(%s): didSomethingElse:%@", dispa... | 04081337-xmpp | Xcode/Testing/MulticastDelegateTest/Class2.m | Objective-C | bsd | 1,013 |
#import <Cocoa/Cocoa.h>
@protocol MyProtocol
@optional
- (void)didSomething;
- (void)didSomethingElse:(BOOL)flag;
- (void)foundString:(NSString *)str;
- (void)foundString:(NSString *)str andNumber:(NSNumber *)num;
- (BOOL)shouldSing;
- (BOOL)shouldDance;
- (void)fastTrack;
@end
| 04081337-xmpp | Xcode/Testing/MulticastDelegateTest/MyProtocol.h | Objective-C | bsd | 285 |
#import <Cocoa/Cocoa.h>
@interface Class1 : NSObject
@end
| 04081337-xmpp | Xcode/Testing/MulticastDelegateTest/Class1.h | Objective-C | bsd | 61 |
#import <Cocoa/Cocoa.h>
#import "MyProtocol.h"
#import "GCDMulticastDelegate.h"
@class Class1;
@class Class2;
@interface MulticastDelegateTestAppDelegate : NSObject <NSApplicationDelegate>
{
GCDMulticastDelegate <MyProtocol> *multicastDelegate;
dispatch_queue_t queue1;
dispatch_queue_t queue2;
dispatch_queue_t ... | 04081337-xmpp | Xcode/Testing/MulticastDelegateTest/MulticastDelegateTestAppDelegate.h | Objective-C | bsd | 439 |
#import <Cocoa/Cocoa.h>
@interface Class2 : NSObject
@end
| 04081337-xmpp | Xcode/Testing/MulticastDelegateTest/Class2.h | Objective-C | bsd | 61 |
#import "Class1.h"
#define dispatch_current_queue_label() dispatch_queue_get_label(dispatch_get_current_queue())
@implementation Class1
- (void)didSomething
{
NSLog(@"Class1(%s): didSomething", dispatch_current_queue_label());
}
- (void)didSomethingElse:(BOOL)flag
{
NSLog(@"Class1(%s): didSomethingElse:%@", dispa... | 04081337-xmpp | Xcode/Testing/MulticastDelegateTest/Class1.m | Objective-C | bsd | 1,052 |
//
// main.m
// MulticastDelegateTest
//
// Created by Robbie Hanson on 12/18/09.
// Copyright 2009 Deusty Designs, LLC.. All rights reserved.
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **) argv);
}
| 04081337-xmpp | Xcode/Testing/MulticastDelegateTest/main.m | Objective-C | bsd | 272 |
#import "MulticastDelegateTestAppDelegate.h"
#import "Class1.h"
#import "Class2.h"
#import <libkern/OSAtomic.h>
#define dispatch_current_queue_label() dispatch_queue_get_label(dispatch_get_current_queue())
@interface MulticastDelegateTestAppDelegate (PrivateAPI)
- (void)testVoidMethods;
- (void)testAnyBoolMethod;
- ... | 04081337-xmpp | Xcode/Testing/MulticastDelegateTest/MulticastDelegateTestAppDelegate.m | Objective-C | bsd | 5,059 |
#import "TestSRVResolverAppDelegate.h"
#import "XMPPSRVResolver.h"
#import "DDLog.h"
#import "DDTTYLogger.h"
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
@implementation TestSRVResolverAppDelegate
@synthesize window;
- (void)applicationDidFinishLaunching:(NSNotifi... | 04081337-xmpp | Xcode/Testing/TestSRVResolver/TestSRVResolverAppDelegate.m | Objective-C | bsd | 1,611 |
#import <Cocoa/Cocoa.h>
@class XMPPSRVResolver;
@interface TestSRVResolverAppDelegate : NSObject <NSApplicationDelegate>
{
XMPPSRVResolver *srvResolver;
NSWindow *window;
}
@property (assign) IBOutlet NSWindow *window;
@end
| 04081337-xmpp | Xcode/Testing/TestSRVResolver/TestSRVResolverAppDelegate.h | Objective-C | bsd | 231 |
//
// main.m
// TestSRVResolver
//
// Created by Robbie Hanson on 1/30/11.
// Copyright 2011 Voalte. All rights reserved.
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **) argv);
}
| 04081337-xmpp | Xcode/Testing/TestSRVResolver/main.m | Objective-C | bsd | 251 |
//
// AutoPingTestAppDelegate.m
// AutoPingTest
//
// Created by Robbie Hanson on 4/13/11.
// Copyright 2011 Deusty, LLC. All rights reserved.
//
#import "AutoPingTestAppDelegate.h"
#import "DDLog.h"
#import "DDTTYLogger.h"
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VER... | 04081337-xmpp | Xcode/Testing/AutoPingTest/AutoPingTest/AutoPingTestAppDelegate.m | Objective-C | bsd | 3,274 |
{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
{\colortbl;\red255\green255\blue255;}
\paperw9840\paperh8400
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
\f0\b\fs24 \cf0 Engineering:
\b0 \
Some people\
\
\b Human Interface Design:
\b0 \
Some other people\
\
\b Tes... | 04081337-xmpp | Xcode/Testing/AutoPingTest/AutoPingTest/en.lproj/Credits.rtf | Rich Text Format | bsd | 436 |
//
// main.m
// AutoPingTest
//
// Created by Robbie Hanson on 4/13/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **)argv);
}
| 04081337-xmpp | Xcode/Testing/AutoPingTest/AutoPingTest/main.m | Objective-C | bsd | 254 |
//
// AutoPingTestAppDelegate.h
// AutoPingTest
//
// Created by Robbie Hanson on 4/13/11.
// Copyright 2011 Deusty, LLC. All rights reserved.
//
#import <Cocoa/Cocoa.h>
#import "XMPP.h"
#import "XMPPAutoPing.h"
@interface AutoPingTestAppDelegate : NSObject <NSApplicationDelegate> {
@private
XMPPStream *xmppStr... | 04081337-xmpp | Xcode/Testing/AutoPingTest/AutoPingTest/AutoPingTestAppDelegate.h | Objective-C | bsd | 430 |
#import <UIKit/UIKit.h>
#import "FBConnect.h"
@class XMPPStreamFacebook;
@class FacebookTestViewController;
@interface FacebookTestAppDelegate : NSObject <UIApplicationDelegate, FBSessionDelegate>
{
Facebook *facebook;
XMPPStreamFacebook *xmppStream;
BOOL allowSelfSignedCertificates;
BOOL allowSSLHostNameMisma... | 04081337-xmpp | Xcode/Testing/FacebookTest/FacebookTest/FacebookTestAppDelegate.h | Objective-C | bsd | 474 |
#import <UIKit/UIKit.h>
@interface FacebookTestViewController : UIViewController {
}
@end
| 04081337-xmpp | Xcode/Testing/FacebookTest/FacebookTest/FacebookTestViewController.h | Objective-C | bsd | 97 |
#import "FacebookTestViewController.h"
@implementation FacebookTestViewController
- (void)dealloc
{
[super dealloc];
}
- (void)didReceiveMemoryWarning
{
// Releases the view if it doesn't have a superview.
[super didReceiveMemoryWarning];
// Release any cached data, images, etc that aren't in us... | 04081337-xmpp | Xcode/Testing/FacebookTest/FacebookTest/FacebookTestViewController.m | Objective-C | bsd | 865 |
//
// main.m
// FacebookTest
//
// Created by Robbie Hanson on 3/17/11.
// Copyright 2011 Voalte. 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];
... | 04081337-xmpp | Xcode/Testing/FacebookTest/FacebookTest/main.m | Objective-C | bsd | 338 |
#import "FacebookTestAppDelegate.h"
#import "FacebookTestViewController.h"
#import "XMPP.h"
#import "XMPPStreamFacebook.h"
#import "DDLog.h"
#import "DDTTYLogger.h"
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
// This is step #1 of X
//
// But I just want to hit bui... | 04081337-xmpp | Xcode/Testing/FacebookTest/FacebookTest/FacebookTestAppDelegate.m | Objective-C | bsd | 4,602 |
/*
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in wri... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/FBLoginDialog.h | Objective-C | bsd | 1,387 |
/*
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in wr... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/FBDialog.m | Objective-C | bsd | 22,383 |
/*
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in w... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/FBLoginDialog.m | Objective-C | bsd | 3,012 |
/*
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in w... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/FBConnect.h | C | bsd | 706 |
/*
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/Facebook.h | Objective-C | bsd | 3,478 |
/*
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in wri... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/FBRequest.m | Objective-C | bsd | 11,386 |
/*
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in wri... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/FBRequest.h | Objective-C | bsd | 3,287 |
/*
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in wri... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/FBDialog.h | Objective-C | bsd | 4,678 |
/*
Copyright (C) 2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/SBJsonBase.h | Objective-C | bsd | 2,946 |
/*
Copyright (C) 2007-2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and t... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/SBJSON.h | Objective-C | bsd | 2,797 |
/*
Copyright (C) 2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/SBJsonWriter.h | Objective-C | bsd | 4,416 |
/*
Copyright (C) 2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/SBJsonParser.m | Objective-C | bsd | 14,032 |
/*
Copyright (C) 2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/NSObject+SBJSON.m | Objective-C | bsd | 2,206 |
/*
Copyright (C) 2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/JSON.h | Objective-C | bsd | 2,297 |
/*
Copyright (C) 2007-2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and t... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/SBJSON.m | Objective-C | bsd | 6,844 |
/*
Copyright (C) 2007-2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and t... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/NSString+SBJSON.m | Objective-C | bsd | 2,173 |
/*
Copyright (C) 2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/SBJsonParser.h | Objective-C | bsd | 3,083 |
/*
Copyright (C) 2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/SBJsonWriter.m | Objective-C | bsd | 7,974 |
/*
Copyright (C) 2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/SBJsonBase.m | Objective-C | bsd | 2,753 |
/*
Copyright (C) 2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/NSObject+SBJSON.h | Objective-C | bsd | 2,561 |
/*
Copyright (C) 2009 Stig Brautaset. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the fo... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/JSON/NSString+SBJSON.h | Objective-C | bsd | 2,326 |
/*
* Copyright 2010 Facebook
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in wri... | 04081337-xmpp | Xcode/Testing/FacebookTest/FBConnect/Facebook.m | Objective-C | bsd | 22,068 |
#import <Cocoa/Cocoa.h>
@interface TestXEP82AppDelegate : NSObject <NSApplicationDelegate>
{
NSWindow *window;
}
@property (assign) IBOutlet NSWindow *window;
@end
| 04081337-xmpp | Xcode/Testing/TestXEP82/Mac/TestXEP82AppDelegate.h | Objective-C | bsd | 168 |
#import "TestXEP82AppDelegate.h"
#import "TestXEP82.h"
@implementation TestXEP82AppDelegate
@synthesize window;
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
{
[TestXEP82 runTests];
}
@end
| 04081337-xmpp | Xcode/Testing/TestXEP82/Mac/TestXEP82AppDelegate.m | Objective-C | bsd | 219 |
//
// main.m
// TestXEP82
//
// Created by Robbie Hanson on 9/17/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **) argv);
}
| 04081337-xmpp | Xcode/Testing/TestXEP82/Mac/main.m | Objective-C | bsd | 256 |
//
// TestXEP82.m
// TestXEP82
//
// Created by Robbie Hanson on 4/12/11.
// Copyright 2011 Deusty, LLC. All rights reserved.
//
#import "TestXEP82.h"
#import "XMPPDateTimeProfiles.h"
@implementation TestXEP82
static NSDateFormatter *df;
+ (void)initialize
{
static dispatch_once_t onceToken;
dispatch_once(&on... | 04081337-xmpp | Xcode/Testing/TestXEP82/TestXEP82.m | Objective-C | bsd | 8,549 |
//
// TestXEP82.h
// TestXEP82
//
// Created by Robbie Hanson on 4/12/11.
// Copyright 2011 Deusty, LLC. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface TestXEP82 : NSObject
+ (void)runTests;
@end
| 04081337-xmpp | Xcode/Testing/TestXEP82/TestXEP82.h | Objective-C | bsd | 227 |
#import "TestXEP82ViewController.h"
@implementation TestXEP82ViewController
@end
| 04081337-xmpp | Xcode/Testing/TestXEP82/iOS/TestXEP82/TestXEP82ViewController.m | Objective-C | bsd | 86 |
#import <UIKit/UIKit.h>
@class TestXEP82ViewController;
@interface TestXEP82AppDelegate : NSObject <UIApplicationDelegate> {
}
@property (nonatomic, retain) IBOutlet UIWindow *window;
@property (nonatomic, retain) IBOutlet TestXEP82ViewController *viewController;
@end
| 04081337-xmpp | Xcode/Testing/TestXEP82/iOS/TestXEP82/TestXEP82AppDelegate.h | Objective-C | bsd | 275 |
#import "TestXEP82AppDelegate.h"
#import "TestXEP82ViewController.h"
#import "TestXEP82.h"
@implementation TestXEP82AppDelegate
@synthesize window=_window;
@synthesize viewController=_viewController;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[Tes... | 04081337-xmpp | Xcode/Testing/TestXEP82/iOS/TestXEP82/TestXEP82AppDelegate.m | Objective-C | bsd | 544 |
//
// main.m
// TestXEP82
//
// Created by Robbie Hanson on 4/12/11.
// Copyright 2011 Voalte. 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];
re... | 04081337-xmpp | Xcode/Testing/TestXEP82/iOS/TestXEP82/main.m | Objective-C | bsd | 335 |
#import <UIKit/UIKit.h>
@interface TestXEP82ViewController : UIViewController {
}
@end
| 04081337-xmpp | Xcode/Testing/TestXEP82/iOS/TestXEP82/TestXEP82ViewController.h | Objective-C | bsd | 95 |
#import "AutoTimeTestAppDelegate.h"
#import "DDLog.h"
#import "DDTTYLogger.h"
// Log levels: off, error, warn, info, verbose
static const int ddLogLevel = LOG_LEVEL_VERBOSE;
#define MY_JID @"user@gmail.com/xmppFramework"
#define MY_PASSWORD @""
@implementation AutoTimeTestAppDelegate
@synthesize window;
- (v... | 04081337-xmpp | Xcode/Testing/AutoTimeTest/Desktop/AutoTimeTest/AutoTimeTest/AutoTimeTestAppDelegate.m | Objective-C | bsd | 2,870 |
#import <Cocoa/Cocoa.h>
#import "XMPP.h"
#import "XMPPAutoTime.h"
@interface AutoTimeTestAppDelegate : NSObject <NSApplicationDelegate> {
@private
XMPPStream *xmppStream;
XMPPAutoTime *xmppAutoTime;
NSWindow *window;
}
@property (assign) IBOutlet NSWindow *window;
@end
| 04081337-xmpp | Xcode/Testing/AutoTimeTest/Desktop/AutoTimeTest/AutoTimeTest/AutoTimeTestAppDelegate.h | Objective-C | bsd | 279 |
{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
{\colortbl;\red255\green255\blue255;}
\paperw9840\paperh8400
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\ql\qnatural
\f0\b\fs24 \cf0 Engineering:
\b0 \
Some people\
\
\b Human Interface Design:
\b0 \
Some other people\
\
\b Tes... | 04081337-xmpp | Xcode/Testing/AutoTimeTest/Desktop/AutoTimeTest/AutoTimeTest/en.lproj/Credits.rtf | Rich Text Format | bsd | 436 |
//
// main.m
// AutoTimeTest
//
// Created by Robbie Hanson on 8/9/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **)argv);
}
| 04081337-xmpp | Xcode/Testing/AutoTimeTest/Desktop/AutoTimeTest/AutoTimeTest/main.m | Objective-C | bsd | 253 |
//
// main.m
// TestCapabilitiesHashing
//
// Created by Robbie Hanson on 5/12/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **) argv);
}
| 04081337-xmpp | Xcode/Testing/TestCapabilitiesHashing/Mac/TestCapabilitiesHashing/main.m | Objective-C | bsd | 270 |
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#if TARGET_OS_IPHONE
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#import <UIKit/UIKit.h>
#import "TestCapabilitiesHashingVi... | 04081337-xmpp | Xcode/Testing/TestCapabilitiesHashing/TestCapabilitiesHashingAppDelegate.h | Objective-C | bsd | 1,458 |
#import "TestCapabilitiesHashingAppDelegate.h"
#import "NSData+XMPP.h"
#import "NSXMLElement+XMPP.h"
#import "XMPPCapabilities.h"
#import "XMPPCapabilitiesCoreDataStorage.h"
@interface XMPPCapabilities (UnitTesting)
- (NSString *)hashCapabilitiesFromQuery:(NSXMLElement *)query;
@end
@implementation TestCapabilitiesH... | 04081337-xmpp | Xcode/Testing/TestCapabilitiesHashing/TestCapabilitiesHashingAppDelegate.m | Objective-C | bsd | 7,888 |
//
// main.m
// TestCapabilitiesHashing
//
// Created by Robbie Hanson on 5/12/10.
// Copyright __MyCompanyName__ 2010. All rights reserved.
//
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
int retVal = UIApplicationMain(argc, ... | 04081337-xmpp | Xcode/Testing/TestCapabilitiesHashing/iPhone/TestCapabilitiesHashing/main.m | Objective-C | bsd | 378 |
//
// TestCapabilitiesHashingViewController.h
// TestCapabilitiesHashing
//
// Created by Robbie Hanson on 5/12/10.
// Copyright __MyCompanyName__ 2010. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface TestCapabilitiesHashingViewController : UIViewController {
}
@end
| 04081337-xmpp | Xcode/Testing/TestCapabilitiesHashing/iPhone/TestCapabilitiesHashing/Classes/TestCapabilitiesHashingViewController.h | Objective-C | bsd | 287 |
//
// TestCapabilitiesHashingViewController.m
// TestCapabilitiesHashing
//
// Created by Robbie Hanson on 5/12/10.
// Copyright __MyCompanyName__ 2010. All rights reserved.
//
#import "TestCapabilitiesHashingViewController.h"
@implementation TestCapabilitiesHashingViewController
/*
// The designated initializ... | 04081337-xmpp | Xcode/Testing/TestCapabilitiesHashing/iPhone/TestCapabilitiesHashing/Classes/TestCapabilitiesHashingViewController.m | Objective-C | bsd | 1,528 |
#import "ParserTestMacAppDelegate.h"
#import "XMPPParser.h"
#define PRINT_ELEMENTS NO
@interface ParserTestMacAppDelegate (PrivateAPI)
- (void)nonParserTest;
- (void)parserTest;
@end
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#pragma mar... | 04081337-xmpp | Xcode/Testing/ParserTestMac/ParserTestMacAppDelegate.m | Objective-C | bsd | 6,014 |