Skip to content
This repository has been archived by the owner on Feb 17, 2021. It is now read-only.

Add Cocoapods static_framework support #176

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
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
1 change: 1 addition & 0 deletions LayoutKit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Pod::Spec.new do |spec|
spec.source = { :git => 'https://github.com/linkedin/LayoutKit.git', :tag => spec.version }
spec.source_files = 'Sources/**/*.swift'
spec.documentation_url = 'http://layoutkit.org'
spec.static_framework = true

spec.ios.deployment_target = '8.0'
spec.ios.frameworks = 'Foundation', 'CoreGraphics', 'UIKit'
Expand Down
2 changes: 1 addition & 1 deletion Sources/ViewRecycler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// software distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

import ObjectiveC
import Foundation
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replaced because of using NSNumber here. Had compile errors without that.


/**
Provides APIs to recycle views by id.
Expand Down