• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Bindings in Swift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bindings in Swift


  • Subject: Bindings in Swift
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Sat, 09 Aug 2014 23:48:16 +0700

Are bindings supposed to work in Swift?

I have:
	var status : String?	//	bound to TextField
but when I do:
	status = "something"
nothing is shown in my window.

And when I write something into the TextField and query it in my app I just get nil.

But when I change it to:
	var statusXXX : String?	//	bound to TextField
or:
	private var status : String?	//	bound to TextField
the app crashes.
So in some respect the bindings are active.

Xcode 6 beta 5.


Gerriet.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Prev by Date: Re: Xcode 5.1.1 and Xcode 3.2.6 on OS X 10.9.4
  • Next by Date: Weird storyboard connection issue
  • Previous by thread: Re: Xcode 5.1.1 and Xcode 3.2.6 on OS X 10.9.4
  • Next by thread: Weird storyboard connection issue
  • Index(es):
    • Date
    • Thread