« first day (785 days earlier)      last day (1371 days later) » 

1:07 AM
hello
I was going to ask why my Objc book overwrites the dealloc method with an NSLog statement in it's examples? It would appear I've just overwritten dealloc, which should mean the object cannot de-allocate itself anymore. But the book doesn't seem to think so. Does this mean that modifying dealloc does not change the fact that the object will be deallocated?
 
I submitted my Bubble app
 
are you using ARC?
 
1:29 AM
Yes
@MichaelDautermann
 
and in your book, does it explain what happens in a dealloc under arc?
here's some potentially useful info:
26
Q: Do I need use dealloc method with ARC?

VitSo, I have class: @interface Controller : NSObject { UILabel* fileDescription; } @property(strong, nonatomic) UILabel* fileDescription; Do I need use method dealloc where property fileDescription will equal nil? For example: -(void)dealloc { fileDescription = nil; } If not, who wi...

 
No. It does mention I am using ARC, and it does tell me that ARC automatically deallocates objects with no references, but nothing about what happens if you override dealloc
Looks like it's automatically managed and out of my control.
eh, problem solved I guess.
 
I just knew you would solve your problem, @Owatch!
 
Yep, I just did some of this: i.imgur.com/pQT0l.jpg
Can't show you how, it's super secret
@MichaelDautermann
 
I think I've seen your app's UI before...
I am working on a top secret app, too!
 
1:43 AM
Got a big price tag on it ?
 
of course... how else can the app prove that the user is wealthy?
 
Like, $1.99?
That's crazy money
Is there some way to set a variable to a number when declaring it in the class file? It may seem silly, but I can't set my NSUInteger to a number when declaring it.
 
show me how you are declaring it?
 
@property (nonatomic)NSUInteger *n = 1;
 
no, you can't set a property in a declaration like that.
you need to set it in your init method.
oh... and you're declaring it wrong anyways
NSUInteger is a C-type.
 
1:49 AM
Not in instance variable?
Oh.
NSInteger?
 
use @property (readwrite) NSUInteger n;
and then you can do "self.n = 1" in your .m code somewhere.
 
Well, I have yet to work with init in the book, so I guess I'll leave it be for now
I was trying to find a good way to iterate through an array of unknown size, and was going to use a number that would grow incrementally as objects were added to do so (So I can control a for loop that iterates through it). Maybe there's a better way to do that though.
 
if it's a NSArray, then it's always a known size
if it's a C-array, don't do that.
 
NSMutableArray
 
Right... NSMutableArray has a "count" method or property.
so you know what the length of it is.
 
1:53 AM
I'm not sure what that property is.
Looks like its Google or the documentation then
 
NSMutableArray is a subclass of NSArray
 
Yes, dealloc is an exception
Most overridden methods require you to call super
But it's so important to call super on dealloc that Apple felt it was worthwhile to take the responsibility out of the developer's hands
So they forcibly call super on it, basically
 
Sorry, but I'm not sure how to use "count"
It says: -containsObject:
 
3
Q: How to count the number of items in a NSArray?

AshutoshI want to count the number of items in a array and perform some operation based on that. I know it's not a big deal but i couldn't get it. Please give some suggestions.

 
So it's a method?
 
2:01 AM
Good morning everyone
 
Lol
The best way to do it is obviously this
int i = 0;
for(int j = 0; j < array.count; j++)
i++;

return i;
</troll>
 
damnit, :>
 
Looks like it was just coincidence that I went to submit today and saw external testing is live
 
Forget it, I don't want to do this book challenge
Moving on.
 
what's next?
in the book
 
2:13 AM
Giving up and getting a job as a clerk
 
Eh, it was a chapter on Object instance variables an properties
 
Apparently "cleric" is not a real word
Well at least it doesn't mean what I think it did haha
 
Some stuff on Object type attributes
To-One relationships, To-Many relationships
Seems more memory management related
The idea of Object ownership and ARC>
The challenge at the end was to create a one-to many relationship class for some older project it had me work on in earlier chapters. But it got messy and frustrating trying to implement some methods I wanted and I really don't feel like wasting more time.
 
But wasting time is what being an engineer is all about
 
Too bad I'm not an engineer.
 
2:17 AM
not a software engineer?
 
Me, no?
Are people here typically engineers?
 
Look at the room description
What are you then?
 
Do you mean this? Discussion for iOS and OS X developers. Our aim is to help you help yourself. This room is a machine, a machine for programmers: fit only for the rambling of programmers.
 
Yes
 
Well, it doesn't say you've got to be an engineer anywhere there.
 
