Is there a way to add custom fonts to Xcode to be available from a storyboard?
You can find the answer to this question over here
Designing labels/text views with custom fonts in Interface Builder
You can find a link regarding the same topic here
http://www.abdus.me/ios-programming-tips/set-custom-fonts-in-interface-builder/
Hope this helps you.
Alex Stone
When people asked me what I wanted to do for work 10 years ago, I did not know too well, so I just said "Something to do with computers". As I look at the last 10 years, I see that I did quite a lot of work all kinds of computers. From fiddling with microcontrollers and assembler code to writing data processing scripts to physically assembling computer consoles. The big step forward came when I learned to think about software in a structured, object-oriented way, as this allowed me to make software do things that I want it to do. Right now I'm proficient in two high level programming languages - Objective-C and Java and have touched just about every framework available for iOS. I've also became a hacker/maker and have completed a number of projects involving software and hardware. Right now I'm in my early 30s and when I ask myself "What would I like to do in the next 10 years?", my answer is "something with the human brain". The seeds are already there - I've picked up an interest in biology, cognitive science and neuroscience, enough to converse with real people. I've done first-hand research into sleep and made discoveries. I've taken classes in synthetic biology, performing manipulations on the bacteria genome. I've learned a lot about the neurotransmitter systems of the human brain, as well as how a biological organism develops. It seems like there are a lot of similarities between the object-oriented concepts I use in the daily programming tasks and how biological organisms operate. This makes me hopeful that by the time I'm in my late 30s, I would be able to work and program some form of biological computer or just plain hack the human brain.
Updated on November 24, 2022Comments
-
Alex Stone over 1 year
I know how to add custom font files to be shipped with an iOS app. I can then customize the label font from code using code like this :
UIFont* font = [UIFont fontWithName:@"League Gothic" size:42]; self.topLabel.font = font;
My concern is that such customization will "infect" all of the project and may require some significant rework later on. Is there a way to include a font file into xCode itself, so it recognizes it and lets me select it from the storyboard font control?
-
Adil Malik about 10 yearsAlex, did you find a solution or you ended up applying font programmatically?
-
Jayprakash Dubey over 9 yearsCheck this link if helps : jayprakashdubey.blogspot.in/2014/08/…
-
-
Alex Stone almost 11 yearsThanks, this looks promising!
-
Rajat almost 11 years@AlexStone u r welcome :)