You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Example/TypographyKit.xcodeproj/project.pbxproj
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -389,7 +389,7 @@
389
389
);
390
390
runOnlyForDeploymentPostprocessing = 0;
391
391
shellPath = /bin/sh;
392
-
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
392
+
shellScript = "if which swiftlint >/dev/null; then\nswiftlint\nelse\necho \"error: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi";
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -241,12 +241,18 @@ You may specify your own point step size and multiplier by inclusion of a dictio
241
241
242
242
<key>typography-kit</key>
243
243
<dict>
244
+
<key>minimum-point-size</key>
245
+
<integer>10</integer>
246
+
<key>maximum-point-size</key>
247
+
<integer>100</integer>
244
248
<key>point-step-size</key>
245
249
<integer>2</integer>
246
250
<key>point-step-multiplier</key>
247
251
<integer>1</integer>
248
252
</dict>
249
253
254
+
Optionally, you may clamp the font point size to a lower and / or upper bound using the `minimum-point-size` and `maximum-point-size` properties.
255
+
250
256
### Remote Configuration
251
257
TypographyKit also allows you to host your configuration remotely so that your colors and font styles can be updated dynamically. To do so, simply add the following line to your app delegate so that it is invoked when your app finishes launching:
# Be sure to run `pod lib lint TypographyKit.podspec' to ensure this is a
3
-
# valid spec before submitting.
4
-
#
5
-
# Any lines starting with a # are optional, but their use is encouraged
6
-
# To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html
7
-
#
8
-
9
1
Pod::Spec.newdo |s|
10
2
s.name='TypographyKit'
11
-
s.version='0.4.0'
3
+
s.version='0.4.2'
12
4
s.summary='Visually consistent, accessible type for your iOS application.'
13
5
s.swift_version='4.1'
14
6
s.description=<<-DESC
15
7
TypographyKit makes it easy to define typography styles in your iOS app helping you achieve visual consistency in your design as well as supporting Dynamic Type even where using custom fonts.
0 commit comments