not yet, just the one class... i assume to use it in other classes i would simply import the class that has the static definition... just don't know how to write the static definition.
On Fri, Jun 12, 2009 at 6:41 AM, Arie Pieter Cammeraat<cocoa-...@yaranga.nl> wrote: > do you also use it across several classes? > > > Op 12-jun-2009, om 12:36 heeft Chunk 1978 het volgende geschreven: > >> maybe this coffee hasn't kicked in yet and undoubtedly there is a >> simple solution, but i'm trying unsuccessfully to refactor some code, >> and i'd like to set the following as a static or define instead of >> having it written several times in several methods >> >> -=-=-=- >> CGRect fullScreenRect = [[UIScreen mainScreen] bounds]; >> -=-=-=- >> >> how can i do that? >> _______________________________________________ >> >> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) >> >> Please do not post admin requests or moderator comments to the list. >> Contact the moderators at cocoa-dev-admins(at)lists.apple.com >> >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/cocoa-dev/cocoa-dev%40yaranga.nl >> >> This email sent to cocoa-...@yaranga.nl > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com