Using AlertController for data input

 

Categories

Full Screen Content and EdgesForExtendedLayout in iOS 7

source: http://www.knowing.net/index.php/2013/09/18/full-screen-content-and-extendededgesforlayout-in-ios-7/ This is particularly evident with UINavigationControllers. This picture shows the difference between the default mode (UIViewController.EdgesForExtendedLayout = UIRectEdge.All) and the “iOS 6”-style (UIViewController.EdgesForExtendedLayout = UIRectEdge.None). You can see that in UIRectEdge.All mode, the current UIView‘s drawing rectangle covers the Read more ›

Categories

synch and asynch uiView image with ios9

source http://stackoverflow.com/questions/24231680/loading-image-from-url   77down voteaccepted Synchronously:

Asynchronously: Create a function to get the data from your url

Create a function to download the image (start the task)

Usage:

or as an Extension:

Categories

google map in swift now for ios

just follow the instrunctions of http://www.raywenderlich.com/109888/google-maps-ios-sdk-tutorial   and DON’T forget to add in project TARGET, in other Linker Flag the flag -ObjC also disable the bitcode from project build settings     to find my location you need this code

Read more ›

Categories

create custom cells for table view with swift

source here: https://www.weheartswift.com/swifting-around/ https://www.weheartswift.com/swifting-around/

to have the same results https://www.weheartswift.com/swifting-around/

Categories

Close keyboard

from stackoverflow  

 

Categories

hex color in swift

 

Categories

setup cocoapods

Install instructions: https://cocoapods.org/ ! Remember to restart the terminal after the install 

follow this one (CocoaPod and Facebook integration): http://www.binpress.com/tutorial/cocoapods-dependancy-management-for-xcode/139   

Categories

Facebook Open Graph

What are Custom Stories A typical story consists of four elements: an actor, action, object and your app’s name. With these elements you can publish stories like:“Hugo read Catch-22 on Goodreads”. Read the overview to learn more… Open graph offers Read more ›

Categories