Skip to content

Commit

Permalink
Merge pull request #31 from tbaranes/hotfix/source_localisation
Browse files Browse the repository at this point in the history
Preparing release 2.0.0
  • Loading branch information
Tom Baranes committed Nov 10, 2017
2 parents ac9a9d2 + da96d99 commit 32d2036
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 282 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ N/A

N/A

## [1.5.0](https://github.com/tbaranes/FittableFontLabel/releases/tag/1.4.0) (06-11-2017)
## [2.0.0](https://github.com/tbaranes/FittableFontLabel/releases/tag/2.0.0) (10-11-2017)


#### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion FittableFontLabel.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Pod::Spec.new do |s|

s.name = "FittableFontLabel"
s.module_name = "FittableFontLabel"
s.version = "1.5.0"
s.version = "2.0.0"
s.summary = "UILabel (extension) that adjust the font size to fit a rect (width and height)."
s.description = "UILabel (extension or subclass) that adjust the font size to fit a frame: width and height if multilines, width only if single lines"
s.homepage = "https://github.com/tbaranes/FittableFontLabel"
Expand Down
23 changes: 12 additions & 11 deletions FittableFontLabel/FittableFontLabel.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
E2227AA61CCE80C5006C4289 /* FittableFontLabel.h in Headers */ = {isa = PBXBuildFile; fileRef = E2227AA51CCE80C5006C4289 /* FittableFontLabel.h */; settings = {ATTRIBUTES = (Public, ); }; };
E2227AAD1CCE80C5006C4289 /* FittableFontLabel.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E2227AA21CCE80C5006C4289 /* FittableFontLabel.framework */; };
E2227AB21CCE80C5006C4289 /* FittableFontLabelTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2227AB11CCE80C5006C4289 /* FittableFontLabelTests.swift */; };
E2A4B6631D84769C005E6710 /* FittableFontLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2A4B6611D84769C005E6710 /* FittableFontLabel.swift */; };
E2A4B6641D84769C005E6710 /* UILabelExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2A4B6621D84769C005E6710 /* UILabelExtension.swift */; };
E2EFA1B41FB5915A00096E56 /* FittableFontLabel.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2EFA1B21FB5915A00096E56 /* FittableFontLabel.swift */; };
E2EFA1B51FB5915A00096E56 /* UILabelExtension.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2EFA1B31FB5915A00096E56 /* UILabelExtension.swift */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -31,8 +31,8 @@
E2227AAC1CCE80C5006C4289 /* FittableFontLabel iOS Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "FittableFontLabel iOS Tests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
E2227AB11CCE80C5006C4289 /* FittableFontLabelTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FittableFontLabelTests.swift; sourceTree = "<group>"; };
E2227AB31CCE80C5006C4289 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
E2A4B6611D84769C005E6710 /* FittableFontLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FittableFontLabel.swift; sourceTree = "<group>"; };
E2A4B6621D84769C005E6710 /* UILabelExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UILabelExtension.swift; sourceTree = "<group>"; };
E2EFA1B21FB5915A00096E56 /* FittableFontLabel.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FittableFontLabel.swift; sourceTree = "<group>"; };
E2EFA1B31FB5915A00096E56 /* UILabelExtension.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UILabelExtension.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -57,7 +57,7 @@
E2227A981CCE80C5006C4289 = {
isa = PBXGroup;
children = (
E2A4B6601D84769C005E6710 /* Source */,
E2EFA1B11FB5915A00096E56 /* Source */,
E2227AA41CCE80C5006C4289 /* FittableFontLabel iOS */,
E2227AB01CCE80C5006C4289 /* FittableFontLabelTests */,
E2227AA31CCE80C5006C4289 /* Products */,
Expand Down Expand Up @@ -92,13 +92,14 @@
path = "FittableFontLabel iOS Tests";
sourceTree = "<group>";
};
E2A4B6601D84769C005E6710 /* Source */ = {
E2EFA1B11FB5915A00096E56 /* Source */ = {
isa = PBXGroup;
children = (
E2A4B6611D84769C005E6710 /* FittableFontLabel.swift */,
E2A4B6621D84769C005E6710 /* UILabelExtension.swift */,
E2EFA1B21FB5915A00096E56 /* FittableFontLabel.swift */,
E2EFA1B31FB5915A00096E56 /* UILabelExtension.swift */,
);
path = Source;
name = Source;
path = ../Source;
sourceTree = "<group>";
};
/* End PBXGroup section */
Expand Down Expand Up @@ -229,8 +230,8 @@
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E2A4B6641D84769C005E6710 /* UILabelExtension.swift in Sources */,
E2A4B6631D84769C005E6710 /* FittableFontLabel.swift in Sources */,
E2EFA1B51FB5915A00096E56 /* UILabelExtension.swift in Sources */,
E2EFA1B41FB5915A00096E56 /* FittableFontLabel.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down
105 changes: 0 additions & 105 deletions FittableFontLabel/Source/FittableFontLabel.swift

This file was deleted.

142 changes: 0 additions & 142 deletions FittableFontLabel/Source/UILabelExtension.swift

This file was deleted.

4 changes: 2 additions & 2 deletions Source/FittableFontLabel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ open class FittableFontLabel: UILabel {

// MARK: Helpers

fileprivate extension FittableFontLabel {
extension FittableFontLabel {

func adjustFontSize() {
private func adjustFontSize() {
if autoAdjustFontSize {
fontSizeToFit(maxFontSize: maxFontSize, minFontScale: minFontScale)
}
Expand Down
Loading

0 comments on commit 32d2036

Please sign in to comment.