thanks 4 putting source for a noob to learn a little
-
DocSets-for-iOS and paid 4 it too https://github.com/omz/DocSets-for-iOS/
-
Real Time Congress
| ########################################## | |
| # | |
| # 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) |
| package main | |
| import ( | |
| "fmt" | |
| "labix.org/v2/mgo" | |
| "labix.org/v2/mgo/bson" | |
| "time" | |
| ) | |
| type Person struct { |
| CGPathRef CGPathCreateRoundRect( const CGRect r, const CGFloat cornerRadius ) | |
| { | |
| CGMutablePathRef p = CGPathCreateMutable() ; | |
| CGPathMoveToPoint( p, NULL, r.origin.x + cornerRadius, r.origin.y ) ; | |
| CGFloat maxX = CGRectGetMaxX( r ) ; | |
| CGFloat maxY = CGRectGetMaxY( r ) ; | |
| CGPathAddArcToPoint( p, NULL, maxX, r.origin.y, maxX, r.origin.y + cornerRadius, cornerRadius ) ; |
thanks 4 putting source for a noob to learn a little
DocSets-for-iOS and paid 4 it too https://github.com/omz/DocSets-for-iOS/
Real Time Congress
| #!/bin/sh | |
| projectfile=`find -d . -name 'project.pbxproj'` | |
| projectdir=`echo *.xcodeproj` | |
| projectfile="${projectdir}/project.pbxproj" | |
| tempfile="${projectdir}/project.pbxproj.out" | |
| savefile="${projectdir}/project.pbxproj.mergesave" | |
| cat $projectfile | grep -v "<<<<<<< HEAD" | grep -v "=======" | grep -v "^>>>>>>> " > $tempfile | |
| cp $projectfile $savefile |