Imagine that you need to add a file in your XCode project the first time that you build the app.
For instance, you have a configuration file, in Swift, that you want to compile and embed in your app (instead of using a PLIST file that is in CLEAR…) during the build phase and of course use in your project.
Continue reading “XCode – Add a file in project at build time”
what I want to share is an ordered and readable Podfile.
The Podfile is a specification that describes the dependencies of the targets of one or more Xcode projects.
Continue reading “XCode ‐ Podfile with categories and multiple targets”
Everyone that use XCode knows that to run the app in a different device, you need to select one from list, launch and wait the device to boot…
Well, it’s a mess. I hate a lot this feature.
So, today a trick to run all of your simulators and from XCode select the rigth one without wait the boot and debug the app… simultaneously!
It’s a great trick. Tried with XCode 7.
Continue reading “XCode – launch multiple simulators”
Editor’s note: If you’ve downloaded the Xcode 6 beta and played around with it, one thing you may notice is the change of Interface Builder. The default view controller is now wider and doesn’t look like an iPhone 5. When you position a button in the center of the view and run the app, it doesn’t look good. The button is not centered properly.
Continue reading “[Xcode] – Introduction to Auto Layout”
APRoundedButton is a simple XIB/Storyboard extension to make rounded custom buttons, without writing one line of code!
How to use
Continue reading “[ObjC] UIButton with rounded corners”
A collection of useful Xcode debugging technique, using Breakpoints and LLDBdebugger.
Continue reading “Xcode – power of breakpoints”
Your project minimum iOS version is 5.0.
You are using SDK 6.1 and want to know if some method or some classes used in project are unavailable for iOS < 6.1?
Since Xcode don’t warn about it… here a trick to warn by yourself!
Continue reading “[Xcode] Warn about new API Classes and Methods”
Today a genial idea made by ksuther.
It’s an Xcode plugin to show via code, the list of the all images in your project, with the preview!
Continue reading “[XCode] – Autocomplete image name / preview”
You want to remove the whitespaces at the end of the rows in your code?
Continue reading “[Xcode] Trailing whitespaces”