Questions tagged uistoryboard

Explore the latest questions and answers asked by our top developers.

Fix warning: Failed to set (lineColor) user defined inspected property on (Project.UnderlinedTextField)

I keep getting this warning: 2020-08-22 17:33:31.484454-0500 bob-app-ios[95799:7064579] Failed to set (lineColor) user defined inspected property on (projectName.UnderlinedTextField): [<projectName.UnderlinedTextField 0x7fbca5084e00> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key lineColor. When running my project in a simulator, this is my UnderlinedTextField class: import UIKit class UnderlinedTextField: UITextField { var isWriting = false let […]

By Frakcool
Published
Categorised as ios, swift, uistoryboard, uitextfield

What’s the purpose of many ids in an iOS launch storyboard that just displays a simple centered image?

I have this code for an iOS launch storyboard: <?xml version=”1.0″ encoding=”UTF-8″ standalone=”no”?> <document type=”com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB” version=”3.0″ toolsVersion=”15505″ targetRuntime=”iOS.CocoaTouch” propertyAccessControl=”none” useAutolayout=”YES” launchScreen=”YES” useTraitCollections=”YES” colorMatched=”YES” initialViewController=”01J-lp-oVM”> <device id=”retina5_5″ orientation=”portrait” appearance=”light”/> <dependencies> <plugIn identifier=”com.apple.InterfaceBuilder.IBCocoaTouchPlugin” version=”15509″/> <capability name=”documents saved in the Xcode 8 format” minToolsVersion=”8.0″/> </dependencies> <scenes> <!–View Controller–> <scene sceneID=”EHf-IW-A2E”> <objects> <viewController id=”01J-lp-oVM” sceneMemberID=”viewController”> <layoutGuides> <viewControllerLayoutGuide type=”top” id=”Llm-lL-Icb”/> […]

By Alan2
Published
Categorised as ios, uistoryboard, xcode, xcode-storyboard

Check if you can use unwind segue before using a push segue

In a navigation using segues, from the root controller we can push controller A or B. From A we can push C which can push B which later can unwind to A to restart the process. From B we can push A which can push C which later can unwind to B to restart the […]

By Nextorlg
Published
Categorised as ios, segue, storyboard, uistoryboard, uistoryboardsegue

Using @IBSegueAction with UINavigationController

Note: This is a minimal example to illustrate the problem – how to pass parameters when initialising a view controller contained in a modal UINavigationController using an IBSegueAction. I’m aware that this isn’t how you would normally present a detail view. I have the following setup… A list of people in a UITableViewController. Tapping on […]

By Ashley Mills
Published
Categorised as ibsegueaction, ios, swift, uistoryboard

Perform segue loses Navigation Controller

I have a Show type UiStoryboardSegue with abSegue identifier. It navigates from UIViewController A to B. In the entire application I use custom UINavigationController which works perfectly fine, but here it doesn’t. Using self.performSegue(id: “abSegue”, sender: self) causes loss of the UINavigationController, but using let controller = UIStoryboard(name: “Storyboard”, bundle: bundle).instantiateViewController(withIdentifier: “B”) navigationController?.pushViewController(controller) works fine […]

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq