These are chat archives for devslopes/swiftios9

15th
Nov 2015
Homith
@Homith
Nov 15 2015 00:29
Well that didn't work out as expected hehe
The image didn't appear, the text just disappeared hehe
Ahh got it ;) I didn't make the background hidden :)
Jack Davis
@jackd942
Nov 15 2015 01:03
Finally finished up my take on Pokedex...http://community.devslopes.com/topic/86/pokedex
Mark Price
@spentak
Nov 15 2015 01:49
Looks great
Jack Davis
@jackd942
Nov 15 2015 01:59
Thanks. Got to say, that exercise does a good job of putting a lot of pieces together. You did a nice job on it @spentak
Homith
@Homith
Nov 15 2015 02:05
I need to get myself a mouse. This little 13inch MacBook is just too small to fumble around on :) hehe
Jack Davis
@jackd942
Nov 15 2015 02:07
Oh man…I love my 13” Macbook Pro. I do think that my next one will be a 15” tho...
I have a 27” monitor when I’m at my desk and that thing makes it awesome
Evan Leong
@evanmayo
Nov 15 2015 02:37
Welcome @Homith !
Nice work @jackd942
Jack Davis
@jackd942
Nov 15 2015 02:38
thanks
Mark Price
@spentak
Nov 15 2015 03:00
haha i use 13" macbook pro
had a 15" - the best of the best. I actually took it back because it was soo heavy and the battery life was 3 hours (dang video card)
Jack Davis
@jackd942
Nov 15 2015 03:02
Wow...I do love my 13. Didn't consider that with the 15
Mark Price
@spentak
Nov 15 2015 03:02
my next purchase will probably be the decked out 27" imac. Put the power on the desktop, and keep my macbook for versatility
Jack Davis
@jackd942
Nov 15 2015 03:03
True. I just bought mine about a year ago. It'll probably be awhile before I do something different
Mark Price
@spentak
Nov 15 2015 03:04
recording video on this macbook about kills my system. then waiting 1 1/2 hours to export a video to MP4 >.<
Jack Davis
@jackd942
Nov 15 2015 03:04
I bet
jjames1820
@jjames1820
Nov 15 2015 14:35
@spentak hey, are you only able to access your classes and subclasses that are in a separate file under the ViewDidLoad function?
Mark Price
@spentak
Nov 15 2015 15:52
@jjames1820 i'm not quite sure what you are asking.
dcalderonv
@dcalderonv
Nov 15 2015 16:18
Hi guys... Mark, great course...I am struggling a little bit trying to understand (deeply) how the stack views work and specifically the hugging, compression priorities. In particular, I would like to understand whether the priority numbers (1-1000) are absolute values for a particular element, or they are relative to other elements. Where can I find more documentation about how this works? I want to be able to determine the number I need without "guessing" or trying until I get it... does this make sense? Thanks for any guidance here...
Mark Price
@spentak
Nov 15 2015 16:30
Welcome @dcalderonv
dcalderonv
@dcalderonv
Nov 15 2015 16:43
Thanks Mark. I had seen that one before, but apparently had not read it carefully. I think it makes more sense now. Priorities are "relative" to parent element's priorities, and it does not matter how much lower or greater it is, only matters whether is lower or greater. Correct?
Mark Price
@spentak
Nov 15 2015 17:34
That is about right
jjames1820
@jjames1820
Nov 15 2015 17:35
@spentak for example, I can create a variable outside of the viewdidload consisting of the properties of a specific class but I cant use any of its functions, but when I place it within viewdidload, everything works fine.
Mark Price
@spentak
Nov 15 2015 17:37
I see. Well the key is that you work with variables within functions. Not limited to viewDidLoad
jjames1820
@jjames1820
Nov 15 2015 18:21
@spentak that makes sense, thanks alot!
Sketchy Swift
@HardcoreIOS
Nov 15 2015 20:35
@spentak How do I get rid of this extra space in the first cell?
extra.png
I have know idea how to remove it
Mark Price
@spentak
Nov 15 2015 20:39
Search google "remove empty top space uita leview
Sketchy Swift
@HardcoreIOS
Nov 15 2015 20:39
seriously?
Mark Price
@spentak
Nov 15 2015 20:39
UITableView
Sketchy Swift
@HardcoreIOS
Nov 15 2015 20:39
Just one, googling is going to take some time
Mark Price
@spentak
Nov 15 2015 20:40
haha its how youll get a job. I make my in person students work twice as hard
Sketchy Swift
@HardcoreIOS
Nov 15 2015 20:40
Come on man! :p
You’re the teacher!
Mark Price
@spentak
Nov 15 2015 20:43
Yup. Give a man a fish teach a man to fish
you must learn how to learn
Kyle Anderson
@Sxraxis
Nov 15 2015 20:44
Googling is certainly like fishing...
Mark Price
@spentak
Nov 15 2015 20:47
Do you guys know that 90% of the questions you ask here i search in google and paste the link here. Im jot saying googling programming questions is easy but you have to learn how to do it
knappsimon
@knappsimon
Nov 15 2015 20:48
^ +1
Mark Price
@spentak
Nov 15 2015 20:49
In my in person coding Boot Camp's I actually have a whole lesson on how to use Google. I should put something similar in this course
JPROFFICIAL
@JPROFFICIAL
Nov 15 2015 21:00
Hey @spentak , How do I create an array of dictionaries? Like you did for your pokemon.csv file. I'm not parsing anything only manually entering the values in and extracting them into variables in my base data class.
I think I may have found the answer. Ill keep updated.
Mark Price
@spentak
Nov 15 2015 21:09
Ugg
It removed my brackets
Typing from phone
JPROFFICIAL
@JPROFFICIAL
Nov 15 2015 21:10
Muchos Gracias
Mark Price
@spentak
Nov 15 2015 21:12
'''swift
i give up
JPROFFICIAL
@JPROFFICIAL
Nov 15 2015 21:13
You are a trooper none the less
Mark Price
@spentak
Nov 15 2015 21:13
coding on a phone lol
David Copley
@davidcopley
Nov 15 2015 21:17
@spentak Hey mark, this is not really a coding question, I'm just really interested to know, which software development life cycle, if any, do you and your previous development teams use the most?
Mark Price
@spentak
Nov 15 2015 21:23
@dfordavid Always agile
Scrum sometimes
I like loosely based agile dev. ie Create stories. create sprints. daily standups. accountability at the end, demo at the end of each sprint, repeat process.
the larger the companie the more meetings and longer this process becomes
i prefer teams no bigger than 5
David Copley
@davidcopley
Nov 15 2015 21:30
@spentak Thats great to hear. It seems like most projects are handled by agile these days. Which role did you play in the team? And have you encountered any issues with budgets or time constraints?
Mark Price
@spentak
Nov 15 2015 21:32
Ive played all the roles at different points. Also tried many different things like fixed price projects and otherwise. My favorite way to stay in budget is have the customer allocate x amount of weekly funds in which we estimate what we can get done. Sometimes we get more done, sometimes we get less. Then us and the client (almost like team members) assess the budget and decide what to re-prioritize. The client understands before the project starts that we are giving our best estimate but it is not fixed, and we develop their project until the budget runs out. So its important for them to always prioritize the most important things first in case features have to get dropped because of budget
David Copley
@davidcopley
Nov 15 2015 21:39
@spentak Ic, where do most of the budget go to? And what kind of tools do you use to assist communication with clients with limited knowledge on computers?
Mark Price
@spentak
Nov 15 2015 21:40
@dfordavid im really hesitant to work with clients who have no technical knowledge - this puts me in a bad situation because clients don't understand software development and our expectations will never be the same
so with clients like that, you must highly educate them on the process and demand their frequent attention and participation
otherwise you could easily get sued
David Copley
@davidcopley
Nov 15 2015 21:40
@spentak Wouldn't you be losing a lot of potential clients though?
Mark Price
@spentak
Nov 15 2015 21:40
no
these days people who have the big bucks are usually somewhat technical. if you are talking about building an app for a small business, just be sure that you educate them
Get them on Hipchat or Slack. Create a Trello board and invite them to it. Force their daily participation
I would stay away from clients who say, "here is a lot of money, build my app. by the way, i don't want to see it until its done"
it always ends badly in my experience
**note: i owned a consulting company that brought in over $1,000,000 in revenue and have seen every end of the spectrum
David Copley
@davidcopley
Nov 15 2015 21:44
@spentak How did you choose who to employ?
Mark Price
@spentak
Nov 15 2015 21:46
keep a tight team. interview that person thoroughly. interview their wife. get references. find out everything about them. employees can make or break a business
David Copley
@davidcopley
Nov 15 2015 21:54
@spentak That is indeed very thorough and careful. In a project, how much time do you spend analysing and designing, relative to coding and testing, and how important do you think it is?
Mark Price
@spentak
Nov 15 2015 21:55
depends on the client and budget
some clients would rather ship with bugs than to spend the extra time needed for Unit testing
other clients would rather spend 3x the time and budget to have perfect code before shipping
same with design.
some clients want the developers to just design as they go along
other clients have pixel perfect designs ready for you
David Copley
@davidcopley
Nov 15 2015 21:57
@spentak In that case, for those products with bugs, are you legally responsible for the post implementation maintenances? And would you advice against those clients before they make their decision?
David Copley
@davidcopley
Nov 15 2015 22:03
@spentak Sorry if I am touching some sensitive topics, its because I'm studying B.SE and its really interesting to hear these things from an actual Software Engineer.
Aizaz Khaja
@aizkhaj
Nov 15 2015 23:11
That's a pretty solid question and answer session right there. Thanks for sharing your experience and knowledge @spentak. Much appreciated
Aizaz Khaja
@aizkhaj
Nov 15 2015 23:21
@spentak I actually wouldn't mind a brief lesson on how to google programming questions, if you were serious on teaching people that. As a noob to programming sometimes I find it difficult to translate technical to non technical terms and vice versa to describe my issue at hand. It takes me a few tries to get what I'm seeking, so there must be a more methodical way to make things efficient? I can google anything else like a pro though :smile: heck it doesn't even need to be a video, just a template document or somethings.