April 2013
1 post
Building a Universal Framework for iOS →
Apple has invested quite a bit of time into making it easy to compile for a number of different architectures in XCode. For instance, compiling a library into its armv6, armv7, and i386 variants is just a matter of specifying the supported architecture types. However, there isn’t a built-in mechanism to take the binaries built for the various architectures and merge them into a universal iOS...
March 2013
1 post
No, we don’t use Interface Builder in any way, nor do we work with...
– (1) Path: Are storyboards used by the iOS team at Path? - Quora
February 2013
8 posts
4 tags
Windows phone 8 pros and cons
Lets discuss cons first
1. You need a developer account to test your software on real device. You can add only 1 device in student program and 3 devices in regular program. That a big negative point if you got to test your code on multiple devices-may be to show client.
2. It uses nokia maps.
3. You cant develop for WP8 in a virtual machine.
4. Oh, and to test on a real device you need...
How to install IPA directly on your iOS!... →
3 tags
Best KVC & KVO (Key Value Coding & Key Value...
jaytrixz-dev:
In one of my projects, I needed to update a UILabel whenever a web service fetched has been completed. I asked my issue on stackoverflow.com and they pointed my out on using KVO. Googling pointed me to this excellent tutorial discussing both KVC and KVO. It’s pretty straighforward that noobs like me can get it in an instant.
Check out the link below: -...
1 tag
6 tags
CocoaPods →
CocoaPods is a great solution that makes it easy to manage dependencies to 3rd party libraries in your projects.
#apple #xcode #objective-c #cococ #ios #osx
1 tag
That excess traffic has also seemingly crippled Cydia this morning.
– Cydia repos buckle under evasi0n traffic
January 2013
22 posts
iOS 6 jailbreak:68%: Applications for Windows and OS X are finished. Remains...
– evasi0n iOS 6.x Jailbreak - official website of the evad3rs
MEGA...Impressive first look →
To suppress the warning, add a #pragma as follows:
NSString *tempMsg;
#pragma...
– Suppress Unused Variable Warnings With #pragma unused
evasi0n iOS 6.x Jailbreak - official website of... →
robbiehanson/CocoaLumberjack · GitHub →
tciuro/NoticeView · GitHub →
gotosleep/JASidePanels · GitHub →
JASidePanels is a UIViewController container designed for presenting a center panel with revealable side panels - one to the left and one to the right. The main inspiration for this project is the menuing system in Path 2.0 and Facebook’s iOS apps.
ksuther/KSImageNamed-Xcode · GitHub →
Can’t remember whether that image you just added to the project was called button-separator-left or button-left-separator? Now you don’t have to, because this will autocomplete your imageNamed: calls like you’d expect. Just type in [NSImage imageNamed: or [UIImage imageNamed: and all the images in your project will conveniently appear in the autocomplete menu.
Two-letter prefixes […] are reserved by Apple […]”
…
“Your own classes should...
– http://developer.apple.com/library/ios/#documentation/cocoa/conceptual/ProgrammingWithObjectiveC/Conventions/Conventions.html (via cocoaheads)
Every Apple.com Homepage From the Last 15 Years →
iphone - Get all days of any month with... →
Cocoa with Love: OrderedDictionary: Subclassing a... →
Ordered NSMutableDictionary subclass for a special scenario.
garnett/DLIDEKeyboard · GitHub →
Drop-in component for adding additional keyboard keys to both iPad/iPhone keyboards. Inspired by great Pythonista application.
tomersh/NanoProfiler · GitHub →
Measure a function’s runtime without adding a single line of code to the original function. Nothing more. Use it when you need to know how long it takes to a function to run, but you don’t want to use heavy tools like instruments.
Open Source Tool For Automatically Graphing... →
ObjCViz is very quick hack I wrote when I discovered LJV (for “Lightweight Java Visualizer”), a tool that dumped Java instances graph to GraphViz format. I tried to do something similar in Objective-C. It shows how you can dig into the Objective-C runtime to get detailed information about the Objective-C instances and classes in your running program.
I’m not dead yet!
– If I get hit by a truck…
Everybody Should Follow These Rules for Using... →
nil / Nil / NULL / NSNull : NSHipster →
You cant use unwind segue in iOS 5.0 because they were introduced in iOS, so to...
– ios5 - Pop the current view using Segues/Storyboard on iOS 5 - Stack Overflow
Relative date for NSDate
digdog:
NSDate does not have relative date method, so you will need to use NSCalendar to compare with current time, get the NSDateComponents return, and check those date selectors one by one.
Instead of checking them manually, I create a NSArray that holds the name of those selectors, and use NSInvocation to find out first non-zero result, and return it as relative date.
Where to download
The...
Lamest bug:MacBook Pro won't recognize my analog... →
No I wrote it on a Mac. I’ve never used a PC in my life; I don’t like them.
– Brian Eno to the BBC last year when asked if he created the Windows 95 startup sound on a PC.
A nice follow up to this and this.
(via parislemon)
The LLDB Debugger
– LLDB to GDB Command Map
December 2012
10 posts
Xpath and xml namespaces
Normally, xpath will only get you results from default namespace. If you have some user defined namespaces, Xpath will not return any result.
to counter this situation, you have to first register your namespace
NSXMLNode * ns = [NSXMLNode namespaceWithName:@”xmlns” stringValue:@”jabber:client”]; [self addNamespace:ns]; ns=...
3 tags
Xpath not returning results
If you are having same problem as I did, its probably because of XML namespace in your xml.
to make XPath work, you should remove the namespace info from the xml.
theXml = [theXml stringByReplacingOccurrencesOfString:@”xmlns="http://tempuri.org/"” withString:@”“];
UICollectionView custom layout tutorial :: skeuo →
DollarP-ObjC by fe9lix →
Ui Parade – User Interface Design Inspiration →
If you’re considering releasing some of your reusable code, that’s great. Do it...
– Open Source Code - Matt Gemmell
iOS 5 Tech Talk: Michael Jurewitz on Performance... →
iOS 5 Tech Talk: Mark Kawano on iOS User Interface... →
Inspiration vs. Imitation | Jessica Hische →
November 2012
16 posts
FakeWall - Android Apps on Google Play →
Unable to Create Windows 7 Install Disk →
Follow this link to create a bootable windows 8 usb drive using Bootcamp.
1 tag
iAppExperience: DYFloatingHeaderView - A Facebook... →
iappexperience:
Facebook’s recent attempt to “revert” its official iOS client from HTML5 to a native iOS app seems to have been very well received (well, at least by the iOS community, not sure how the HTML folks think). The new app is now much faster and reliable than before, and although this update is…
A Google tool to convert Java to Objective-C →
jponge:
It comes a little as a surprise but this tool can have interesting applications, especially for those needing to share headless business logic and algorithms between iOS and Android applications.
It apparently supports Java SE 6 with most language features, including inner anonymous classes.
I did not have a chance to try it yet, but something that I wonder already is how they dealt...
Blocks in C and Obj-C
awasim:
C/Objc-C Block Syntax Explained
ARC Best Practices →
i0sdev:
The advice here assumes you are using iOS 5 or 6, not 4. In practice, weak pointers are such an important tool in ARC, that I don’t recommend using ARC in iOS 4.
amattn.com