Search This Blog

Archive

Check out these Pages

yangonairportonline.com

yangonairportonline.com

Contact

lynnnayko@gmail.com

3D Printing


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;
CGRect detailsLabel.frame;
frame.size.height = 200;
detailsLabel.frame = frame;
detailsLabel.layer.borderWidth = 1;
[detailsLabel.layer setBorderColor: [[UIColor grayColor] CGColor]];
[detailsLabel.layer setBorderWidth: 1.0];
[detailsLabel.layer setCornerRadius:8.0f];
[detailsLabel.layer setMasksToBounds:YES];