2:20 AM
developers means programmers / software engineers
Of course there is no requirement
 
Well, then in that sense yes.
 
There are subtle differences but basically those three are all the same
 
I just program part-time?
For myself?
 
I see
Then you are an engineer of software hehe
 
Usually that title implies you have a degree or some form of certification, which I don't.
 
2:23 AM
Ehhhhhh
A lot of brilliant engineers don't have degrees or certification
 
Good point, but not the job-landing type.
 
Bill Gates would beg to differ
 
I think he founded his own company, rather than being hired. Could be wrong.
 
True, but it's still a job ;)
 
I'm a long way from that.
 
2:27 AM
Well then at the very least you can call yourself an aspiring software engineer
And my original quote is still relevant, since that's what you are trying to be
 
Would be nice to get paid to create Apps. Then maybe I could afford @MichaelDautermann Wealth Status Application.
 
Well, if you release an app, then you might get paid if it is good
 
Either way, someone will be $100 richer if I do.
 
Not "someone" but an entity will
 
-__-
That's true.
 
2:37 AM
my newly submitted app is in review now
 
I've never submitted anything before, but I was wondering
Could someone submit a 'clean' app, but then update it later with malicious stuff?
It seems to me like a big loophole, but I'm sure they protect people against that.
 
Hmmmmm did Unreal fall into the monetary trap of Xamarin? tirania.org/blog/archive/2014/Oct-23.html
Ah! Looks like you need to buy the commercial mono license yourself lol
So they just shifted the cost...
 
borrrden: Really? They've now turned on TestFlight Beta?
 
?
Why doesn't my addObject method call add an object to my NSMutableArray?
 
Did you alloc init it?
 
2:49 AM
I did.
 
Is the object not nil?
 
Yes, just 7 hours ago Enrico!
I submitted a build for external testers this morning
What amazing timing lol
 
OMG
I WANNA TRY TOO
WHAT IS YOUR APPLE ID I'LL ADD YOU TO ALL MY PROJECTS LOL
Ok let me see iTunes Connect.
 
I don't have an iTunes Connect account I think
You can try
 
I don't know if it's not nil.
 
2:50 AM
<--- gmail
 
The array is an instance variable of a class. I did init the class
Then tried adding to the instance variable via
 
You are going to have to practice asking questions. That involves giving us lines of code
 
The array may not be allocated just because you init the class.
Yes.
 
Did you init the instance variable as well, in the init method of the class?
 
instance.array addObject
No, I did not.
 
2:51 AM
Then it is nil ;)
 
I bet $100 you didn't alloc =P
HORAAYY you owe me $100
 
You win $100
And a quarter of the Internet
 
Why does my book then have instance variables like numbers, which it sets to different things once the class is created?
 
That question makes no sense because we lack context
 
Yes.
borrrden: Now what after this? dropbox.com/s/jtu1zo5tx069doo/…
 
2:53 AM
You need to have a build for the app first
Don't paste the code here :p
 
Oh.
 
1 message moved to recycle bin
Check the rules for an appropriate action
They are linked in the description
Then you can enable testflight beta testing on the prerelease page for the build Enrico
 
Would my other 500 lines be a reasonable amount to paste here?
desperately reaches for CTRL-V
borrden lunges forward in panic
 
Just try it...I'll lock the room and kick you out :p
 
Qix
3:02 AM
@borrrden Or you could not be a dick and remind them of the rules while removing the message (or let StackOverflow's message length limit not let him send the message).
Just a thought.
 
I didn't have 500 lines anyways.
Just a joke.
ha?
 
@Qix Which is exactly what I did. Or are you that interested in picking a fight?
He was obviously not serious, and neither was I
 
Qix
@borrrden No, just pointing out a more approachable way for someone with moderation permissions to handle a situation. That's all.
 
@borrrden Just don't remove that ":P" or it changes the meaning
 
Your advice is noted.
 
Qix
3:07 AM
@borrrden :)
 
Although technically I am not a moderator
Just a room owner
 
Qix
> moderation permissions
Close enough ;)
 
Mmmmmmm well you know of the diamond moderators right?
 
Qix
@borrrden Yes; wasn't referring to them. I suppose it was a misnomer.
 
Yeah the ambiguity is confusing and happens a lot.
 
