Search results for

xcode github

94,043 results found

Post

Replies

Boosts

Views

Activity

Reply to apply strike through on Special character Rp‎ 4.752.000
Tested on the Playground of Xcode 8.3.3.import UIKit let oldpricenameLabel = UILabel(frame: CGRect(x: 0, y: 0, width: 320, height: 120)) let productView = UIView(frame: CGRect(x: 0, y: 0, width: 320, height: 120)) let decodedString = Rp 514.800 var style = [NSStrikethroughStyleAttributeName: 2] let attributeString = NSMutableAttributedString(string: decodedString, attributes: style) oldpricenameLabel.attributedText = attributeString oldpricenameLabel.backgroundColor = UIColor.yellow productView.addSubview(oldpricenameLabel)With Quick Look into `productView`, I get something like this:Rp 514.800Seems this code acutally works.Please show enough code to reproduce your issue. I believe you can try with your Playground.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’17
Reply to Redeem Code
If you're running beta versions of OS X, like 10.10.4, it won't work.Try redeeming the code in a stable version of OS X and then pause the download there. Once it is redeemed, you can download it from any OS X versions in the App Store > Purchased.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to CMake duplicate symbol '_main' when building Swift/CPP interop. Why?
Solution found. Somehow it was related to Ninja, but can't say why it's not working with Ninja that is default for Qt environment. When changed to Xcode - everything works fine for me. There are published by me example that is working with CMake/Xcode compilation under Qt Creator. This example oriented on building Swift modules for MacOS/iOS environment only. If you need to build Swift project for the Linux or Windows follow this example from Apple repository on Github
Nov ’24
Reply to iOS 16 crash
Look at this,hope it helps you - https://developer.apple.com/forums/thread/711820?answerId=745458022#745458022 Using a UITouch category to filter the deallocating object. - (BOOL)_wantsForwardingFromResponder: toNextResponder: withEvent: Github: https://github.com/SnowGirls/Objc-Deallocating . Just Drag the ObjcUtil.h/m and UITouch+FixCrashOnInputKeyboard.h/m into your Xcode project.
Topic: UI Frameworks SubTopic: UIKit Tags:
Feb ’23
Reply to UIButton extension method not called
So I had another look this morning. Running the app from Xcode 11.5 (11E608c) in an iPhone 11 iOS 13.4 simulator, the method in the extension is not called. However, if I terminate the app from Xcode (via the Stop button) and then relaunch it myself directly in the simulator the extension method is called. The same happens with an iPhone 11 iOS 13.5 simulator. On an iPhone 11 iOS 13.3 simulator it works in either case, whether it is launched from Xcode or not. I'll toss an example project on Github.
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’20
Reply to Does Universal Links work with unsigned apple-app-site-association JSON?
After seeing the device log, I found out that the first launch of the app will download apple-app-site-association JSON file from HTTPS domain, not HTTP.So that is the problem.I am using GitHub pages for testing with HTTPS domain.But the next problem I am facing is that iOS does not download the JSON file from GitHub page without www prefix (GitHub only provide https://hieuth.github.io/ not https://www.hieuth.github.io/)
Topic: App & System Services SubTopic: Core OS Tags:
Aug ’15