Skip to content

Commit

Permalink
Add @IBDesignable to CircleView
Browse files Browse the repository at this point in the history
  • Loading branch information
berbschloe committed Jun 6, 2018
1 parent ca99f75 commit 9e489fa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Source/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.1.0</string>
<string>2.1.1</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down
2 changes: 2 additions & 0 deletions Source/Views/CircleView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
import UIKit

/// A custom view where the layers corner radius tries to make a circle
@IBDesignable
class CircleView: UIView {

override func layoutSubviews() {
Expand All @@ -33,6 +34,7 @@ class CircleView: UIView {
}

/// A custom image view where the layers corner radius tries to make a circle
@IBDesignable
class CircleImageView: UIImageView {

override func layoutSubviews() {
Expand Down
6 changes: 3 additions & 3 deletions Squidward.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "Squidward"
s.version = "2.1.0"
s.summary = "Squidward is an iOS framework that reduces the plumbing of working with UIKit"
s.version = "2.1.1"
s.summary = "Squidward is an iOS framework that reduces the plumbing of working with UIKit."
s.homepage = "https://github.com/QuarkWorks/Squidward"
s.license = "MIT"
s.author = "QuarkWorks"
s.platform = :ios, "9.0"
s.source = { :git => "https://github.com/QuarkWorks/Squidward.git", :tag => "2.1.0" }
s.source = { :git => "https://github.com/QuarkWorks/Squidward.git", :tag => "2.1.1" }
s.source_files = "Squidward", "Source/**/*.{h,m,swift}"
end

0 comments on commit 9e489fa

Please sign in to comment.