Skip to content

Instantly share code, notes, and snippets.

@adamgit
adamgit / gist:3705459
Last active December 11, 2023 16:27
Automatically create cross-platform (simulator + device) static libraries for Objective C / iPhone / iPad
##########################################
#
# c.f. http://stackoverflow.com/questions/3520977/build-fat-static-library-device-simulator-using-xcode-and-sdk-4
#
# Version 2.82
#
# Latest Change:
# - MORE tweaks to get the iOS 10+ and 9- working
# - Support iOS 10+
# - Corrected typo for iOS 1-10+ (thanks @stuikomma)
@sansumbrella
sansumbrella / CinderTileRender.cpp
Created May 7, 2010 04:32
Cinder Tile Render example
void yourApp::renderTiles()
{
//the size here doesn't matter, but it will get distorted if it's not the same ratio as your window
gl::TileRender tr( getWindowWidth()*4, getWindowHeight()*4 );
//use the default cinder view to render from
tr.setMatricesWindow(getWindowWidth(), getWindowHeight());
while( tr.nextTile() ) {
draw();
}