Closed clsource closed 10 years ago
Oooh that’s a good catch. Yea those should do the same thing.
Best, Richard
Richard Kim (Choong-Won)
On Wednesday, October 8, 2014 at 1:22 PM, Camilo Castro wrote:
Hello, thanks for your repo ,
I'm trying to figure out how this thing works so
In DraggableView.m inside - (id) initWithFrame:(CGRect) frame {..} method We have this code overlayView = [[OverlayView alloc]initWithFrame:CGRectMake(self.frame.size.width/2-100, 0, 100, 100)];Why do we have to use half the frame's width minus 100? Inside OverlayView.m we have this code,
so the frame is already set.
-(void)layoutSubviews { [super layoutSubviews]; imageView.frame = CGRectMake(50, 50, 100, 100); }Any help will be much appreciated
thank you so much— Reply to this email directly or view it on GitHub (https://github.com/cwRichardKim/TinderSimpleSwipeCards/issues/3).
so i just looked at the code, and the code inside the layoutSubview is for setting up the image. One of them sets up the view, the other sets the view inside the image.
Best, Richard
Richard Kim (Choong-Won)
On Wednesday, October 8, 2014 at 1:58 PM, Richard Kim wrote:
Oooh that’s a good catch. Yea those should do the same thing.
Best, Richard
Richard Kim (Choong-Won)
On Wednesday, October 8, 2014 at 1:22 PM, Camilo Castro wrote:
Hello, thanks for your repo ,
I'm trying to figure out how this thing works so
In DraggableView.m inside - (id) initWithFrame:(CGRect) frame {..} method We have this code overlayView = [[OverlayView alloc]initWithFrame:CGRectMake(self.frame.size.width/2-100, 0, 100, 100)];Why do we have to use half the frame's width minus 100? Inside OverlayView.m we have this code,
so the frame is already set.
-(void)layoutSubviews { [super layoutSubviews]; imageView.frame = CGRectMake(50, 50, 100, 100); }Any help will be much appreciated
thank you so much— Reply to this email directly or view it on GitHub (https://github.com/cwRichardKim/TinderSimpleSwipeCards/issues/3).
Thanks man,
you are awesome.
I finally could implement the tinder like interface.
I'm looking foward integrating the code with facebook pop
https://github.com/facebook/POP
Thanks again :+1: :100:
ooh. if you get that working, let me know. I’d love to see how it works
Richard Kim (Choong-Won)
On Thursday, October 9, 2014 at 2:35 PM, Camilo Castro wrote:
Thanks man,
you are awesome. I finally could implement the tinder like interface. I'm looking foward integrating the code with facebook pop https://github.com/facebook/POP Thanks again— Reply to this email directly or view it on GitHub (https://github.com/cwRichardKim/TinderSimpleSwipeCards/issues/3#issuecomment-58556170).
Hello, thanks for your repo :+1: ,
I'm trying to figure out how this thing works so
In DraggableView.m
inside
- (id) initWithFrame:(CGRect) frame {..}
methodWe have this code
Why do we have to use half the frame's width minus 100?
Inside OverlayView.m we have this code, so the frame is already set.
Any help will be much appreciated thank you so much :heart: