Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

starting to learn Objective C programing to make IOS Apps!

Featured Replies

I am starting to learn it and so far i'm liking it a lot but im just starting in it learning the basics of C first with the book i got for objective c. its very neat to me so far I am learning about functions and arguments.

 

 

This is just one of the exercise I did today I for functions and thought its pretty sweet.

 

 

Super repetitive


int main (int argc, const char * argv[])
{
printf("Mark has done as much Cocoa Programming as I could fit into 5 days\n");
printf("Bo has done as much Objective-C Programming as I could fit into 2 days\n");
printf("Mike has done as much Python Programming as I could fit into 5 days\n");
printf("Ted has done as much iOS Programming as I could fit into 5 days\n");
return 0;
}

Solution is to print out the repeating words and the declare each student as a char and the programing language as a char as well and then the number of days the class was as an int

 


void congratulateStudent(char *student, char *course, int numDays)
{
printf("%s has done as much %s Programming as I could fit into %d days.\n",
student, course, numDays);
}


int main (int argc, const char * argv[])
{
congratulateStudent("Mark", "Cocoa", 5);
congratulateStudent("Bo", "Objective-C", 2);
congratulateStudent("Mike", "Python", 5);
congratulateStudent("Ted", "iOS", 5);
return 0;
}

 

BTW How much is objective c and c in relation to java?

 

 

 

 

I'm leaning Objective C at school, and I can say that you can't compare Java to Objective C. They use the same logic, but Objective C is in my opinion so damn WEIRD.

 

 

  • Author

I'm leaning Objective C at school, and I can say that you can't compare Java to Objective C. They use the same logic, but Objective C is in my opinion so damn WEIRD.

 

never done java so i wouldn't know weird from weirder :P

I'm leaning Objective C at school, and I can say that you can't compare Java to Objective C. They use the same logic, but Objective C is in my opinion so damn WEIRD.

 

I've never understood Apple's desire to use Objective-C. Object oriented programming for core operating system functions is generally frowned upon. For the less essential parts of the operating system, wouldn't it make more sense to use C++, the faster and natively compatible version of Objective-C?

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.