Friday, 20 February 2009

If you're creating an iPhone app and want to use the CoreGraphics framework (and you're having trouble finding it anywhere), it seems to be located in:/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/System/Library/Frameworks/CoreGraphics.framework(See: http://forums.pragprog.com/forums/83/topics/1032)

You can also try this (and check to make sure it's set as a target):

- expand Targets in Xcode- double click on you app- select general tab- in the bottom left corner click "+"- scroll through the list and select "CoreGraphics.framework"

Friday, 6 February 2009

Here are my notes regarding creating a flex project in IntelliJ and configuring it to work with FlexUnit:

- Create a new Flex project, give it a name and uncheck 'create html wrapper' and 'Create HelloWorld form'

- Create a bin folder in your project and place FlexUnit.swc in /bin

- Go to module settings > Modules > Dependencies and select 'Add' (I opted for Single-Entry Module Library). Browse to the FlexUnit.swc in the bin folder and check the 'Export' checkbox when it appears in the list.

compiler-config.xml should look like this:

And in the /src folder, you'll need to create a file called TestRunner.mxml:

Right click and Run (or use Shift + F10). If all is good, you should see an empty FlexUnit shell.