Mobile Developer's blog

Random thoughs related to mobile technology

UIViews From Xib Files

During my last project, there was a need to load UIView classes from xib files. It’s pretty simple with the following method which takes two arguments: the xib name (without xib extension) and the Class of the UIView subclass.

After emedding the snippet, just create a new subclass of UIView class and a xib file with a view. Then, just type in your custom class just like in the picture and connect outlets and actions you declared in the class.

Cracow-mobi

That was sure a very busy weekend. I had an opportunity to participate as a speaker in Cracow.mobi conference. The subject of my talk was Data Persistance in iOS. I tried to make it attractive both for beginners by starting the presentation with NSUserDefaults and not to bore some experienced folks with diving into Core Data and iCloud. The whole presentation is available for you to download from slideshare @ slidesha.re/vGHDza. All the code samples are also available in GitHub (links in the last slide of the presentation).

I’d like to thank the organizers for such an awesome event. I met a lot of interesting people and got a chance to listen to interesting topics from other speakers. It’s good that there is more buzz around mobile topics lately in Poland.

Hello

Hello!

Looks like my blog is back to life after technical problems. I’ll try to do some regular posting as my timetable allows