Best way to learn is by example, at least for some people. Haven't checked these myself, but like the idea: 35 open source application.
ManiacDev.Com: 35 Open Source iPhone App Store Apps – Updated With 10 New Apps!
Looking at titles and descriptions, there are several I wish to check later. Might even use a few!
Showing posts with label source. Show all posts
Showing posts with label source. Show all posts
Monday, June 14, 2010
Monday, June 7, 2010
How to Make Instruments Show Your Own Code
Debugging memory leaks with Instruments. Great tool, but would be more useful, if I could see there references to my code.
Turned out it's a known iPhone OS 3.0 defect, almost two years old! No idea why it hasn't been fixed by Apple. Maybe old SDKs are not supported on purpose, which does make some business sense.
How to fix: Go to your Xcode project, select project info, go to Build tab and search Base SDK. Change your project Base SDK to 3.1. I had there 3.0, which seems to be a known defect.
Turned out it's a known iPhone OS 3.0 defect, almost two years old! No idea why it hasn't been fixed by Apple. Maybe old SDKs are not supported on purpose, which does make some business sense.
How to fix: Go to your Xcode project, select project info, go to Build tab and search Base SDK. Change your project Base SDK to 3.1. I had there 3.0, which seems to be a known defect.
- Build - Clean All Targets - select all - Clean
- Build - Build and Analyze
- Run - Run with Performance Tool - Leaks
- Stop
- Open popup item with application name - Launch Executable - Choose Executable
- Browse to your Build directory and select your application
- Record (the red Dot button)
Labels:
code,
debug,
Instruments,
iphone,
memory leak,
simulator,
source,
Xcode
Tuesday, January 26, 2010
How to Show Source Code in Blogger
Amazing, but Blogger still doesn't seem to support presenting source code as-is. There are several tips how to do it yourself, for example "Adding Syntax Highlighting to Blogger" by Heisencoder. Unfortunately none of these ways are very simple.
For now I'll settle for non syntax colored plain code lines. I'll use "HTML-encode a String Online" tool to start with.
Good enough, right ROI.
For now I'll settle for non syntax colored plain code lines. I'll use "HTML-encode a String Online" tool to start with.
Good enough, right ROI.
Subscribe to:
Posts (Atom)