Suggested Posts
-
Recent Posts
Categories
Author Archives: tom
Monitoring an iPhone’s HTTPS traffic (Part 2)
Following on from last week’s blog, this will cover monitoring an iPhone’s HTTPS traffic. If you haven’t already, look at the setup from last week as it is required in order for this next part to work. Continue
Monitoring an iPhone’s HTTP traffic (Part 1)
Previously when I’ve needed to monitor web traffic from my iPhone I would use my laptop to redistribute my wifi as a 2nd network with another network card and use a tool like WireShark or Charles to monitor everything that’s being sent and received from my iPhone after I connected to the 2nd network. This was overcomplicating things, hidden in the iPhone’s settings is the ability to connect to a proxy server, meaning you can debug web traffic without the need for any 2nd networks or ethernet cables. Continue
WWDC 2012 Predictions
Apple has just announced WWDC 2012 for June 11th – 15th. I’ve been thinking a bit about what they could possibly unveil, here are my predictions of what to expect and what not to expect: Continue
Disabling document locks in OS X Lion
In OS X Lion Apple introduced the concept of document versions, the ability to go back in time on documents and view or restore a version from the past. With this they introduced a “Lock” on documents that hadn’t been changed in over a week or so and requires you to unlock the document or duplicate it and save it elsewhere. Continue
Xcode’s Analyzer (and how to prevent it)
Xcode’s “Analyzer” is normally a great way to determine where most memory leaks will occur in your project without actually running it. If you follow Apple’s Memory Management Guidelines the Analyzer is pretty accurate. By no means is it a replacement for the Profiler, but offers some quick checks. Continue
Posted in How to guides, Tutorial
Tagged analyzer, autorelease, prevent, release, restrict, retain, suppress, warning, xcode, __clang_analyzer__
Leave a comment
Monitoring all iOS touches
There are probably a dozen ways to capture and monitor touches on the iOS. Some require a lot of work, including method swizzling, or using private/undocumented APIs which might result in your application being rejected from the AppStore. Continue
Posted in How to guides, Tutorial
Tagged ios, iPad, iPhone, monitor, touches, uievent, uigesturerecognizer
Leave a comment
Mac framework headers and Xcode
When developing on the Mac and using custom frameworks in your application, when you compile the frameworks are copied into your applications bundle then linked at runtime. These frameworks will most likely be bundled up with their headers. Some of the frameworks you include may not be things you want to make public to the world, which you are essentially doing by including the headers with the framework. Continue
Stack traces in Xcode 4.1+
Since Xcode 4.1 when your application throws an exception your console just prints a list of function pointers and you don’t get a proper stack trace. This isn’t helpful if you’re trying to find the exact line the error occurred on. Continue
Posted in How to guides, Tutorial
Tagged debug, ios, iPad, iPhone, objective c, stack trace, xcode, xcode 4
1 Comment
Using a .xcconfig file
In Xcode the build settings screen can be pretty daunting for some people, especially when you start iOS/Mac development. Knowing which settings to pick can be tricky, but I still see a lot of people that do this individually for each of their projects, which makes it easy to miss crucial build parameters you don’t want to distribute your app without. Using a .xcconfig file is extremely useful for solving this problem, it is a type of file for determining build parameters, meaning you can have this file sitting in one spot and have each of your projects referencing it. If you need to make a build setting change to all your projects, you can just add it to this one file and the next time you compile each of the projects the change will be taken into account. Continue
Posted in How to guides, Tutorial
Tagged build setting, development, ios, iPad, iPhone, mac, xcconfig, xcode
Leave a comment




