Adium Plugin assistance

Bob Tanner tanner at real-time.com
Tue Nov 20 23:10:47 UTC 2012


On 2012-09-08 04:52:58 +0000, Bob Tanner said:

> Followed http://trac.adium.im/wiki/CreatingPlugins to get a bare bones 
> plugin compiled.

Making progress. I started working a top-down approach. Got most of the 
UI stuff done and functional. But I got to the network stuff and 
realized my old-school  C code and found out it wasn't 64-bit clean and 
OSX does threads but the future is GCD?

I started with a threaded socket library but then found reference to 
the "future" and GCD. So like my introduction to ARC is GCD the future?

I have to network projects now. One is a threaded project and the other 
is a CGD project. Just looking for advise on which project to continue 
putting work into (threaded or GCD)?

And I have an architectural question.

I have 2 projects. The AdmiumPlugin project and my network project. I'd 
like to keep them seperate and I want to rev the network project 
independent of the plugin project is this where I need to learn about 
Frameworks? As in, change my network project into a network Framework?

I just want to make sure Frameworks are a good fit to code that is 
still evolving so I'm not tripping over things in development like 
tends to happen with shared libraries in linux and the mess it is to 
create them.

I'm also looking for HOW to take a normal project and make it into a 
Framework. My GoogleFu shows lots of tutorials on how to make a 
Framework but not how to convert an existing project to a Framework. 
Maybe Framework and cut-n-paste code?

I might not completely understand everything but I thought I'd post my 
questions so I can start down the right path.

Thanks.

-- 
Bob Tanner <basic at us.netrek.org>          
Key fingerprint = 9906 320A 8BB6 64AD 96A7  7785 CBFB 10BF 568B F98C






More information about the devel mailing list