mdhughes_dev
-
Red-hot Xcode : If you screw around with your profiles, restart Xcode. It only picks up changes at startup. HOURS wasted today.
1:56 PM Sep 14th
from Tweetie
-
NSString *text = [NSString stringWithContentsOfFile:text];
is a surprisingly hard line to debug.
12:56 PM Sep 6th
from Tweetie
-
Writing custom accessors is a pain, I'm spoiled by @. I usually use KVO to get side effects, but it's too heavy for my use case.
6:51 PM Aug 13th
from Tweetie
-
Finally had enough of the madness:
NSPointMake(_x_, _y_) NSMakePoint((_x_), (_y_))
(and same for NSMakeRect and NSMakeSize)
4:54 PM Aug 13th
from Tweetie
-
Keyboard focus sucks everywhere. On iPhone, have to write code to make a keyboard go away on Return. On Mac, deal with firstResponder crap.
9:59 PM Aug 12th
from Tweetie
-
I know a year+ ago, I understood responder chains. Now I don't. I need to read a book again.
Objective-C: Simulating Alzheimer's since 1985.
12:27 PM Aug 12th
from Tweetie
-
Down to just 33 FIXME: or TODO: entries in my project! Though some of them are "FIXME: implement this gigantic week-size feature".
2:34 PM Aug 10th
from Tweetie
-
if ([img respondsToSelector:@(setFlipped:)]) {
[img setFlipped:YES];
[mark staysSane:YES];
}
[apple seriouslyWhatTheFuckCoords];
1:18 PM Aug 10th
from Tweetie
-
2 days in, finished my client/server framework and I can log in!
Xcode is hard, let's go drinking!
10:04 PM Aug 7th
from Tweetie
-
Tonight's lesson:
id a = @"a", b = nil, c = @"c";
[NSArray arrayWithObjects:a, b, c, nil];
Creates an array with 1 element, not 3.
9:38 PM Aug 6th
from Tweetie
-
My day: Spend 2 hours writing a class from scratch, reading docs as I go. Discover how to do it RIGHT. Delete everything & start over.
3:22 PM Aug 6th
from Tweetie
-
@ Yeah, Tweetie's exactly the kind of thing. Transitions, limited info per screen. Mac apps are too complicated for my taste now.
7:00 PM Aug 5th
from Tweetie
in reply to cassarani
-
Building GUIs for iPhone has warped my mental model of app UI flow. Hope people like iPhone-like Mac apps.
6:47 PM Aug 5th
from Tweetie
-
I started coding with GC, and then my code neuroses made me go back to retain/release code. May try switching it on later.
5:27 PM Aug 5th
from Tweetie
-
Biggest annoyance of Mac dev from iPhone, ex-Javanaut? Using upside-down coords in Quartz. isFlipped works, but makes images more confusing.
2:29 PM Aug 5th
from Twitterrific
-
@ That doesn't keep the code compiled and working, and doesn't manage non-source resources (images, etc.)
2:26 PM Aug 3rd
from Tweetie
in reply to pbur
-
Secret ultimate power technique: Make a "Clipboard" project to hold all the boilerplate stuff you reuse. Keep it compiling clean.
1:24 PM Aug 3rd
from Tweetie
-
If you make a UITextField with black background, the clear button is invisible. Sigh.
1:18 PM Aug 3rd
from Tweetie
-
@ My issue is building UIs in IB, where I don't want to wire every button & field onto a controller, but look them up.
4:00 PM Aug 1st
from Tweetie
in reply to nevynsdevdiary
-
REALLY wish UIViews had more than a single NSInteger tag. A series of "class" names like CSS would be awesome.
2:36 PM Aug 1st
from Tweetie
|
- Name Mark's Dev Notes
- Location Seattle, WA
- Web http://markdamonh...
- Bio Developer diary of @mdhughes — creator of Perilar, Castles, and more games for the iPhone & iPod touch.
|