3:11 AM
It looks like the book used getter and setter methods to set variables to different things. (And get them too, since get doesn't set, eh heh!)
Does this have the effect of initialising them?
 
Qix
@borrrden Coming from a long history of IRC use, moderator or operator (or just op) is generally an accepted term. Seeing as how we are not on StackOverflow proper I figured one would be able to deduce moderation powers as to mean someone with the ability to affect another's content in the current room. I suppose that is a confusing thing to do; no worries.
 
I have a build that has TestFlight turned on, but still not sure how to invite beta testers. Oh well.
 
It's understandable. Although the part that got me to use the two phrases is when an actual moderator came into the chat to give us all a good tongue lashing.
 
Qix
@borrrden Fair enough
 
Enrico, you might have to make a new build
 
3:14 AM
I remember the last time an actual moderator came.
 
I noticed that I had a new entitlement in my build today "relating to beta"
Are you using Xcode 6.1?
 
Hmmm, I see. I was using this build that I made a few days ago: dropbox.com/s/7x70k2k3chjw0o4/…
 
Am I using 6.1? I don't know I forgot to check lol
 
I'm not. I'm still using 6.0
Apple logo -> About lol
 
Yes! That's it then
 
3:15 AM
I mean Xcode -> About.
 
You don't have that entitlement in your build
It must have been switched on in a recent update
 
Damn.
 
But I didn't check anything special to get it
 
Finally my company bought an Apple enterprise license =P
 
Oh, I made a new provisioning profile though
 
3:16 AM
Hooray I guess.
 
Check your profile
I think that's where it gets toggled
 
I hate adding random people's UDID lol.
 
Enrico someone at  loves me
and also i agree with that. I hate adding other people's devices even. I only want my device
 
Nope I can't find anything lol
 
and i added someone else yesterday:/ wish  released test flight then:P
 
3:18 AM
But now you don't have to add random people's UDID anymore
Damn I can't find anything there either
 
LOL borrrden
Thanks for debugging for me.
Max: How come someone at Apple loves you?
 
i know, which is good but i just renewed my developer account:P ill have to live with these people for a year!
 
Don't tell me you have another app approved in 24 hours?
 
cuz they review my apps fast
 
I've just submitted an update and it's still waiting for review, it's 3 days already.
┻━┻ ︵ ლ(ಠ益ಠლ)
 
3:18 AM
lol, i had like 3 or 4 updates accepted under 24 hours in the past 2 weeks
 
Night.
 
but no, i submitted my keyboard like an hour or 2 ago, in review already
 
I don't think he is changing much
Bye Owatch
 
LMFAO, you're waiting 😂
They must love me:D
 
Night Owatch.
 
3:19 AM
@EnricoSusatyo Just try submitting again. It will show your entitlements and you should see "beta" somewhere
 
DAMN IT MAX
 
went into review at 7:36pm, submitted at 6:09
 
You don't have to actually submit it
 
Just start submitting it
 
3:20 AM
See Enrico:D They love me since they keep reviewing my apps
I hope they don't reject it though:[
 
Oh sweet beta review is done
Submitted this morning
 
its new so I'm very scared
 
3 1/2 hours later done
Lol looks like a female reviewed our app
 
watch it
 
She logged in via facebook to test our app :p
bwa ha ha ha ha ha
 
3:29 AM
i got my website back
 
3:43 AM
@borrrden LOL BORRRDEN
That was fast, 3 hours.
 
But that account has no email address associated with it
So most likely a throwaway
No matter
 
Ah, I see.
Okay checking if I can run Pixelmator on my iPad.
Should I finally update to iOS 8.1?
 
I did
Line seems to crash a lot more
 
Ok... I won't update yet then.
My ex colleague built this: beta.tehplayground.com
It's called Teh Playground because Apple took the name Playground for Swift? Lol
 
4:11 AM
Hey you guys. Anyone ever encountered an issue where their app won't launch for ios7 yet it works fine in ios8?
I don't have an ios7 device otherwise I'd try to debug
Just realized I could download a 7.1 simulator
:)
 
Are you using any iOS 8 specific APIs?
 
Girls suck
 
It depends Max
 
4:27 AM
Uh oh
I guess someone got dumped
 
Uh oh
 
Uh oh!
 
no:P
my friend and i may get an apartment cuz i wanna move out and so does she
so apparently her name is gunna go onto the lease and she gets the bigger room. girls are weird
They always want the bigger room
I think they get smaller room, i need space:P
I need to put a hot tub in there:O
 
Why don't you just stay in the same room
and use another room for another activity?
 
4:32 AM
LOLOL
 
lol ill tell her
 
That's the win win solution
 
LOLLLLLL MAX IS LIVING WITH A GIRL???!?!
3
 
nayoso is too optimistic
No, because the sleeping space becomes smaller than even the small room
 
