Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified Classes/SEDraggable.h
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion Classes/SEDraggable.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ - (void) handleDrag:(id)sender {
if ([self.delegate respondsToSelector:@selector(draggableObjectDidStopMoving:)])
[self.delegate draggableObjectDidStopMoving:self];

// [dropLocation draggableObjectWasDroppedInside:self animated:YES];
[dropLocation draggableObjectWasDroppedInside:self animated:YES];

if ([self.delegate respondsToSelector:@selector(draggableObject:didStopMovingWithinLocation:)])
[self.delegate draggableObject:self didStopMovingWithinLocation:dropLocation];
Expand Down
Empty file modified Classes/SEDraggableLocation.h
100644 → 100755
Empty file.
4 changes: 4 additions & 0 deletions Classes/SEDraggableLocation.m
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ - (BOOL) draggableObjectWantsToSnapBack:(SEDraggable *)draggable animated:(BOOL)
}

- (BOOL) draggableObjectWasDroppedInside:(SEDraggable *)draggable animated:(BOOL)animated {
if([self.delegate respondsToSelector:@selector(draggableObject:wasAddedToLocation:)])
{
[self.delegate draggableObject:draggable wasAddedToLocation:self];
}
return [self draggableObject:draggable wantsToEnterLocationWithEntryMethod:SEDraggableLocationEntryMethodWasDropped animated:animated];
}

Expand Down
2 changes: 1 addition & 1 deletion SEDraggable.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Pod::Spec.new do |s|
s.summary = 'Drag and drop UIView subclasses for iOS'
s.homepage = 'http://github.com/brynbellomy/iOS-DragAndDrop'
s.author = { 'bryn austin bellomy' => 'bryn@signals.io' }
s.source = { :git => 'http://github.com/brynbellomy/iOS-DragAndDrop.git', :tag => '1.0.0' }
s.source = { :git => 'https://github.com/WhiteOwlUk/iOS-DragAndDrop.git', :tag => '1.0.1' }
s.platform = :ios
s.source_files = 'Classes', 'Classes/**/*.{h,m}'
s.requires_arc = true
Expand Down