Skip to content

RCCBox/Xingpad

Repository files navigation

XingPad

An iPad XING client using the XING API v1.

Project Setup

Clone the project including submodules:

$ git clone --recursive https://github.com/robertoseidenberg/Xingpad.git
$ cd Xingpad

Build and run the project using XCode.

Debugging

Install PonyDebugger and run it using the terminal:

ponyd serve --listen-interface=127.0.0.1
Logging

Some macros are being defined in XINGPad-Prefix.pch. Use these for debugging reasons. Read more ...

DLog

Never use NSLog. Use DLog instead. DLog output is beeing silenced in release builds.

DLog(@"Some va: r%@", <#(id)#>);
Assertions

ALog

If you need logging in release builds use ALog. It throws an assertion when being hit in DEBUG mode and converts to an NSLog in release builds.

// Error
NSAssert(<#(evaluation to NO throws assertion)#>, @"It failed");

ZASSert

Use these assertions macros to validate objects at runtime.

// Violation
// It's not allowed to call this method with a nil argument
ZAssert(<#(evaluation to NO throws assertion)#>, @"VIOLATION: Method argument <#(id)#><#(name)#>: %@", <#(id)#>);

// Inconsistency
ZAssert(<#(Evaluation passes if YES)#>, @"INCONSISTENCY: <#(id)#> object not found in <#(id)#>!");

Documentation

Documentation for the project is being generated using appledoc. The doc can be generated by building the Documentation target. The generated files will be stored in the XCode docs path and can be read in the organizer.

Acknowledgements

XINGPad makes heavy use these open source projects::

Networking

Debugging

  • PonyDebugger Remote network and data debugging for your native iOS app using Chrome Developer Tools

Releases

No releases published

Packages

No packages published