Profile

Cover photo
Warren Burton
Lives in London
43,938 views
AboutPostsPhotosVideos

Stream

Warren Burton

Shared publicly  - 
 
Time with Trout
I also spent a lot of time with Trout at the WWDC Some basic bifurcated / left / right arrangements Reworking the drawing and scrolling system to be less clacky. Very exited about the force touch API in 10.11
1
Add a comment...

Warren Burton

Shared publicly  - 
 
A tutorial on how to implement UIStateRestoring in Swift
1
Add a comment...

Warren Burton

Shared publicly  - 
 
Lighter view controllers in Swift
A classic problem in Objective-C is the one of avoiding MVC . Massive View Controller that is.  Code gets copy-pasta'd into multiple view controllers and all looks a bit like this. objc.io does a great job of explaining how to slim down your view controller...
1
Add a comment...

Warren Burton

Shared publicly  - 
 
I have been working recently on DevSketch 1.3 with all the Swift things which means upgrading the Core Data model and adding support for Enums and Structs. Extensions are basically Obj-C categories so that doesn't involve extra work.

Problem is it turns out Structs aren't so different to Classes in Swift land and i'm left with a structure issue.

Currently Protocols and Classes descend from Object as they can both carry messages(functions) and properties(vars) and my initial instinct was to do the same thing for Structs. Now I'm wondering whether or not to smoosh Structs as a simple Boolean property on Class or just subclass off Class instead of Object.

Semantically I would be saying "struct is-a class" . I know this is incorrect at an official level but it does make sense from a development level.

Struct and Classes are basically equal opportunity employers at a syntax level. At runtime they are different but that's not where DevSketch lives and it would make the relationship management a lot easier. It would also give the opportunity to flip between struct and class.

Got a Foo that you have set up as a Struct but now it's getting too heavy. Just give a nudge and now it's a class.

So am I backing myself into a big hole ? Such is the peril of Core Data as a storage medium. Small decisions become big thumping PITA later on.

Think I'll go and look at kittens on the Internet instead.

#swiftlang #coredata
1
Add a comment...

Warren Burton

Shared publicly  - 
 
Dog fooding the #mindmapping  app that I make  
1
Add a comment...

Warren Burton

Shared publicly  - 
 
Hi . Im working on the new version of DevSketch but if you're using Xcode 5.1 with a new project you'll need to edit the url to the iOS frameworks. Simply go to Document > Edit Document Settings... and edit any iPhoneOS7.0.sdk  to iPhoneOS7.1.sdk

Im going to add a bit of UI to make this easier 

Talking of the new version theres a bunch of bugs and inconsistent behaviour fixed and two major features.

- The very requested argument names. 
- Framework Placeholder objects. A library which you can drag items on the board

Also 
- Kapeli Dash Integration (yay Dash!) 
1
Wallacy Freitas's profile photoWarren Burton's profile photo
2 comments
 
Yes , from the help menu.
Add a comment...
In his circles
12 people

Warren Burton

Shared publicly  - 
 
Devsketch 1.4.0 is out
Whats new & changed. - Improved renderer for large models. - New sorting options - Swift 1.2 syntax and types. - Documentation can be visible on the map as notes - Better recognition of block types - Edit arguments from within the method creator - Less glar...
1
Add a comment...

Warren Burton

Shared publicly  - 
 
UIStateRestoring in Swift
When your customers open your app you may want them to feel like they never left it even when the system has long since ejected you. This is where UIStateRestoring comes into play.  First thing to do is setup Restoration ID's for your view controllers. You ...
1
Add a comment...

Warren Burton

Shared publicly  - 
 
Lightweight view controllers are a lot cleaner in Swift thanks to functions being full class citizens. #swift
1
Add a comment...

Warren Burton

Shared publicly  - 
 
Spent some time in Morocco in May. Great weather & uncrowded waves. 
1
Add a comment...
People
In his circles
12 people
Work
Occupation
Test Engineer, Cocoa Programmer
Basic Information
Gender
Male
Story
Introduction
I develop a Mind Mapping application for OS X and iPad 

Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
London
Previously
Auckland
Links
Contributor to