Updated Swift article with functions