Skip to content

Commit

Permalink
several fixes to satisfy pod linter
Browse files Browse the repository at this point in the history
  • Loading branch information
lukkas committed Apr 2, 2018
1 parent 29d5365 commit e9ebbdd
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
7 changes: 4 additions & 3 deletions Visually.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,24 @@

Pod::Spec.new do |s|
s.name = "Visually"
s.version = "0.0.8"
s.version = "0.0.9"
s.summary = "Swift library, that utilizes custom operators to enable creating autolayout constraints in typesafe and expressive manner."
s.description = <<-DESC
Swift library, that utilizes custom operators to enable creating autolayout constraints in typesafe and expressive manner.
It works similarly to visual format available in UIKit, however it doesn't rely on strings and doesn't require creating either
views or metrics dictionaries.
DESC
s.homepage = "http://github/lukkas/Visually"
s.homepage = "https://github/lukkas/Visually"
s.license = "MIT"
s.author = { "Lukasz Kasperek" => "[email protected]" }
s.social_media_url = "http://twitter.com/LukaszKasperek"

s.swift_version = "4.1"
s.ios.deployment_target = "9.0"
s.osx.deployment_target = "10.11"
s.tvos.deployment_target = "9.0"

s.source = { :git => "http://github/lukkas/Visually.git", :tag => "#{s.version}" }
s.source = { :git => "http://github.com/lukkas/Visually.git", :tag => "#{s.version}" }
s.source_files = "Visually"
s.ios.framework = "UIKit"
s.ios.framework = "AppKit"
Expand Down
8 changes: 4 additions & 4 deletions Visually.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

/* Begin PBXBuildFile section */
B23B9959205D58E600B0A50F /* Visually.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B23B994F205D58E600B0A50F /* Visually.framework */; };
B23B9960205D58E600B0A50F /* VisualConstraints.h in Headers */ = {isa = PBXBuildFile; fileRef = B23B9952205D58E600B0A50F /* VisualConstraints.h */; settings = {ATTRIBUTES = (Public, ); }; };
B23B9960205D58E600B0A50F /* Visually.h in Headers */ = {isa = PBXBuildFile; fileRef = B23B9952205D58E600B0A50F /* Visually.h */; settings = {ATTRIBUTES = (Public, ); }; };
B23B996E205D5A4E00B0A50F /* ConstraintParameters.swift in Sources */ = {isa = PBXBuildFile; fileRef = B23B9969205D5A4E00B0A50F /* ConstraintParameters.swift */; };
B23B9970205D5A4E00B0A50F /* OperatorDefinitions.swift in Sources */ = {isa = PBXBuildFile; fileRef = B23B996B205D5A4E00B0A50F /* OperatorDefinitions.swift */; };
B23B9971205D5A4E00B0A50F /* OperatorImplementations.swift in Sources */ = {isa = PBXBuildFile; fileRef = B23B996C205D5A4E00B0A50F /* OperatorImplementations.swift */; };
Expand All @@ -32,7 +32,7 @@

/* Begin PBXFileReference section */
B23B994F205D58E600B0A50F /* Visually.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Visually.framework; sourceTree = BUILT_PRODUCTS_DIR; };
B23B9952205D58E600B0A50F /* VisualConstraints.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = VisualConstraints.h; sourceTree = "<group>"; };
B23B9952205D58E600B0A50F /* Visually.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Visually.h; sourceTree = "<group>"; };
B23B9953205D58E600B0A50F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
B23B9958205D58E600B0A50F /* VisuallyTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = VisuallyTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
B23B995F205D58E600B0A50F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand Down Expand Up @@ -91,7 +91,7 @@
children = (
B2AC342E2072851F0004253E /* Visually.xcconfig */,
B25640B02072DEC3007E6FF1 /* VisuallyTest.xcconfig */,
B23B9952205D58E600B0A50F /* VisualConstraints.h */,
B23B9952205D58E600B0A50F /* Visually.h */,
B23B9953205D58E600B0A50F /* Info.plist */,
B2AC342F207288230004253E /* PlatformCompatibility.swift */,
B23B996D205D5A4E00B0A50F /* BuildPoints.swift */,
Expand Down Expand Up @@ -121,7 +121,7 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
B23B9960205D58E600B0A50F /* VisualConstraints.h in Headers */,
B23B9960205D58E600B0A50F /* Visually.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
8 changes: 6 additions & 2 deletions Visually/VisualConstraints.h → Visually/Visually.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@
// Copyright © 2018 AppUnite. All rights reserved.
//

#if TARGET_OS_IOS || TARGET_OS_TV
#import <UIKit/UIKit.h>
#elif TARGET_OS_MAC
#import <AppKit/AppKit.h>
#endif

//! Project version number for VisualConstraints.
FOUNDATION_EXPORT double VisualConstraintsVersionNumber;
FOUNDATION_EXPORT double VisuallyVersionNumber;

//! Project version string for VisualConstraints.
FOUNDATION_EXPORT const unsigned char VisualConstraintsVersionString[];
FOUNDATION_EXPORT const unsigned char VisuallyVersionString[];

// In this header, you should import all the public headers of your framework using statements like #import <VisualConstraints/PublicHeader.h>

Expand Down

0 comments on commit e9ebbdd

Please sign in to comment.