xcode 4.2+ Dismiss numberpad - iphone

I am looking for a way to dismiss the number pad in xcode 4.2. I have seen a few suggestions for xcode 3 but none of them seem to work for me. It seems silly that there is no clear/non work around way to dismiss the numberpad of a uitextview. Maybe I am just missing something but I have tried about 10 diff ways with no success. If someone could point me towards a current tutorial or share some super secret tricks that would be great thanks!

Dismissing keyboard on any text input control is simply sending resignFirstResponder message to the control. You don't control the keyboard directly.
And this is completely unrelated to XCode version.

Related

autocorrectType is not working on iOS 13 using swift

I know this is quiet simple and straight forward to disable autocorrection on iPhone and it worlds pretty much fine, but until now. Surprisingly, suggestion bar appear for text field even I have disabled it from storyboard and even programmatically.
self.textField.autocorrectionType = .no
Done that in sotoryboard as well.
But it does appear on iOS 13, not on previous versions and simulator.
There are many answers already for this one but none is working on iOS 13 so no need to mark the question as duplicate.
Cheers!
If you are using a Storyboard you can disable autocorrection on the attributes inspector (the down arrow icon) under the Text input traits. See the image below for details.

Cannot connect UIImageView with ViewController. Did they change that?

This is my first time being on this forum. It's nice to be here and i really want to thank you all for the educational lessons you are giving!
So i am suffering from this issue :
i am using Xcode 7 and i did try with the latest Xcode of yosemite(6.4 version) and it seems i cannot establish an outlet connection via the old ctrl and drag method to connect a UIImageView with the ViewController. i did search the net a bit and i found some "solutions" of doing a reference to the header file but it didn't work. Did this method got removed and if yes how are we connecting now an element with the ViewController? is something wrong with my Xcode and if yes how can i fix it?
really appreciate your help!
First of all create outlet object
than go to storyboard or xib.
right click on file's owner (yellow box on top of xib).
you get all the outlet than click on circle right side of your outlet and map with UI by dragging the line.
hope this help you.
in this method you have to create outlet manually.
So yeah i did manage to fix the issue. It appears there is a bug with swift and Xcode and i can tell it happens in all Xcode version 6 and up including Xcode 7. I don't know what exactly occurs this bug and i can't really link an element from scoreboard with ViewController via the simple ctrl drag and drop method but in order to fix i had to reimplent the tableView and reconfigure my elements. this did the trick and i was able to just ctrl drag and drop. if someone knows what occurs this issue please comment!!
thanks

SA_OAuthTwitterEngine login keyboard doesn't show after first launch

I'm using the SA_OAuthTwitterEngine to integrate Twitter into on of my iPhone apps. Loggin in and sending tweets are working fine. But, when I completely terminate my app so it will start up from the beginning, I can't login again using the SA_OAuthTwitterController because the keyboard will not show up. The input field also doesn't respond to the Mac keyboard when using the simulator.
I've searched for similar problems, but they don't help me out. I've found a lot of similar problems, where calling makeKeyAndVisible for the app delegate window solved it. This doesn't work for me. If I set the modalview's alpha to .2, I also don't see the keyboard behind the view controller.
Weirdest thing is that everything works after a fresh reinstall for as many times as I want, but after I've terminated the app, the keyboard doesn't show op anymore.
Can anyone point me in the right direction?
Thanks in advance!

SplitView like Facebook app on iPhone

I want to create an iPhone app that uses a navigation scene similar to the one pictured in the link
Please note I do not want this to only work for iPad, I want it to work for iPhone exactly as pictured, when you click on a tableview item it hides the tableview and makes that view full screen. I want ideas on how to do this because I cannot figure it out myself.
Thanks
Facebook guys have done brilliant job in the new version of the app. The similar open source code can be found from here - JTRevealSidebarDemo. Please note that as of June 2014, this project has been discontinued, so you'll probably have better luck with a project from the list below.
It reveals technique behind doing split view for iPhone.
Some other open source code:
JWSlideMenu
DDMenuController
PKRevealController
ViewDeck
ECSlidingViewController
MWFSlideNavigationViewController
MFSideMenu
SASlideMenu
HHTabListController
MTSlideViewController
MTStackViewController
MMDrawerController
DMSideMenuController
JVFloatingDrawer
How about projects with storyboard compatibility?
I found 1 more slide menu which is compatible with storyboards:
SASlideMenu
Another storyboard-compatible menu is
ECSlidingViewController
and
ViewDeck
from Sagar's answer. They both have storyboard examples (for the last one link is ViewDeckStoryboardExample)
For anyone else looking for an Android version, take a look at:
android fb like slideout navigation
emerging ui pattern side navigation
I realize you asked about facebook, but now that ios7 is out, and this is the defacto thread i thought id post here.
For an effect similar to the kindle app on ios7 you can use:
https://github.com/romaonthego/REFrostedViewController
If anyone else is looking for a way to implement this in MonoTouch now known as Xamarin.ios, take a look at this article I just found. monotouch slide out navigation
EDIT
I just found that they have a free component for this!
flyoutnavigation
I noticed no one listed this wonderful class... SWRevealController.
I use it with my project apps all the time. It's Easy to use and heavily documented... There are also a few examples John gives to the user to understand how it works or if you'd like to derive your project from... Hope this helps
SHSidebarControllerwith filder effect.
This might be helpful to you.. try this :)
This looks to be the best match for me.
PKRevealController
It has nice scroll effect with finger and moves back on partial drag.
https://github.com/pkluz/PKRevealController
MMDrawerController is very good option.
You can configure many things. try it once
https://github.com/mutualmobile/MMDrawerController
I've been working on a floating-style navigation drawer that I hope people will like. It's on GitHub, take a look.

iPhone keyboard tweak

I would reduce the time to get special characters when keeping a touch on the keyboard. Anyone has a clue?
Thanks.
(Undocumented) Override -[UIKeyboardImpl touchLongPressTimer] to call
-(void)touchLongPressTimer {
[self touchLongPressTimerWithDelay:0.5f]; // default = 1.8125f
}
I strongly doubt this is possible using the public API. You'd have a file bug with Apple to ask them to make this possible. It does however seem unlikely, as it would result in differing behavior between apps in a common control.
You could write your own keyboard control for your own app :)