Coding Explorer Blog

Exploring how to code for iOS in Swift and Objective-C

  • Home
  • Apps
  • About
  • Contact

Archives for June 2014

MFMailComposeViewController – Send email in your apps

Last updated on August 6, 2014

Have you wanted to send an e-mail from your app and pre-populate the fields like the recipient, subject, or body text?  Apple made it pretty easy with MFMailComposeViewController.  There is a bit of setup, but most of its actual implementation is pretty easy.

[Read more…]

Filed Under: Objective-C

Replace Keyboard with UIDatePicker

Last updated on August 6, 2014

I thought I might write a smaller post today.  This is something I needed to do in one of my apps, and thought I would share a bit of how it is done.  The actual action to take here is pretty easy and short, but I will discuss a few other things I learned while doing it. [Read more…]

Filed Under: Objective-C

Getting started with NSNotificationCenter

Last updated on August 6, 2014

Have you ever wanted to alert other classes of your app of some event from another one?

Sure, you could have your class poll the other one and keep asking if something has changed, but that seems to be wasteful, since in many cases, there usually won’t be.  You could even not bother with polling, and just read it back in all the time, but if there has been no change, that again is wasteful of processing time, power, etc.  To avoid these issues, I have found that  NSNotification Center is a great answer to this problem.  You can just have your class subscribe to the Notification, and then when it alerts your class that there has actually been an event you’ve been waiting for, you THEN can call that class and read in what is necessary, or react appropriately.

[Read more…]

Filed Under: Class Reference, Objective-C

WWDC 2014 Reactions and the Swift direction of this Blog

Last updated on August 6, 2014

So, to be perfectly honest, I was not expecting anything groundbreaking at this years WWDC.  I thought there would be iOS 8, which would have a few new features, but not TOO much.  I mean, after iOS 7, there should definitely be some cool-down time before anymore big changes to the OS.  I also thought they would probably talk about OSX 10.10, and there would be a few new features too.  Not that I was expecting Apple to be lazy this year, but you can’t make something groundbreaking and amazing every single year.

[Read more…]

Filed Under: General Tagged With: Swift

Subscribe to the Coding Explorer Newsletter

* indicates required

Follow Us

Facebooktwitterrss

Recent Posts

  • Error Handling in Swift
  • Creating and Modifying a URL in your Swift App
  • Watch Connectivity in Swift — Application Context
  • watchOS Hello World App in Swift
  • API Availability Checking in Swift

Categories

  • Class Reference
  • General
  • Interface Builder
  • My Apps
  • Objective-C
  • Swift
  • Syntax
  • Tutorial
  • Uncategorized

Archives

  • May 2016
  • March 2016
  • February 2016
  • December 2015
  • July 2015
  • June 2015
  • April 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • January 2014
  • November 2013
  • September 2013
  • August 2013
  • July 2013
  • Terms Of Use
  • Privacy Policy
  • Affiliate Disclaimer

Subscribe to the Coding Explorer Newsletter

* indicates required

Copyright © 2025 Wayne Media LLC · Powered by Genesis Framework · WordPress