如何让我快速圈出画面?
我的ViewController:
import UIKit
import Foundation
class FriendsViewController : UIViewController{
@IBOutlet weak var profilPicture: UIImageView!
override func viewDidLoad() {
super.viewDidLoad()
profilPicture = UIImageView(frame: CGRectMake(0, 0, 100, 100))
}
}
Run Code Online (Sandbox Code Playgroud)
我profilPicture = UIImageView(frame: CGRectMake(0, 0, 100, 100))什么都不做..
例如:http://www.appcoda.com/ios-programming-circular-image-calayer/
我想在视图之间更改动画.目前我有PageCurl但我希望有一个像Snapchat这样的Scroll动画.
我不能用 var transitionStyle: UIPageViewControllerTransitionStyle { get }

我的ViewController:
import UIKit
class ViewController: UIPageViewController, UIPageViewControllerDataSource{
let pageViewController = UIPageViewController(transitionStyle: .Scroll, navigationOrientation: .Horizontal, options: nil)
var messagesViewController : MessagesViewController!
var searchViewController : SearchViewController!
var friendsViewController : FriendsViewController!
override func viewDidLoad() {
super.viewDidLoad()
// set UIPageViewControllerDataSource
self.dataSource = self
// Reference all of the view controllers on the storyboard
self.messagesViewController = self.storyboard?.instantiateViewControllerWithIdentifier("messagesViewController") as? MessagesViewController
self.messagesViewController.title = "Messages"
self.searchViewController = self.storyboard?.instantiateViewControllerWithIdentifier("searchViewController") as? SearchViewController
self.searchViewController.title = "Search"
self.friendsViewController = self.storyboard?.instantiateViewControllerWithIdentifier("friendsViewController") as? FriendsViewController
self.friendsViewController.title = …Run Code Online (Sandbox Code Playgroud) 我怎样才能UITableView在帖子上做出像这样的图片?
我想复制这个Flat Effect,项目之间有空格.
想要的结果:

我有:
