iOS framework/bundle with replaceable assets -


i trying make ios framework basic ui-controls. want users re-skin theme of controls therefore loading assets, storyboards , xibb files asset bundle.

i using image.xcassets assets. bundle generation changes assets.car

i want assets replaceable within bundle users re-skin. proper way achieve that?

resources / images assets added app bundle. cannot add in bundle framework @ runtime ( user cannot change skin bundle )

you can achieve 2 ways

  1. at launch, check whether image files exist in documents directory. if not, copy bundle images document folder.

  2. check name of images why loading bundle after check local / documents folder same copy of image , use new skin of user wish .


Comments

Popular posts from this blog

javascript - Laravel datatable invalid JSON response -

java - Exception in thread "main" org.springframework.context.ApplicationContextException: Unable to start embedded container; -

sql server 2008 - My Sql Code Get An Error Of Msg 245, Level 16, State 1, Line 1 Conversion failed when converting the varchar value '8:45 AM' to data type int -