ios  demo  for swift