iOS Development is easy with XCode, Swift3, UITableView, cocatouch, let's build iPhone, iPad and Macbook Applications.
More than one RKObjectManager at a time (RestKit)
I am testing out RestKit and need to access different BaseUrls and also sometimes access a web service with the same baseUrl from different places “at once”, lastly I also need to access the same baseUrl with different ressourcePaths in the same controller. In my app delegate I set up the RKObjectManager singleton like this. […]
Creating UIImage with renderingMode in Swift
In objectiveC I would do this UIImage *image = [[UIImage imageNamed:@”myImage.png”] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; but in Swift I have tried all alternatives like this, without success var image : UIImage = UIImage(named:”myImage.png”).imageWithRenderingMode(renderingMode: AlwaysOriginal) It shows an error: use of unresolved identifier ‘AlwaysOriginal’ How do I do that?
Xcode 4.3's 'estimated app store size' is considerably different than .ipa file, why?
I had been using Xcode 4.2 up till last week and I was using the size of my .ipa file to estimate the size of my app in the app store (I’ve kept it just under 20MB) and its been pretty consistent. I upgraded to Xcode 4.3 2 days ago and it has a new […]
iOS 7 change pushviewcontroller animation direction
When i push a viewcontroller the animation is always from right to left. I want to change that animation to the inverse left to right. I have tried this code but doesnt work. The animation is still from right to left. How can i achive this simply and correctly? Need help please. Thanks in advance. […]
UIKit drawing is thread safe: how do you get a graphics context?
So, as mentioned in this answer and in the iOS 4.0 release notes, UIKit now has some thread-safe drawing facilities: Drawing to a graphics context in UIKit is now thread-safe. Specifically: The routines used to access and manipulate the graphics context can now correctly handle contexts residing on different threads. String and image drawing is […]
Is it possible to add a border style to a UITableView? (Not BorderColor/BorderWidth)
Is it possible to add a border style to a UITableView? Not just bordercolor and borderwidth. For example a grooved border style?
What's the right way to parse an ISO8601 date in cocoa?
I would like to parse ISO8601 dates in Cocoa, both for iOS 4+ and OSX 10.6+ There are a few questions about this on StackOverflow already, but in my opinion none of them contain good answers. Here’s what I think constitutes a good answer: The answer should point to code with support for ISO8601. This […]
iOS: Custom keyboard: I want to send images to the textDocumentProxy(Input controls)
I am implementing custom keyboard with only images and wanted to send images to textDocumentProxy/input controls like textview on click of image but not get over it. so far I am able to send text/string to input controls but not images. Is it possible to send images to input controls? Any suggestion or solution is […]
UIWebView changes contentSize on iOS 7 after coming back from background
The Problem: I have a UIWebView between my UINavigationBar and UITabBar. On iOS 7, when the app enters background and comes back again, it seems as if the contentSize property of the UIWebView changes so that there is a white block above it. After monitoring the contentSize of the UIWebView, when the application enters foreground […]