generated from krzyzanowskim/STTextView-Plugin-Template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor annotation label view into shared package
Move AnnotationLabelView into STAnnotationsPluginShared so it can be used by both AppKit and UIKit demo apps. Rename it to STAnnotationLabelView for consistency with other public types in the package. Update the view to take an action closure that is invoked when the annotation is tapped, allowing the demo apps to remove the tapped annotation. Simplify the container shape to use a standard RoundedRectangle. Remove the now unused AnnotationLabelView files from the demo app projects.
- Loading branch information
1 parent
f561618
commit e6f43de
Showing
6 changed files
with
11 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters