iosdevelopmentjournal.com
Category: GCD - iOS Development Journal
http://www.iosdevelopmentjournal.com/blog/categories/gcd
Tips and Tricks Learned the Hard Way. Verifying UIKit is Running on the Main Thread. Forcing Things to Run on the Main Thread. Static Libraries Linking to Embedded Frameworks. NSURLSession delegateQueue Silently Fails if Passed the Main Queue. Asynchronous Networking With NSURLSession. Verifying UIKit Is Running on the Main Thread. Alignment Options in Auto Layout. I work full-time as an iOS developer for A9. Before that I developed a little game for the iPhone called DropSort.
iosdevelopmentjournal.com
Swipe to Delete with Multiple Selection - iOS Development Journal
http://www.iosdevelopmentjournal.com/blog/2013/04/21/swipe-to-delete-with-multiple-selection
Tips and Tricks Learned the Hard Way. Swipe to Delete With Multiple Selection. Solution found via StackOverflow. Since you’d like to allows for bulk deletes or other actions. Prior to adding bulk editing support you also could perform a swipe-to-delete when not in editing mode. However, you’ve just noticed that swipe-to-delete no longer works. And you want both. So it turns out that you can’t have. Active and have swipe-to-delete work at the same time. So what you need to do is only enable.
iosdevelopmentjournal.com
Running URL Requests in the Background - iOS Development Journal
http://www.iosdevelopmentjournal.com/blog/2013/01/27/running-network-requests-in-the-background
Tips and Tricks Learned the Hard Way. Running URL Requests in the Background. Getting data from the web is a pretty common operation for apps these days. Part of the marvel of the iPhone is that you’re always connected. Now, often we make network requests and don’t worry much about them until they’re done. What you might not know is where the code to handle the request is running. And by default that place often ends up being the main thread. So if you’d like to learn more about how to handle. This sound...
iosdevelopmentjournal.com
An Example NSURLConnection Delegate - iOS Development Journal
http://www.iosdevelopmentjournal.com/blog/2013/02/10/an-example-nsurlconnectiondelegate
Tips and Tricks Learned the Hard Way. An Example NSURLConnection Delegate. In the little analytics I’ve had to this point, I’ve discovered that people have come here while searching for an example NSURLConnection delegate. So we’re going to walk through an simple example I’ve coded up. This delegate will fetch a requested URL and make the data available to the class. We’ll allow for simultaneous connections, and callbacks using blocks. Here’s the header file. Here’s the implementation file. That will sto...
iosdevelopmentjournal.com
iOS Development Journal
http://www.iosdevelopmentjournal.com/blog/page/2
Tips and Tricks Learned the Hard Way. Forcing Things to Run on the Main Thread. That we avoid doing too much work on the main thread. This is great advice, the less time you spend wasting CPU cycles in the main thread, the more responsive your UI will be. In my opinion a well defined iOS application will avoid doing more than update the UI on the main thread. To run on the main thread. This resulted in a lock-up during some animations I was working on. There’s a number of topics. Read on →. Read on →.
iosdevelopmentjournal.com
Alignment Options in Auto Layout - iOS Development Journal
http://www.iosdevelopmentjournal.com/blog/2013/04/22/alignment-options-in-auto-laytout
Tips and Tricks Learned the Hard Way. Alignment Options in Auto Layout. In OS X Lion and iOS 6 Apple added a new way to layout views, Auto Layout. This is a very powerful system that will handle a lot of the work and overhead of arranging your views. A well defined layout can make many headaches disapear entirely. However, it is a bit. To say the least. I recommend that you read the guide to the visual format language. This post will discuss the various options that you can set in. Ndash; This aligns all...
iosdevelopmentjournal.com
MPMoviePlayerController Going Fullscreen Creates A Blackout - iOS Development Journal
http://www.iosdevelopmentjournal.com/blog/2013/03/16/mpmovieplayer-fullscreen-goes-black
Tips and Tricks Learned the Hard Way. MPMoviePlayerController Going Fullscreen Creates a Blackout. Solution found via StackOverflow. You’ve added an. To one of your view controller’s child views. You hit play, it starts playing the video. Then you hit the fullscreen button. It fills the screen, and suddenly everything goes black, you can’t get any controls, and all that happens is the audio keeps playing. So what went wrong? So my best guess is that the view that contains the. Manually with a call to.
iosdevelopmentjournal.com
Category: mistakes - iOS Development Journal
http://www.iosdevelopmentjournal.com/blog/categories/mistakes
Tips and Tricks Learned the Hard Way. Don't Reference View Controller Views in init. Static Libraries Linking to Embedded Frameworks. NSURLSession delegateQueue Silently Fails if Passed the Main Queue. Asynchronous Networking With NSURLSession. Verifying UIKit Is Running on the Main Thread. Alignment Options in Auto Layout. I work full-time as an iOS developer for A9. Before that I developed a little game for the iPhone called DropSort. Email: spr (at) iosdevelopmentjournal.com.
iosdevelopmentjournal.com
Don't Reference View Controller Views in init - iOS Development Journal
http://www.iosdevelopmentjournal.com/blog/2013/03/20/dont-reference-view-controller-views-in-init
Tips and Tricks Learned the Hard Way. Don't Reference View Controller Views in Init. This is more of a note to my future self:. Don’t reference a view controller’s view in an init method. Well, let me tell you what I did. Subclass. Has a few custom variables that store useful data. An array of things to display, some basic text, etc. These all get set in a custom init method:. All very simple. These variables then get used in. To setup the table view, etc. Running that in my init function results in.
classic.scottr.org
MPMoviePlayerController Going Fullscreen Creates A Blackout - iOS Development Journal
http://www.classic.scottr.org/blog/2013/03/16/mpmovieplayer-fullscreen-goes-black
Tips and Tricks Learned the Hard Way. MPMoviePlayerController Going Fullscreen Creates a Blackout. Solution found via StackOverflow. You’ve added an. To one of your view controller’s child views. You hit play, it starts playing the video. Then you hit the fullscreen button. It fills the screen, and suddenly everything goes black, you can’t get any controls, and all that happens is the audio keeps playing. So what went wrong? So my best guess is that the view that contains the. Manually with a call to.
SOCIAL ENGAGEMENT