Showing posts with label apple. Show all posts
Showing posts with label apple. Show all posts

Monday, January 27, 2014

Do you want to break free from your iOS jail cell?

After seeing all the fancy pictures of what people can do with a jailbroken iPhone gets you thinking " Should I commit to the jailbreak?" "Is it a good idea to jailbreak your phone?". Well here is the low down. By jailbreaking your iPhone, you have the ability to access files that usually would be completely out of reach from you. Your ability to reach these files gives you the opportunity to express your individuality as a iOS user.

Oh , you want a batman symbol instead of your carrier's name? Jailbreak has a tool for that.
Oh, you want different types of icons for your app? Jailbreak has a tool for that.

It can open you up to so many different things that will enhance your iPhone experience. There is a whole community of people that contribute to the tool development for jailbreaking. It's actually honestly pretty cool what you can do with a jailbroken phone.

This question always comes up though... Is jailbreaking legal? 

As of right now , yes , it is legal as long as you don't use it to unlock your phone to different carriers. So , change all the things that you want to change * insert all the things meme* and go crazy. Just stay clear of unlocking different carriers because that's when things become illegal.

Next most common question. Can I brick my phone? 
*To brick - to render unusable making your iPhone become a very expensive paper weight*

I haven't heard of anyone bricking their phone from jailbreaking but I could be wrong. I am pretty sure that you are good to go as long as you back up your phone before you start the transformation. But don't quote me on that because I am not 100% sure.

Overall , it's a great way to express yourself while still having an iPhone. But there are alot of risks that come with it that may not be worth the trouble of actually jailbreaking your phone. So , it is totally up to you!!!

I have been looking into the whole jailbreaking scene ever since seeing this reddit post in r/jailbreak : here

It's just so pretty!! and the add on's are rad. Like the whole flux thing , that's just awesome.

Lemme know if you've jailbroke your phone and if you like it or not.

-Hannah


Wednesday, January 8, 2014

Just a quick Objective - C Overview

Right , I promised myself that I would keep to my blog schedule I have planned. But I don't think adding more content is a bad thing. So here is my third blog for the day. *sweet baby rays*

So , I have an interview tomorrow and I am going to brush up on my Objective-C and iPhone development. *these posts are going to be really embarrassing if I don't get the job.. yikes oh well*  And when I teach what I am learning it sticks better so buckle up you're about to learn some Objective-C. *confetti falls from celling*






Alright first off, what is Objective-C?

  • Objective-C is most often used whenever you are programing in the iOS or the OS X operating systems. 
  • Objective-C also provides object-oriented capabilities and dynamic runtime
Fancy stuff. So in non technical terms , Objective-C is mostly used in Apple products , and the dynamic run time means that objective-c decides which method implementation to call right before calling it. 

COOL.. movinggggg on...

Let's do some code together shall we? 

To start off we will cover some basic syntax -

A Class- 
 *NOTE CLASS NAMES MUST BE UNIQUE.. like you ;)
So a class is simply called by typing the following :
--> @interface HannahClass : NSObject
--> End

 Righto simple enough. Next step is we are going to document name and twitter handle. These are called properties. They're called like this.

@interface HannahClass : NSObject

@property NSString *name;
@property NSString *handle; 

end

Sweet. So now our app uses the class Hannah and has two string properties within it that holds my name and my twitter handle.
  • please note that we use the asterisk to indicate that they are c-pointers. So basically memory stuff.
The following two lines are for int and num declarations. So we are going to add birth day and birth year.

@property NSNumber *birthDay;
@property int *birthYear;

Right. Noted that int isn't an NS because I fudged that up the first time. *thehe*

How to call a method. SIMPLE.. I got this..

-->  (void)someMethod; 

BOOM. That's how it's done. Yes yes I realize that if you're coding on a mac and using XCode it most likely autocompletes this for you but ya know. WHAT IF YOUR XCODE JUST DIES AND YOU SUDDENLY NEED TO CODE BUT YOU CAN'T USE XCODE. Hmmm that's what I thought.

Much like any other language methods can take parameters. 

-->  (void)someMethod : (someType) value;

Same thing but with more than one param -
--> (void)someMethodWithFirstValue :(SomeType)value1 secondValue:(AnotherType)value2;

cool beans..

I think that's enough review for the moment as I am very tired. BUT.. I wish all of you a happy day! If anyone reads this far haha.


*disclaimer : The source i used for objective-c was here