Posts

Showing posts from February, 2013

Epic Win Compilation 2012 - Part 5 - HD

Image
This video was uploaded to youtube by : seekerland

"Begin Again" - Taylor Swift (Alex Goot, Megan Nicole, Piano Guys COVER)

Image
Brought to you by youtube and gootmusic All credits go to respective owners of this video.

3D Printing

Image
3D printing, the power of technology.

But… what IF somebody printed the GUNsss :O

'Every act of creation is an act of destruction,' mused Pablo Picasso.

What is .pch file in Xcode?

It is prefix header file which is automatically created by xcode.

It is compiled and stored in cache, and automatically included in every source file during the compilation time. 

Quote from Xcode 
Note: Precompiling the prefix header will be most effective if the contents of the prefix header or any file it includes change rarely. If the contents of the prefix header or any file it includes change frequently, there may be a negative impact to overall build time.

Change the size and border color of the UITextView

1.
#import <QuartzCore/QuartzCore.h> //this is for setting border properties

2.
detailsLabel.text = detailsString; CGRectdetailsLabel.frame; frame.size.height = 200; detailsLabel.frame = frame; detailsLabel.layer.borderWidth = 1; [detailsLabel.layersetBorderColor: [[UIColorgrayColor] CGColor]]; [detailsLabel.layersetBorderWidth: 1.0]; [detailsLabel.layersetCornerRadius:8.0f]; [detailsLabel.layersetMasksToBounds:YES];