code
string
repo_name
string
path
string
language
string
license
string
size
int64
#import "XMPPStream.h" #import "XMPPInternal.h" #import "XMPPParser.h" #import "XMPPJID.h" #import "XMPPIQ.h" #import "XMPPMessage.h" #import "XMPPPresence.h" #import "XMPPModule.h" #import "XMPPLogging.h" #import "NSData+XMPP.h" #import "NSXMLElement+XMPP.h" #import "XMPPSRVResolver.h" #import "DDList.h" #import <lib...
zxq911-zxq
Core/XMPPStream.m
Objective-C
bsd
117,106
#import <Foundation/Foundation.h> #import <libxml2/libxml/parser.h> #if TARGET_OS_IPHONE #import "DDXML.h" #endif @interface XMPPParser : NSObject { id delegate; BOOL hasReportedRoot; unsigned depth; xmlParserCtxt *parserCtxt; } - (id)initWithDelegate:(id)delegate; - (id)delegate; - (void)setDelegate:(id...
zxq911-zxq
Core/XMPPParser.h
Objective-C
bsd
1,074
#import "XMPPMessage.h" #import "XMPPJID.h" #import "NSXMLElement+XMPP.h" #import <objc/runtime.h> @implementation XMPPMessage + (void)initialize { // We use the object_setClass method below to dynamically change the class from a standard NSXMLElement. // The size of the two classes is expected to be the same. /...
zxq911-zxq
Core/XMPPMessage.m
Objective-C
bsd
3,709
#import <Foundation/Foundation.h> #if TARGET_OS_IPHONE #import "DDXML.h" #endif @class XMPPJID; /** * The XMPPElement provides the base class for XMPPIQ, XMPPMessage & XMPPPresence. * * This class extends NSXMLElement. * The NSXML classes (NSXMLElement & NSXMLNode) provide a full-featured library for working ...
zxq911-zxq
Core/XMPPElement.h
Objective-C
bsd
607
#import "XMPPJID.h" #import "XMPPStream.h" #import "XMPPElement.h" #import "XMPPIQ.h" #import "XMPPMessage.h" #import "XMPPPresence.h" #import "XMPPModule.h" #import "NSXMLElement+XMPP.h"
zxq911-zxq
Core/XMPP.h
Objective-C
bsd
189
#import <Foundation/Foundation.h> #import "XMPPElement.h" /** * The XMPPIQ class represents an <iq> element. * It extends XMPPElement, which in turn extends NSXMLElement. * All <iq> elements that go in and out of the * xmpp stream will automatically be converted to XMPPIQ objects. * * This class exists to provi...
zxq911-zxq
Core/XMPPIQ.h
Objective-C
bsd
2,695
// // The following is for XMPPStream, // and any classes that extend XMPPStream such as XMPPFacebookStream. // // Define the various timeouts (in seconds) for retreiving various parts of the XML stream #define TIMEOUT_XMPP_WRITE -1 #define TIMEOUT_XMPP_READ_START 10 #define TIMEOUT_XMPP_READ_STREAM -1 ...
zxq911-zxq
Core/XMPPInternal.h
C
bsd
1,654
#import <Foundation/Foundation.h> #import "GCDAsyncSocket.h" #import "GCDMulticastDelegate.h" #if TARGET_OS_IPHONE #import "DDXML.h" #endif @class XMPPSRVResolver; @class DDList; @class XMPPParser; @class XMPPJID; @class XMPPIQ; @class XMPPMessage; @class XMPPPresence; @class XMPPModule; @class XMPPElementReceipt; @...
zxq911-zxq
Core/XMPPStream.h
Objective-C
bsd
34,629
#import "XMPPModule.h" #import "XMPPStream.h" #import "XMPPLogging.h" // Log levels: off, error, warn, info, verbose #if DEBUG static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN; #else static const int xmppLogLevel = XMPP_LOG_LEVEL_WARN; #endif @implementation XMPPModule /** * Standard init method. **/ - (id)...
zxq911-zxq
Core/XMPPModule.m
Objective-C
bsd
6,019
#import <Foundation/Foundation.h> #import "XMPPElement.h" /** * The XMPPPresence class represents a <presence> element. * It extends XMPPElement, which in turn extends NSXMLElement. * All <presence> elements that go in and out of the * xmpp stream will automatically be converted to XMPPPresence objects. * * Thi...
zxq911-zxq
Core/XMPPPresence.h
Objective-C
bsd
1,098
#import <Foundation/Foundation.h> @interface XMPPJID : NSObject <NSCoding, NSCopying> { NSString *user; NSString *domain; NSString *resource; } + (XMPPJID *)jidWithString:(NSString *)jidStr; + (XMPPJID *)jidWithString:(NSString *)jidStr resource:(NSString *)resource; + (XMPPJID *)jidWithUser:(NSString *)user doma...
zxq911-zxq
Core/XMPPJID.h
Objective-C
bsd
686
// // 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...
zxq911-zxq
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; ...
zxq911-zxq
Xcode/iPhoneXMPP/Classes/RootViewController.h
Objective-C
bsd
325
#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...
zxq911-zxq
Xcode/iPhoneXMPP/Classes/iPhoneXMPPAppDelegate.h
Objective-C
bsd
1,579
// // 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 *...
zxq911-zxq
Xcode/iPhoneXMPP/Classes/SettingsViewController.h
Objective-C
bsd
563
#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...
zxq911-zxq
Xcode/iPhoneXMPP/Classes/RootViewController.m
Objective-C
bsd
9,087
// // 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...
zxq911-zxq
Xcode/iPhoneXMPP/Classes/SettingsViewController.m
Objective-C
bsd
2,709
#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...
zxq911-zxq
Xcode/iPhoneXMPP/Classes/iPhoneXMPPAppDelegate.m
Objective-C
bsd
17,335
#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
zxq911-zxq
Xcode/DesktopXMPP/ChatWindowManager.h
Objective-C
bsd
307
#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...
zxq911-zxq
Xcode/DesktopXMPP/RequestController.m
Objective-C
bsd
5,658
#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 ...
zxq911-zxq
Xcode/DesktopXMPP/ChatWindowManager.m
Objective-C
bsd
1,985
#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...
zxq911-zxq
Xcode/DesktopXMPP/ChatController.h
Objective-C
bsd
580
#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...
zxq911-zxq
Xcode/DesktopXMPP/AppDelegate.h
Objective-C
bsd
1,160
// // 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); }
zxq911-zxq
Xcode/DesktopXMPP/main.m
Objective-C
bsd
257
#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 ///...
zxq911-zxq
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
zxq911-zxq
Xcode/DesktopXMPP/RequestController.h
Objective-C
bsd
254
#import "ChatController.h" #import "XMPP.h" @interface ChatController (PrivateAPI) - (void)xmppStream:(XMPPStream *)sender didReceiveMessage:(XMPPMessage *)message; @end //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #pragma mark - ////////////...
zxq911-zxq
Xcode/DesktopXMPP/ChatController.m
Objective-C
bsd
4,416
#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...
zxq911-zxq
Xcode/DesktopXMPP/AppDelegate.m
Objective-C
bsd
5,052
#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...
zxq911-zxq
Xcode/DesktopXMPP/RosterController.h
Objective-C
bsd
987
#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...
zxq911-zxq
Xcode/ServerlessDemo/StreamController.h
Objective-C
bsd
336
#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...
zxq911-zxq
Xcode/ServerlessDemo/Service.h
Objective-C
bsd
1,360
// // 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...
zxq911-zxq
Xcode/ServerlessDemo/main.m
Objective-C
bsd
371
#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_...
zxq911-zxq
Xcode/ServerlessDemo/StreamController.m
Objective-C
bsd
6,675
#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...
zxq911-zxq
Xcode/ServerlessDemo/Service.m
Objective-C
bsd
3,198
#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 ...
zxq911-zxq
Xcode/ServerlessDemo/Message.h
Objective-C
bsd
499
#import <Foundation/Foundation.h> @interface NSString (DDString) + (id)stringWithUTF8Data:(NSData *)data; @end
zxq911-zxq
Xcode/ServerlessDemo/DDString.h
Objective-C
bsd
115
#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...
zxq911-zxq
Xcode/ServerlessDemo/Message.m
Objective-C
bsd
661
#import <UIKit/UIKit.h> @interface RootViewController : UITableViewController <NSFetchedResultsControllerDelegate> { NSFetchedResultsController *fetchedResultsController; NSManagedObjectContext *managedObjectContext; } @property (nonatomic, retain) NSManagedObjectContext *managedObjectContext; @end
zxq911-zxq
Xcode/ServerlessDemo/Classes/RootViewController.h
Objective-C
bsd
306
#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 ////////////...
zxq911-zxq
Xcode/ServerlessDemo/Classes/RootViewController.m
Objective-C
bsd
6,684
#import <UIKit/UIKit.h> @class XMPPJID; @interface ServerlessDemoAppDelegate : NSObject <UIApplicationDelegate> { XMPPJID *myJID; NSManagedObjectModel *managedObjectModel; NSManagedObjectContext *managedObjectContext; NSPersistentStoreCoordinator *persistentStoreCoordinator; UIWindow *window; UINavigati...
zxq911-zxq
Xcode/ServerlessDemo/Classes/ServerlessDemoAppDelegate.h
Objective-C
bsd
979
#import <UIKit/UIKit.h> @class Service; @class XMPPStream; @interface ChatViewController : UIViewController <UITableViewDelegate, UITextFieldDelegate, NSNetServiceDelegate, ...
zxq911-zxq
Xcode/ServerlessDemo/Classes/ChatViewController.h
Objective-C
bsd
789
#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...
zxq911-zxq
Xcode/ServerlessDemo/Classes/ChatViewController.m
Objective-C
bsd
25,238
#import <Foundation/Foundation.h> @interface BonjourClient : NSObject <NSNetServiceDelegate, NSNetServiceBrowserDelegate> { NSNetServiceBrowser *serviceBrowser; NSMutableArray *services; NSNetService *localService; } + (BonjourClient *)sharedInstance; - (void)startBrowsing; - (void)stopBrowsing; - (void)publi...
zxq911-zxq
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 *)...
zxq911-zxq
Xcode/ServerlessDemo/Classes/BonjourClient.m
Objective-C
bsd
9,357
#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...
zxq911-zxq
Xcode/ServerlessDemo/Classes/ServerlessDemoAppDelegate.m
Objective-C
bsd
7,057
#import "DDString.h" @implementation NSString (DDString) + (id)stringWithUTF8Data:(NSData *)data { return [[[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding] autorelease]; } @end
zxq911-zxq
Xcode/ServerlessDemo/DDString.m
Objective-C
bsd
200
// // 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); }
zxq911-zxq
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...
zxq911-zxq
Xcode/Testing/AutoPingTest/AutoPingTest/AutoPingTestAppDelegate.h
Objective-C
bsd
430
// // 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...
zxq911-zxq
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...
zxq911-zxq
Xcode/Testing/AutoPingTest/AutoPingTest/en.lproj/Credits.rtf
Rich Text Format
bsd
436
// // TestElementReceiptAppDelegate.h // TestElementReceipt // // Created by Robbie Hanson on 8/5/11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #import <Cocoa/Cocoa.h> @interface TestElementReceiptAppDelegate : NSObject <NSApplicationDelegate> { NSWindow *window; } @property (assign) IBOutlet...
zxq911-zxq
Xcode/Testing/TestElementReceipt/TestElementReceipt/TestElementReceiptAppDelegate.h
Objective-C
bsd
345
// // main.m // TestElementReceipt // // Created by Robbie Hanson on 8/5/11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #import <Cocoa/Cocoa.h> int main(int argc, char *argv[]) { return NSApplicationMain(argc, (const char **)argv); }
zxq911-zxq
Xcode/Testing/TestElementReceipt/TestElementReceipt/main.m
Objective-C
bsd
259
#import "TestElementReceiptAppDelegate.h" #import "XMPPStream.h" @interface XMPPElementReceipt (PrivateAPI) // Stolen from XMPPStream.m - (void)signalSuccess; - (void)signalFailure; @end //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// #pragma ...
zxq911-zxq
Xcode/Testing/TestElementReceipt/TestElementReceipt/TestElementReceiptAppDelegate.m
Objective-C
bsd
3,347
{\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...
zxq911-zxq
Xcode/Testing/TestElementReceipt/TestElementReceipt/en.lproj/Credits.rtf
Rich Text Format
bsd
436
// // main.m // ParserTestPhone // // Created by Robbie Hanson on 11/22/09. // Copyright Deusty Designs, LLC. 2009. All rights reserved. // #import <UIKit/UIKit.h> int main(int argc, char *argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; int retVal = UIApplicationMain(argc, argv...
zxq911-zxq
Xcode/Testing/ParserTestPhone/main.m
Objective-C
bsd
374
#import <UIKit/UIKit.h> @interface ParserTestPhoneAppDelegate : NSObject <UIApplicationDelegate> { UIWindow *window; } @property (nonatomic, retain) IBOutlet UIWindow *window; @end
zxq911-zxq
Xcode/Testing/ParserTestPhone/Classes/ParserTestPhoneAppDelegate.h
Objective-C
bsd
186
#import "ParserTestPhoneAppDelegate.h" #import "XMPPParser.h" #import "DDXML.h" #define PRINT_ELEMENTS NO @interface ParserTestPhoneAppDelegate (PrivateAPI) - (void)nonParserTest; - (void)parserTest; @end //////////////////////////////////////////////////////////////////////////////////////////////////////////////...
zxq911-zxq
Xcode/Testing/ParserTestPhone/Classes/ParserTestPhoneAppDelegate.m
Objective-C
bsd
6,206
// // main.m // TestIDTracker // // Created by Robbie Hanson on 8/1/11. // Copyright 2011 __MyCompanyName__. All rights reserved. // #import <Cocoa/Cocoa.h> int main(int argc, char *argv[]) { return NSApplicationMain(argc, (const char **)argv); }
zxq911-zxq
Xcode/Testing/TestIDTracker/TestIDTracker/main.m
Objective-C
bsd
254
#import <Cocoa/Cocoa.h> @class XMPPIDTracker; @interface TestIDTrackerAppDelegate : NSObject <NSApplicationDelegate> { XMPPIDTracker *idTracker; NSString *fetch1; NSString *fetch2; NSString *fetch3; NSString *fetch4; NSString *fetch5; NSString *fetch6; NSString *fetch7; NSString *fetch8; NSWindow *wind...
zxq911-zxq
Xcode/Testing/TestIDTracker/TestIDTracker/TestIDTrackerAppDelegate.h
Objective-C
bsd
379
#import "TestIDTrackerAppDelegate.h" #import "XMPPIDTracker.h" #import "DDLog.h" #import "DDTTYLogger.h" // Log levels: off, error, warn, info, verbose static const int ddLogLevel = LOG_LEVEL_VERBOSE; @interface ExtendedTrackingInfo : XMPPBasicTrackingInfo { NSDate *timeSent; } @property (nonatomic, readonly) NSDat...
zxq911-zxq
Xcode/Testing/TestIDTracker/TestIDTracker/TestIDTrackerAppDelegate.m
Objective-C
bsd
5,323
{\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...
zxq911-zxq
Xcode/Testing/TestIDTracker/TestIDTracker/en.lproj/Credits.rtf
Rich Text Format
bsd
436
#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...
zxq911-zxq
Xcode/Testing/MulticastDelegateTest/Class1.m
Objective-C
bsd
1,052
#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; - ...
zxq911-zxq
Xcode/Testing/MulticastDelegateTest/MulticastDelegateTestAppDelegate.m
Objective-C
bsd
5,059
#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
zxq911-zxq
Xcode/Testing/MulticastDelegateTest/MyProtocol.h
Objective-C
bsd
285
// // 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); }
zxq911-zxq
Xcode/Testing/MulticastDelegateTest/main.m
Objective-C
bsd
272
#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...
zxq911-zxq
Xcode/Testing/MulticastDelegateTest/Class2.m
Objective-C
bsd
1,013
#import <Cocoa/Cocoa.h> @interface Class2 : NSObject @end
zxq911-zxq
Xcode/Testing/MulticastDelegateTest/Class2.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 ...
zxq911-zxq
Xcode/Testing/MulticastDelegateTest/MulticastDelegateTestAppDelegate.h
Objective-C
bsd
439
#import <Cocoa/Cocoa.h> @interface Class1 : NSObject @end
zxq911-zxq
Xcode/Testing/MulticastDelegateTest/Class1.h
Objective-C
bsd
61
// // 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...
zxq911-zxq
Xcode/Testing/TestXEP82/iOS/TestXEP82/main.m
Objective-C
bsd
335
#import <UIKit/UIKit.h> @class TestXEP82ViewController; @interface TestXEP82AppDelegate : NSObject <UIApplicationDelegate> { } @property (nonatomic, retain) IBOutlet UIWindow *window; @property (nonatomic, retain) IBOutlet TestXEP82ViewController *viewController; @end
zxq911-zxq
Xcode/Testing/TestXEP82/iOS/TestXEP82/TestXEP82AppDelegate.h
Objective-C
bsd
275
#import <UIKit/UIKit.h> @interface TestXEP82ViewController : UIViewController { } @end
zxq911-zxq
Xcode/Testing/TestXEP82/iOS/TestXEP82/TestXEP82ViewController.h
Objective-C
bsd
95
#import "TestXEP82ViewController.h" @implementation TestXEP82ViewController @end
zxq911-zxq
Xcode/Testing/TestXEP82/iOS/TestXEP82/TestXEP82ViewController.m
Objective-C
bsd
86
#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...
zxq911-zxq
Xcode/Testing/TestXEP82/iOS/TestXEP82/TestXEP82AppDelegate.m
Objective-C
bsd
544
// // 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...
zxq911-zxq
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
zxq911-zxq
Xcode/Testing/TestXEP82/TestXEP82.h
Objective-C
bsd
227
// // 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); }
zxq911-zxq
Xcode/Testing/TestXEP82/Mac/main.m
Objective-C
bsd
256
#import <Cocoa/Cocoa.h> @interface TestXEP82AppDelegate : NSObject <NSApplicationDelegate> { NSWindow *window; } @property (assign) IBOutlet NSWindow *window; @end
zxq911-zxq
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
zxq911-zxq
Xcode/Testing/TestXEP82/Mac/TestXEP82AppDelegate.m
Objective-C
bsd
219
// // 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); }
zxq911-zxq
Xcode/Testing/TestSRVResolver/main.m
Objective-C
bsd
251
#import <Cocoa/Cocoa.h> @class XMPPSRVResolver; @interface TestSRVResolverAppDelegate : NSObject <NSApplicationDelegate> { XMPPSRVResolver *srvResolver; NSWindow *window; } @property (assign) IBOutlet NSWindow *window; @end
zxq911-zxq
Xcode/Testing/TestSRVResolver/TestSRVResolverAppDelegate.h
Objective-C
bsd
231
#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...
zxq911-zxq
Xcode/Testing/TestSRVResolver/TestSRVResolverAppDelegate.m
Objective-C
bsd
1,611
/* * 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...
zxq911-zxq
Xcode/Testing/FacebookTest/FBConnect/Facebook.m
Objective-C
bsd
22,068
/* * 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...
zxq911-zxq
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 wr...
zxq911-zxq
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...
zxq911-zxq
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...
zxq911-zxq
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 w...
zxq911-zxq
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 wri...
zxq911-zxq
Xcode/Testing/FacebookTest/FBConnect/FBRequest.m
Objective-C
bsd
11,386
/* 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...
zxq911-zxq
Xcode/Testing/FacebookTest/FBConnect/JSON/SBJSON.m
Objective-C
bsd
6,844
/* 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...
zxq911-zxq
Xcode/Testing/FacebookTest/FBConnect/JSON/SBJsonBase.m
Objective-C
bsd
2,753
/* 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...
zxq911-zxq
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...
zxq911-zxq
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...
zxq911-zxq
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...
zxq911-zxq
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...
zxq911-zxq
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...
zxq911-zxq
Xcode/Testing/FacebookTest/FBConnect/JSON/NSString+SBJSON.h
Objective-C
bsd
2,326
/* 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...
zxq911-zxq
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...
zxq911-zxq
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...
zxq911-zxq
Xcode/Testing/FacebookTest/FBConnect/JSON/SBJsonWriter.h
Objective-C
bsd
4,416