BetaDesigns( Blog ) Flex and Component Development

23Dec/110

Getting Static Libraries to link correctly in XCode workspaces

I just answered a question on StackOverflow about how to fix dependency issues in xcode workspaces when linking static libraries. This is just a post to remind myself.

StackOverflow Post

On A side note if the files within the library are only to be used in Storyboards then you need to explicitly reference them otherwise the compiler will remove them and you will get Run time errors.

The easiest way to do this is to create a Class with the same name as the library and each file you want to force for inclusion you should do the following.

 
 
-(id) init
{
    [CustomClass1 class];
    [CustomClass2 class];
    etc....
}
 

Then inside your main application

 
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
    //Force inclusion of files.
    [CustomLibrary class];
    return YES;
}
 
2Feb/110

大家新年快乐 Happy New Year Everyone!

Well it's that time of year again Chinese New Year! It's the year of the RABBIT
2011 Rabbit and i'm off back to China to visit the in laws for a couple of weeks Macbook under my arm and some good Playbook / iOS ideas brewing in my head.
Happy New Year

30Dec/090

Installing Japanese, Chinese or even Korean on UK Blackberry

Just in case anyone was having as much trouble as me installing one of the above languages onto their UK Blackberry I thought i would post this very useful link.

http://www.blackberryforums.com/general-8300-series-discussion-curve/151613-cjk-support-os-4-5-a.html

16Oct/091

Binary Clock

I have been looking into bits, bytes and bit shifting a lot recently so I thought I would quickly make a small binary clock to help burn it into my mind. In addition it also gave me the chance to experiment with the spark skinning. Below is the result. Not pretty I know but thats what the skinning is for.

Get Adobe Flash player

Full source

24Jun/082

Application Version Control in AS3

I thought that I would just write a quick note on how I know which version of an application I am looking at when it has been published to the web. It's all well and good saying its revision 87 from svn but how do you know? Well a simple way is to add it to the Flashplayers custom context menu. Right click to see the custom menu and to view the source

30May/080

Building 3D websites in Flash

Yesterday the powers that be decided to send me on a course by Rob Bateman all about building 3D websites. I had the opportunity to meet Rob on Tuesday at the PokerCoder event held by Adobe. As some of you may or may not know I have previously worked on projects using Papervision3D in the past, However I haven't really had the chance to pick it up in the last couple of months since starting at LBi so I was looking forward to getting back into it. The most interesting part for me was the introduction of Away3D I hadn't heard of this engine before and I was very impressed with it. In addition Rob did a great job with explaining the way in which 3D environments work in ActionScript. In addition this was all backed up by 36 example applications!

21May/080

二百日の後、日本語の能力試験ですね!

週末以外毎日、古い試験紙をできるつもりです!ここ点とパーセントを書いています。

19May/080

おはよう皆さん、

今年、二級日本語能力試験を出来たいから、毎週、日本語でブログを書いてつもりです。僕は日本語で上手じゃないから、練習したいですね。頑張りましょう。二百一日の後、試験の日です。

18May/080

New Job New Blog

I have recently taken a new job as a Flex Developer at LBi in London so i have decided to throw away the old BetaDesigns blog and start a fresh. I have been at LBi for nearly a month and a half now and i am really enjoying it, I have already had the opportunity to work with some big companies building Components and full Applications. As some of you may or may not know I am a big fan of component driven development so I am going to be using this blog to post open source components that i build along the way. Hopefully some of my post and components will be of some use to someone.