LOLOLOL
 
4:34 AM
Everyday I watch new weird YouTube videos thanks to this room.
 
lmfao so i asked her why she gets the bigger room, her reply "Im the one with the vagina so i automatically win" 😂
 
Hi
GM to all
 
.....
Make her pay more.... I guess.
 
Except you have some benefit from her vagina don't do anything for her Max, or maybe you're just plain idiot
 
lol Enrico
 
4:36 AM
LOL NAYOSO YES
 
lol no I'm not doing anything for her Nayoso
 
You're giving her bigger room
it's not gentleman
it's just because you're a pussy max
 
well idc, as long as the room is bigger than mine.. i need a desk
 
be a man and confront her
 
Be a man and ask her to pay more.
 
4:38 AM
ok
So guess what ima be for halloween!:D
I got a 💩 emoji mask lol
although idk if it will come by then, I'm hoping so... if not idc it was only $10.. but its kinda funny
to me
 
@Maximilian That's a really weird thing to say o,0
 
It is indeed...
 
She is obviously not a feminist :p
 
she's a strange one
 
Why do you want to live with her?
Or is it just like "fuck I wanna get out of my house so any shitty situation will do.."
 
4:46 AM
idc, we've been friends for years and I'm just very ticked off at my dad and his side of the family so i wanna move out
 
If you were friends for years then you should be able to level with her
And say since you are getting the bigger room you should pay proportionately more
 
You can move to Hong Kong, there are cheap places over here.
Or Japan I guess.
 
Or you can give it to me and I'll pay proportionately more
 
My brother has a whole nice and small apartment for less than half the price of mine in Sydney.
 
I'm tired of being yelled at for not making enough but then have to clean the house, drive people around all week, and doing garbage and shit. i don't make anything because i get nothing done.
 
4:47 AM
Don't move to Asia Max
You don't know the meaning of the word small until you come here
 
The keyboard i finished today should have been done like a week or 2 ago, i mean anyone can make it. it took too damn long
lol im not moving out of california:P
 
I still stand by the fact that you should make this argument to the people who are making you do things
 
You need to learn business, not just engineering.
 
and i never asked her to pay more yet but i don't have an issue asking her and probably will
 
I've been trying to tell you but you just wouldn't listen lol.
 
4:48 AM
Even if they won't listen, write it in a well organized paragraph or two and give it to them
 
Making apps is really not the best way to make a living.
 
Although also the rooms aren't that much bigger.. both are basically the same
 
So what is the problem? lol
Why did you even bring it up?
 
although we're looking at 2 different ones, one with 2 rooms and 2 bathrooms and one with 2 rooms and 1 bath, the one with 2 bath one is general and one is with a room. so if she gets that room she's definitely paying more cuz thats not cool
 
I can't believe the Apple Store app has a common AutoLayout bug that I hit all the time lol.
 
4:49 AM
idk.. something to talk about:p
 
Does it bother you?
 
and because all girls want a bigger room >:[
 
My wife is not one of them lol
 
Im stuck with the smaller room in my dads house cuz my sister wanted the bigger room:P not cool
 
I always want a bigger place and she says "What's wrong with the size we have now?"
 
4:50 AM
I think i got a TV though for taking this room. although i got my own now>:]
 
YOU LIVE IN THE SAME ROOM AS YOUR WIFE LOLLLL
 
My room was bigger than my sister's for the first 16 or so years of my life
 
lucky
my room is only a tiny bit small, everything fits and i like it but i want a desk
to put my bajillion iPads:P
right now they are all on my 3 shelf side desk. 2 on top, 1 on bottom with a nexus, and my 2 iPhones in the middle. so many devices
 
You need to work light like me =P
How come you have the most iOS devices of all of us?
 
ok so... in 2011 i released my first app, SMS signature! I have the iPhone 4 i think..
then i made so much money the first month i bought the iPad 2 64GB because i thought it would be my only iPad for a few years (ha!)
then i bought the 2011 Macbook Pro
Then in March 2012 i got an internship with a company in San Francisco, to work for them i got $1000 and a iPad 3
 
4:58 AM
an internship as a high school student?! Wow
 
then the app wasn't finished so later they asked me to finish it (not much) for an iPad Mini
and then i have so many iPhones because i buy one every year:P they keep getting me
and yes lol.
and that is why i have so many damn devices
 
"My only iPad for a few years"
 
Hahah "for a few months"
 
oh and then i got the Nexus 7 because i thought it was kinda cool, and i may make some android apps. someday
 

« first day (785 days earlier)      last day (1371 days later) »