Featured post

c# - Usage of Server Side Controls in MVC Frame work -

i using asp.net 4.0 , mvc 2.0 web application. project requiremrnt have use server side control in application not possibl in noraml case. ideally want use adrotator control , datalist control. i saw few samples , references in codepleax mvc controllib howwver found less useful. can tell how utilize theese controls in asp.net application along mvc. note: please provide functionalities related adrotator , datalist controls not equivalent functionalities thanks in advace. mvc pages not use normal .net solution makes use of normal .net components impossible. a normal .net page use event driven solution call different methods service side mvc use actions , view completly different way handle things. also, mvc not use viewstate normal .net controlls require. found article discussing mixing of normal .net , mvc.

iphone - Using resources with the same name in Xcode -


is there way add multiple resources same name xcode project , have 1 of them take priority on others?

example: added 2 files, both called icon.png, xcode project. on different folders in file system (folder1/icon.png , folder2/icon.png) , on different groups in xcode. there way tell xcode have folder2/icon.png take priority on folder1/icon.png? , if 1 icon.png exists, use one.

thanks.

edit (2010-12-23):

you can have multiple files same name in xcode project if not in separate folder references, in separate groups. once compiled, app bundle (which flat no folders in it), have 1 copy of file (icon.png). how pick copy of file use?

i told can blackberry. works this: compiler go down list of files in project , start adding them app bundle. if sees duplicate, overwrite (or not), files @ bottom (or @ top) have higher precedence , final bundle.

this can better solved using folders within resource bundle in xcode project. take here: http://developer.apple.com/library/mac/#documentation/corefoundation/conceptual/cfbundles/introduction/introduction.html


Comments

Popular posts from this blog

c# - Usage of Server Side Controls in MVC Frame work -

cocoa - Nesting arrays into NSDictionary object (Objective-C) -

ios - Very simple iPhone App crashes on UILabel settext -