Skip to content

Instantly share code, notes, and snippets.

🎯
Focusing

Weizhi Xie xieweizhi

  • Castlery
  • Shenzhen,CHINA
View GitHub Profile
@xieweizhi
xieweizhi / Breakpoints_v2.xcbkptlist
Created Oct 15, 2015 — forked from Ashton-W/Breakpoints_v2.xcbkptlist
My User Breakpoints_v2.xcbkptlist
View Breakpoints_v2.xcbkptlist
<?xml version="1.0" encoding="UTF-8"?>
<Bucket
type = "2"
version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
<BreakpointContent
shouldBeEnabled = "Yes"
ignoreCount = "0"
@xieweizhi
xieweizhi / bookCoverOpen.m
Created Sep 30, 2015 — forked from albertodebortoli/bookCoverOpen.m
Book cover flip animation on iOS (Path app style)
View bookCoverOpen.m
#import <QuartzCore/QuartzCore.h>
UIImageView *splashView = [[UIImageView alloc] initWithFrame:CGRectMake(0,0, 320, 480)];
splashView.image = [UIImage imageNamed:@"Default.png"];
[self.window addSubview:splashView];
[self.window bringSubviewToFront:splashView];
splashView.layer.anchorPoint=CGPointMake(0, .5);
splashView.center = CGPointMake(splashView.center.x - splashView.bounds.size.width/2.0f, splashView.center.y);
[UIView beginAnimations:nil context:nil];
@xieweizhi
xieweizhi / DeviceUID.m
Last active Sep 24, 2015 — forked from miguelcma/DeviceUID.m
iOS Unique Device ID that persists between app reinstalls
View DeviceUID.m
/* DeviceUID.h
#import <Foundation/Foundation.h>
@interface DeviceUID : NSObject
+ (NSString *)uid;
@end
*/
// Device.m
You can’t perform that action at this time.