for(UIButton *keyButton in self.view keyboardView){

Im trying to set up the variable keybutton to allow me to retrieve all my buttons in the keyboard view. I don't know how to write it though. another form of this initializaiton is with an NSArray: for(UIButton *keyButton in self.KeyBoardButtons){

The NSSArray (keyboardButtons) works, so how can i replace that to return the buttons in a UIView.


I finally figured it out.

    for(UIButton *keyButton in keyboardView.subviews){

I hope this helps people and i don't get down-voted for the post, because i really couldn't find it with any searching.

Solved with trial and error.

Need Your Help

AsyncDisplayKit invalidateCalculatedSize Swift not working

ios xcode swift asyncdisplaykit

I have an AsyncDisplayNode from Facebook's AsyncDisplayKit framework. When there is a data change in my app, the content of that cell may need to be changed, and I want to signal that change by cal...

Can I use temporary value in sql query

mysql sql

Can I write somthing like this in query?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.