Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Diary App Using Core Data Custom UITableViewCell UIAppearance to Customize the Navigation Bar

Willie Oeschger
Willie Oeschger
3,776 Points

Create a local variable called appearance and assign it the appearance proxy of a UINavigationBar.

Hi could I please have some assistance with this. Here is the code that I am trying to implement.

UINavigationBar *apperance = [UINavigationBar appearance];

2 Answers

Lachlan Mitchell
Lachlan Mitchell
9,278 Points

Simple fix, you spelt appearance wrong :p

UINavigationBar *appearance = [UINavigationBar appearance];
Willie Oeschger
Willie Oeschger
3,776 Points

Well now I feel dumb hahaha. Thanks this fixed the issue. Sorry English is my second language haha

Lachlan Mitchell
Lachlan Mitchell
9,278 Points

Haha, that's okay! It happens to everyone!