Skip to content

Commit

Permalink
Update podspec
Browse files Browse the repository at this point in the history
  • Loading branch information
jegnux committed Dec 23, 2020
1 parent 45da526 commit 552f1fc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
15 changes: 8 additions & 7 deletions Needs.podspec
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
Pod::Spec.new do |s|
s.name = "Needs"
s.version = "0.1"
s.summary = ""
s.version = "0.1.0"
s.summary = "Property Wrapper for setNeeds- methods"
s.description = <<-DESC
Your description here.
Automatically calls one or several setNeeds- methods when updating a property
DESC
s.homepage = "https://github.com/jegnux/Needs"
s.license = { :type => "MIT", :file => "LICENSE" }
s.author = { "Jérôme Alves" => "[email protected]" }
s.social_media_url = ""
s.ios.deployment_target = "8.0"
s.osx.deployment_target = "10.9"
s.watchos.deployment_target = "2.0"
s.tvos.deployment_target = "9.0"
s.swift_version = "5.2"
s.ios.deployment_target = "9.0"
s.osx.deployment_target = "10.10"
# s.watchos.deployment_target = "2.0"
# s.tvos.deployment_target = "9.0"
s.source = { :git => "https://github.com/jegnux/Needs.git", :tag => s.version.to_s }
s.source_files = "Sources/**/*"
s.frameworks = "Foundation"
Expand Down
6 changes: 6 additions & 0 deletions Needs.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
750AE69725937ECA00A878F7 /* Need+UIViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 750AE69425937ECA00A878F7 /* Need+UIViewController.swift */; };
750AE69825937ECA00A878F7 /* Need+UIViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 750AE69425937ECA00A878F7 /* Need+UIViewController.swift */; };
750AE6A2259389D400A878F7 /* Need+NSView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 750AE6A0259389D400A878F7 /* Need+NSView.swift */; };
75A72E632593DD1100E0C65A /* Need+NSView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 750AE6A0259389D400A878F7 /* Need+NSView.swift */; };
75A72E6B2593DD1200E0C65A /* Need+NSView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 750AE6A0259389D400A878F7 /* Need+NSView.swift */; };
75A72E732593DD1200E0C65A /* Need+NSView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 750AE6A0259389D400A878F7 /* Need+NSView.swift */; };
8933C7851EB5B820000D00A4 /* Needs.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* Needs.swift */; };
8933C7861EB5B820000D00A4 /* Needs.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* Needs.swift */; };
8933C7871EB5B820000D00A4 /* Needs.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8933C7841EB5B820000D00A4 /* Needs.swift */; };
Expand Down Expand Up @@ -482,6 +485,7 @@
buildActionMask = 2147483647;
files = (
750AE68925937E9800A878F7 /* Need+UIView.swift in Sources */,
75A72E632593DD1100E0C65A /* Need+NSView.swift in Sources */,
8933C7851EB5B820000D00A4 /* Needs.swift in Sources */,
750AE69525937ECA00A878F7 /* Need+UIViewController.swift in Sources */,
750AE67D25937E8500A878F7 /* Need.swift in Sources */,
Expand All @@ -501,6 +505,7 @@
buildActionMask = 2147483647;
files = (
750AE68B25937E9800A878F7 /* Need+UIView.swift in Sources */,
75A72E6B2593DD1200E0C65A /* Need+NSView.swift in Sources */,
8933C7871EB5B820000D00A4 /* Needs.swift in Sources */,
750AE69725937ECA00A878F7 /* Need+UIViewController.swift in Sources */,
750AE67F25937E8500A878F7 /* Need.swift in Sources */,
Expand All @@ -512,6 +517,7 @@
buildActionMask = 2147483647;
files = (
750AE68C25937E9800A878F7 /* Need+UIView.swift in Sources */,
75A72E732593DD1200E0C65A /* Need+NSView.swift in Sources */,
8933C7881EB5B820000D00A4 /* Needs.swift in Sources */,
750AE69825937ECA00A878F7 /* Need+UIViewController.swift in Sources */,
750AE68025937E8500A878F7 /* Need.swift in Sources */,
Expand Down
2 changes: 1 addition & 1 deletion Sources/Needs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Foundation

@propertyWrapper
public struct Needs<EnclosingSelf: AnyObject, T> where T: Equatable{
public struct Needs<EnclosingSelf: AnyObject, T> where T: Equatable {

public var wrappedValue: T

Expand Down

0 comments on commit 552f1fc

Please sign in to comment.