iOS Development is easy with XCode, Swift3, UITableView, cocatouch, let's build iPhone, iPad and Macbook Applications.

Code Signing Resource Rules Path fails on Jenkins, CODE_SIGN_RESOURCE_RULES_PATH

I am little concerned about how people treat the following issue. Basically it sounds like “Build fails on Jenkins with the ResourceRules.plist: cannot read resources“ My circumstances are: 1) Jenkins 2) Locally I work in Xcode 7 beta (on a separate branch) 3) My teammates work in 6.4.1 and for them everything works fine 4) […]

Twitter / Fabric login button only working once

I’m using, with success the Fabric Login button (TWTRLogInButton, https://dev.twitter.com/twitter-kit/ios-reference/twtrloginbutton). In my Swift app I can authenticate myself, make calls and all. The only problem is that i’ve implemented a “Logout” button that calls Twitter.logOut(). As specified by the documentation (https://dev.twitter.com/twitter-kit/ios-reference/twitter) this deletes the local session but does not invalidate the remote session. The effect […]

swift delegate beetween two view controller without segue

My delegate protocol never called My first controller – ViewController class ViewController: UIViewController,testProtocol { @IBAction func btInit(sender: AnyObject) { println(“Bt Init”) let storyBoard : UIStoryboard = UIStoryboard(name: “Main”, bundle: nil) let initViewController: UIViewController = storyBoard.instantiateViewControllerWithIdentifier(“viewTarget”) as targetViewController self.presentViewController(initViewController,animated: false, nil) } var targetController = targetViewController(); override func viewDidLoad() { super.viewDidLoad() self.targetController.delegate = self } override […]

How to access both Objective-C and Swift classes from same storyboard?

I have implemented one UIButton-derived class (RoundButton) in Swift and the rest is still in Objective-C. How do I access both Objective-C-based classes and Swift-based classes in the same storyboard? You can type RoundButton in a UIButton Custom Class – Class field in a Storyboard, but iOS gives the following warning runtime: Unknown class RoundButton […]

Objective-C Simple way to take a photo without a camera interface. Just get a picture from camera and save to a file

I can’t find a simple way of taking a photo without a camera interface. I just need to get a picture from the camera and save it to a file.

NSRangeException', reason: '*** -: index 5 beyond bounds for empty array'

in my application when i run app for first time,it work ok.but when i run again 2 two times, it crashes. This is the error.. NSRangeException’, reason: ‘*** -[__NSArrayM objectAtIndex:]: index 5 beyond bounds for empty array’

Use of beginAnimations discouraged

I was informed recently by meronix that use of beginAnimations is discouraged. Reading through the UIView class reference I see that this is indeed true – according to the Apple class ref: Use of this method is discouraged in iOS 4.0 and later. You should use the block-based animation methods to specify your animations instead. […]

Bring App to foreground

Is there a way to bring my app to the foreground once a timer runs out? This is for a kiosk-type app that’ll display some information at various points during user’s session. This is for an app that will only be installed on our enterprise devices, thus not be submitted to Apple for approval. I […]

Apple Testfiight App Submission Can't Click Next

I submitted my TestFlight build, and not I’m trying to select it for external testing. I’ve done this with the prior beta version, and with several other apps. The problem is I can’t click the Next button. All the fields are clearly populated. Also of note, when this happened yesterday there were Support and Marketing […]

Communication between two applications

Is it possible to communicate between two different applications, one running in background and the other in foreground? If yes, can anyone suggest how?