Comments (7)
Ah. I confirm changing Build Settings to Swift 4.0 works with original .bold
on build. Closing
from showtime.
Hmm that's weird. Do you know which version of Swift it's trying to compile to? It might work if you use the Swift 3 version instead of the Swift 4 version of ShowTime
from showtime.
It's set to Swift 3.2 (I haven't changed it) in the root of my Xcode project > Build Settings. It's a manual install so I just dropped the latest (2.3) version of ShowTime.swift
into my project.
Everything works great though with my change, so I'm just reporting.
from showtime.
Ah okay, yeah in Swift 4 they changed some of the global variables likeUIFontWeightBold
to be namespaced, but it's not backwards compatible. If you use the Swift 3 version of ShowTime it should still work without any changes needed:
https://github.com/KaneCheshire/ShowTime/tree/1.0.1
from showtime.
Umm you got it the other way around. My Xcode build settings is set to Swift 3.2, I haven't changed it.
from showtime.
I'm not saying you have, I'm saying you're using the Swift 4 version of ShowTime which won't work if your project is using Swift 3.2, because in Swift 4 UIFontWeightBold
was changed to .bold
which is why you have to change it manually back to UIFontWeightBold
.
The latest version of Showtime (2.3) won't work with Swift 3.2, so you should use version 1.0.1 which I've linked to above.
The README does have specific instructions for Swift 3 installation for this very reason: https://github.com/KaneCheshire/ShowTime#installation-swift-3
from showtime.
Awesome thanks for checking!
from showtime.
Related Issues (20)
- Show taps in a SFSafariViewController HOT 4
- Option to automatically set fill colour to 50% alpha of stroke colour HOT 1
- Support Swift 4.2
- How to check whether user wear watch or not? HOT 1
- Support SPM HOT 4
- is it possible to get location touch data (coordinates)? HOT 2
- iOS 13.4 support HOT 2
- Support iPadOS pointers HOT 1
- Support showing hardware keyboard events
- Feature Request: Automatic mode
- 'IPHONEOS_DEPLOYMENT_TARGET' is set to 8.2 — please upgrade to at least 9.0 HOT 6
- Use GitHub Actions for running tests
- Release latest version to Cocoapods
- Where do I change the settings? HOT 5
- Disabled ShowTime should not slow down the app HOT 2
- Crash on iOS 16.1 HOT 4
- "Reference to class property 'enabled' is not concurrency-safe because it involves shared mutable state" with Strict Concurrency Checking = Complete HOT 6
- extension UIWindow and use swizzling HOT 1
- Yubikey5ci IOS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from showtime.