Skip to content

Commit

Permalink
Setup Swift Package, remove uneeded files
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanbeaumont committed Jan 3, 2023
1 parent 6ebc10e commit d964eef
Show file tree
Hide file tree
Showing 25 changed files with 22 additions and 595 deletions.
13 changes: 0 additions & 13 deletions ALActionBlocks.podspec

This file was deleted.

338 changes: 0 additions & 338 deletions Demo/ALActionBlocks.xcodeproj/project.pbxproj

This file was deleted.

45 changes: 0 additions & 45 deletions Demo/ALActionBlocks/ALActionBlocks-Info.plist

This file was deleted.

14 changes: 0 additions & 14 deletions Demo/ALActionBlocks/ALActionBlocks-Prefix.pch

This file was deleted.

17 changes: 0 additions & 17 deletions Demo/ALActionBlocks/ALAppDelegate.h

This file was deleted.

59 changes: 0 additions & 59 deletions Demo/ALActionBlocks/ALAppDelegate.m

This file was deleted.

13 changes: 0 additions & 13 deletions Demo/ALActionBlocks/ALViewController.h

This file was deleted.

75 changes: 0 additions & 75 deletions Demo/ALActionBlocks/ALViewController.m

This file was deleted.

Binary file removed Demo/ALActionBlocks/[email protected]
Binary file not shown.
Binary file removed Demo/ALActionBlocks/Default.png
Binary file not shown.
Binary file removed Demo/ALActionBlocks/[email protected]
Binary file not shown.
2 changes: 0 additions & 2 deletions Demo/ALActionBlocks/en.lproj/InfoPlist.strings

This file was deleted.

18 changes: 0 additions & 18 deletions Demo/ALActionBlocks/main.m

This file was deleted.

18 changes: 18 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "ALActionBlocks",
products: [
.library(
name: "ALActionBlocks",
targets: ["ALActionBlocks"]),
],
targets: [
.target(
name: "ALActionBlocks",
dependencies: []),
]
)
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ALActionBlocks

This is a fork of ALActionBlocks, forked from https://github.com/lavoy/ALActionBlocks to use as a Swift Package.

ALActionBlocks is an Objective-C category on UIControl, UIBarButtonItem, and UIGestureRecognizer that allows for handling of control events with blocks.

- Handle control events with blocks
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#import "ALActionBlock.h"

static NSString *const ALActionBlocksArray = @"ALActionBlocksArray";
Expand All @@ -18,4 +19,4 @@ static NSString *const ALActionBlocksArray = @"ALActionBlocksArray";

- (void)invokeBlock:(id)sender;

@end
@end
File renamed without changes.
File renamed without changes.

0 comments on commit d964eef

Please sign in to comment.